Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Sql / SqlMethodAttribute.cs / 1305376 / 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
- OAVariantLib.cs
- WindowsEditBoxRange.cs
- PrivilegedConfigurationManager.cs
- UniqueIdentifierService.cs
- WinOEToolBoxItem.cs
- XsltFunctions.cs
- StrongBox.cs
- SiteMapDataSourceView.cs
- Descriptor.cs
- PageThemeCodeDomTreeGenerator.cs
- IdnMapping.cs
- Int32CollectionConverter.cs
- UiaCoreProviderApi.cs
- WebUtility.cs
- AssertUtility.cs
- EntityDataSourceSelectedEventArgs.cs
- MemberCollection.cs
- HttpModulesSection.cs
- FaultReasonText.cs
- Menu.cs
- SourceChangedEventArgs.cs
- SharedUtils.cs
- ProtectedUri.cs
- SkinIDTypeConverter.cs
- __Error.cs
- ObjectDataSource.cs
- WebPartDisplayMode.cs
- wmiprovider.cs
- OuterGlowBitmapEffect.cs
- TextEditorDragDrop.cs
- DataServiceEntityAttribute.cs
- ScrollPattern.cs
- OrthographicCamera.cs
- HttpRequestTraceRecord.cs
- InternalSafeNativeMethods.cs
- MdImport.cs
- MaskDescriptors.cs
- SspiNegotiationTokenProviderState.cs
- OLEDB_Util.cs
- SQLBinaryStorage.cs
- EmbeddedMailObject.cs
- _StreamFramer.cs
- CodeLinePragma.cs
- DataSourceNameHandler.cs
- SqlProcedureAttribute.cs
- KoreanCalendar.cs
- GradientBrush.cs
- SevenBitStream.cs
- BlockExpression.cs
- EntityTemplateUserControl.cs
- UInt16Converter.cs
- StateChangeEvent.cs
- AcceleratedTokenProvider.cs
- XmlKeywords.cs
- CollectionViewGroupRoot.cs
- RegionIterator.cs
- ToolStripContentPanelRenderEventArgs.cs
- Grid.cs
- _emptywebproxy.cs
- OrthographicCamera.cs
- Fault.cs
- ColumnReorderedEventArgs.cs
- Dictionary.cs
- Avt.cs
- TabItemWrapperAutomationPeer.cs
- RoutedEventValueSerializer.cs
- HierarchicalDataBoundControl.cs
- GifBitmapDecoder.cs
- PackageRelationshipCollection.cs
- WindowsFormsSynchronizationContext.cs
- RTLAwareMessageBox.cs
- Pkcs7Recipient.cs
- IChannel.cs
- PrinterUnitConvert.cs
- BamlRecordReader.cs
- SHA512.cs
- CachedCompositeFamily.cs
- StandardOleMarshalObject.cs
- WebPartDisplayMode.cs
- ToolStripDesigner.cs
- Error.cs
- AutomationPatternInfo.cs
- Subset.cs
- WmfPlaceableFileHeader.cs
- MenuItemAutomationPeer.cs
- Parser.cs
- Point3DKeyFrameCollection.cs
- DefaultAuthorizationContext.cs
- SourceItem.cs
- Misc.cs
- DbConnectionStringBuilder.cs
- ObjectManager.cs
- AppDomainUnloadedException.cs
- EventProxy.cs
- ErrorProvider.cs
- EventSinkHelperWriter.cs
- DbXmlEnabledProviderManifest.cs
- ForAllOperator.cs
- Comparer.cs
- SmiTypedGetterSetter.cs