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
- EndOfStreamException.cs
- X509ClientCertificateAuthentication.cs
- CurrentChangingEventManager.cs
- SmiEventStream.cs
- Int32Storage.cs
- DataSourceProvider.cs
- TableLayoutPanel.cs
- DbProviderSpecificTypePropertyAttribute.cs
- HttpModuleAction.cs
- SchemaNotation.cs
- QuadTree.cs
- CodeConditionStatement.cs
- _emptywebproxy.cs
- x509utils.cs
- WebServiceHandlerFactory.cs
- UndoManager.cs
- EffectiveValueEntry.cs
- SortDescriptionCollection.cs
- UnsafeNativeMethods.cs
- ControlCollection.cs
- ExpressionPrefixAttribute.cs
- BinaryMethodMessage.cs
- ObjectDataSourceStatusEventArgs.cs
- SafeCryptContextHandle.cs
- LicenseProviderAttribute.cs
- WebPartUserCapability.cs
- XsltSettings.cs
- OutputCacheModule.cs
- DateTimeUtil.cs
- SafeNativeMethodsCLR.cs
- SwitchAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- ManifestSignatureInformation.cs
- TextServicesCompartmentContext.cs
- BitmapEffectDrawingContent.cs
- TextMarkerSource.cs
- CodeIndexerExpression.cs
- RealProxy.cs
- XmlIgnoreAttribute.cs
- SectionRecord.cs
- ExceptionRoutedEventArgs.cs
- SystemInfo.cs
- RequestCacheValidator.cs
- NonParentingControl.cs
- IItemContainerGenerator.cs
- AjaxFrameworkAssemblyAttribute.cs
- SmtpSection.cs
- UInt16.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ScriptHandlerFactory.cs
- XmlRawWriterWrapper.cs
- WindowShowOrOpenTracker.cs
- MemberPath.cs
- WebPartDisplayMode.cs
- ChangeBlockUndoRecord.cs
- Repeater.cs
- odbcmetadatafactory.cs
- METAHEADER.cs
- WebBrowserSiteBase.cs
- FrameworkContextData.cs
- XmlDomTextWriter.cs
- XmlSchemaSimpleTypeUnion.cs
- Nodes.cs
- ModelUtilities.cs
- TextDecorations.cs
- TraceHandlerErrorFormatter.cs
- QilUnary.cs
- DateTimeValueSerializer.cs
- UnsafeNativeMethods.cs
- ByteRangeDownloader.cs
- MediaContext.cs
- EventDriven.cs
- DataGridViewTopRowAccessibleObject.cs
- NavigationWindow.cs
- CodeCatchClause.cs
- ResourcesBuildProvider.cs
- X509Extension.cs
- Int32CAMarshaler.cs
- OracleLob.cs
- ImmutableObjectAttribute.cs
- CodeDomLoader.cs
- ColorConvertedBitmapExtension.cs
- DescendantOverDescendantQuery.cs
- DbSetClause.cs
- SmtpReplyReaderFactory.cs
- OperationDescription.cs
- HandlerBase.cs
- RuleRefElement.cs
- WorkingDirectoryEditor.cs
- SafeNativeMethodsMilCoreApi.cs
- UnionCodeGroup.cs
- UriTemplateTableMatchCandidate.cs
- x509store.cs
- WindowsFormsHostAutomationPeer.cs
- XmlAttributeCollection.cs
- SHA1Managed.cs
- SqlTypesSchemaImporter.cs
- OperationInfo.cs
- XmlSignatureManifest.cs
- LogStore.cs