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
- HandleRef.cs
- FontUnitConverter.cs
- LookupNode.cs
- DesignerActionListCollection.cs
- ConfigurationSectionHelper.cs
- SimpleLine.cs
- LicenseContext.cs
- TablePattern.cs
- DtcInterfaces.cs
- XPathSelectionIterator.cs
- BitVec.cs
- XPathCompiler.cs
- PreProcessor.cs
- ProcessModelSection.cs
- Material.cs
- ScaleTransform3D.cs
- Renderer.cs
- SqlCacheDependencySection.cs
- SqlCacheDependencySection.cs
- JsonGlobals.cs
- ProcessHost.cs
- WebUtil.cs
- WebProxyScriptElement.cs
- xmlfixedPageInfo.cs
- HttpCacheVaryByContentEncodings.cs
- Constraint.cs
- HtmlInputSubmit.cs
- ProcessModuleCollection.cs
- HttpServerUtilityBase.cs
- WinEventHandler.cs
- WindowsIPAddress.cs
- RtType.cs
- WebPartCancelEventArgs.cs
- QilUnary.cs
- DataBoundControlParameterTarget.cs
- Collection.cs
- CancelEventArgs.cs
- SqlIdentifier.cs
- LoggedException.cs
- WinEventHandler.cs
- XPathAncestorQuery.cs
- TranslateTransform.cs
- SQLBinary.cs
- SignatureResourcePool.cs
- ServiceThrottlingBehavior.cs
- OdbcError.cs
- SharedDp.cs
- FunctionMappingTranslator.cs
- InputLanguageProfileNotifySink.cs
- FacetDescriptionElement.cs
- RelationshipSet.cs
- FontStyle.cs
- AssemblyResourceLoader.cs
- SelectionProviderWrapper.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- PropagatorResult.cs
- AssemblyNameProxy.cs
- LogExtent.cs
- PartitionerQueryOperator.cs
- ReadOnlyMetadataCollection.cs
- GlobalItem.cs
- DetailsViewDeleteEventArgs.cs
- CommandHelper.cs
- XamlReader.cs
- RelOps.cs
- HighlightVisual.cs
- ButtonChrome.cs
- MailSettingsSection.cs
- CollectionViewGroupRoot.cs
- AuthenticationException.cs
- DataFieldConverter.cs
- NumericPagerField.cs
- FtpRequestCacheValidator.cs
- CalendarDay.cs
- ToolStripDropTargetManager.cs
- ResizeGrip.cs
- ConfigXmlAttribute.cs
- ProxyHelper.cs
- CurrentChangingEventManager.cs
- FontUnit.cs
- PointLightBase.cs
- Metafile.cs
- SiteMapSection.cs
- ServicesExceptionNotHandledEventArgs.cs
- SqlCacheDependencySection.cs
- ReflectTypeDescriptionProvider.cs
- UndoManager.cs
- TemplateKey.cs
- MemberMaps.cs
- AppDomainFactory.cs
- CqlLexerHelpers.cs
- WSHttpBinding.cs
- OperationInfoBase.cs
- TreeNodeStyleCollection.cs
- InputReferenceExpression.cs
- ConfigurationPermission.cs
- Synchronization.cs
- Compensate.cs
- SqlNotificationRequest.cs
- RoleManagerSection.cs