Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / Data / Sql / SqlMethodAttribute.cs / 1 / SqlMethodAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All Rights Reserved. // Information Contained Herein is Proprietary and Confidential. // //[....] //[....] //daltudov //[....] //beysims //junfang //[....] //vadimt //----------------------------------------------------------------------------- using System; namespace Microsoft.SqlServer.Server { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false), Serializable] public sealed class SqlMethodAttribute : SqlFunctionAttribute { private bool m_fCallOnNullInputs; private bool m_fMutator; private bool m_fInvokeIfReceiverIsNull; public SqlMethodAttribute() { // default values m_fCallOnNullInputs = true; m_fMutator = false; m_fInvokeIfReceiverIsNull = false; } // SqlMethodAttribute public bool OnNullCall { get { return m_fCallOnNullInputs; } set { m_fCallOnNullInputs = value; } } // CallOnNullInputs public bool IsMutator { get { return m_fMutator; } set { m_fMutator = value; } } // IsMutator public bool InvokeIfReceiverIsNull { get { return m_fInvokeIfReceiverIsNull; } set { m_fInvokeIfReceiverIsNull = value; } } // InvokeIfReceiverIsNull } // class SqlMethodAttribute } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SwitchLevelAttribute.cs
- VisualStyleInformation.cs
- RelationshipManager.cs
- TableCellCollection.cs
- ProfileWorkflowElement.cs
- CompiledQueryCacheEntry.cs
- PropertyIDSet.cs
- FlowLayoutSettings.cs
- SpeechAudioFormatInfo.cs
- PageContent.cs
- FormsAuthenticationEventArgs.cs
- IndependentlyAnimatedPropertyMetadata.cs
- EmbeddedObject.cs
- SerializationInfoEnumerator.cs
- RelatedCurrencyManager.cs
- controlskin.cs
- NativeObjectSecurity.cs
- Track.cs
- TemplateBaseAction.cs
- GrowingArray.cs
- ResourcePermissionBaseEntry.cs
- WebZone.cs
- ActivityInfo.cs
- ComNativeDescriptor.cs
- UriTemplateLiteralPathSegment.cs
- AsymmetricSecurityProtocol.cs
- PagerSettings.cs
- CodeExporter.cs
- PathFigure.cs
- HostedHttpTransportManager.cs
- DefaultEventAttribute.cs
- DefaultShape.cs
- SpeakInfo.cs
- TdsParserStaticMethods.cs
- RequestBringIntoViewEventArgs.cs
- _ShellExpression.cs
- XPathParser.cs
- EnvelopedPkcs7.cs
- DataRow.cs
- WebServiceResponseDesigner.cs
- StringValueSerializer.cs
- ProviderSettings.cs
- PageAdapter.cs
- Semaphore.cs
- TextModifierScope.cs
- Matrix3DConverter.cs
- Stopwatch.cs
- ScrollProviderWrapper.cs
- AliasExpr.cs
- HtmlInputButton.cs
- BaseAutoFormat.cs
- RedirectionProxy.cs
- Exceptions.cs
- FrameworkElementFactory.cs
- HitTestWithPointDrawingContextWalker.cs
- SmtpNetworkElement.cs
- DataGridParentRows.cs
- ObjectRef.cs
- FormViewDeletedEventArgs.cs
- InlineObject.cs
- CompositionTarget.cs
- OleDbDataReader.cs
- TypographyProperties.cs
- Int16Storage.cs
- TableChangeProcessor.cs
- QueryOutputWriter.cs
- CharEntityEncoderFallback.cs
- XsdDuration.cs
- FormViewPagerRow.cs
- SiteMapProvider.cs
- BrushConverter.cs
- RecipientInfo.cs
- CancellationState.cs
- SchemaElementLookUpTableEnumerator.cs
- CookielessHelper.cs
- SpellerHighlightLayer.cs
- RequestSecurityTokenResponse.cs
- CodeGenHelper.cs
- MimeAnyImporter.cs
- SiteMapDataSourceView.cs
- XPathNodeHelper.cs
- CqlWriter.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Model3D.cs
- PerfProviderCollection.cs
- FormViewInsertedEventArgs.cs
- VideoDrawing.cs
- DataObjectAttribute.cs
- TrackingDataItemValue.cs
- WebServiceClientProxyGenerator.cs
- CodeAttributeArgumentCollection.cs
- FontWeight.cs
- DoubleConverter.cs
- GenericXmlSecurityToken.cs
- ToolboxBitmapAttribute.cs
- PostBackOptions.cs
- DiscoveryViaBehavior.cs
- MaskedTextBox.cs
- ErrorStyle.cs
- BulletDecorator.cs