Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Sql / SqlFunctionAttribute.cs / 1305376 / SqlFunctionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All Rights Reserved. // Information Contained Herein is Proprietary and Confidential. // //[....] //[....] //daltudov //[....] //beysims //[....] //vadimt //----------------------------------------------------------------------------- using System; namespace Microsoft.SqlServer.Server { [Serializable] public enum DataAccessKind { None = 0, Read = 1, } [Serializable] public enum SystemDataAccessKind { None = 0, Read = 1, } // sql specific attribute [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false), Serializable] public class SqlFunctionAttribute : System.Attribute { private bool m_fDeterministic; private DataAccessKind m_eDataAccess; private SystemDataAccessKind m_eSystemDataAccess; private bool m_fPrecise; private string m_fName; private string m_fTableDefinition; private string m_FillRowMethodName; public SqlFunctionAttribute() { // default values m_fDeterministic = false; m_eDataAccess = DataAccessKind.None; m_eSystemDataAccess = SystemDataAccessKind.None; m_fPrecise = false; m_fName = null; m_fTableDefinition = null; m_FillRowMethodName = null; } // SqlFunctionAttribute public bool IsDeterministic { get { return m_fDeterministic; } set { m_fDeterministic = value; } } // Deterministic public DataAccessKind DataAccess { get { return m_eDataAccess; } set { m_eDataAccess = value; } } // public bool DataAccessKind public SystemDataAccessKind SystemDataAccess { get { return m_eSystemDataAccess; } set { m_eSystemDataAccess = value; } } // public bool SystemDataAccessKind public bool IsPrecise { get { return m_fPrecise; } set { m_fPrecise = value; } } // Precise public string Name { get { return m_fName; } set { m_fName = value; } } public string TableDefinition { get { return m_fTableDefinition; } set { m_fTableDefinition = value; } } public string FillRowMethodName { get { return m_FillRowMethodName; } set { m_FillRowMethodName = value; } } } // class SqlFunctionAttribute } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ComAdminWrapper.cs
- GCHandleCookieTable.cs
- EncryptedData.cs
- BamlTreeMap.cs
- SapiInterop.cs
- SqlTransaction.cs
- XmlSortKeyAccumulator.cs
- TextChange.cs
- LogWriteRestartAreaState.cs
- FullTextLine.cs
- Pts.cs
- CodeTypeDeclaration.cs
- StateItem.cs
- Latin1Encoding.cs
- UnsafeNativeMethods.cs
- NameNode.cs
- Catch.cs
- PolicyChain.cs
- ClickablePoint.cs
- WebScriptMetadataMessage.cs
- SplayTreeNode.cs
- ManualWorkflowSchedulerService.cs
- ToolStripSettings.cs
- LightweightCodeGenerator.cs
- WSFederationHttpSecurityElement.cs
- ManagementBaseObject.cs
- dtdvalidator.cs
- ServiceOperationListItem.cs
- OdbcEnvironmentHandle.cs
- PhysicalAddress.cs
- GcHandle.cs
- RowToFieldTransformer.cs
- WorkflowDesigner.cs
- PermissionAttributes.cs
- ProvidersHelper.cs
- CreateUserWizardStep.cs
- SimpleWorkerRequest.cs
- Simplifier.cs
- BaseResourcesBuildProvider.cs
- Oci.cs
- METAHEADER.cs
- ellipse.cs
- Int32Storage.cs
- DrawingCollection.cs
- XhtmlTextWriter.cs
- ClockGroup.cs
- Oid.cs
- PeerApplication.cs
- LinqDataView.cs
- ProtectedConfigurationSection.cs
- GridViewSelectEventArgs.cs
- TableCell.cs
- RecordManager.cs
- DependencyProperty.cs
- ObjectDataSourceEventArgs.cs
- CapabilitiesAssignment.cs
- WebProxyScriptElement.cs
- GridView.cs
- RightsManagementInformation.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- QilInvokeLateBound.cs
- _NativeSSPI.cs
- TemplateEditingFrame.cs
- IPHostEntry.cs
- StatementContext.cs
- Frame.cs
- XmlChildNodes.cs
- ArrayItemReference.cs
- PaperSource.cs
- TextChange.cs
- ComNativeDescriptor.cs
- EventBuilder.cs
- webbrowsersite.cs
- HebrewNumber.cs
- ResXResourceSet.cs
- ApplicationDirectoryMembershipCondition.cs
- NotificationContext.cs
- SID.cs
- PathParser.cs
- ContractReference.cs
- LOSFormatter.cs
- ReadWriteObjectLock.cs
- CryptoStream.cs
- CollectionChangeEventArgs.cs
- WebPartMenu.cs
- PublisherIdentityPermission.cs
- CuspData.cs
- BitConverter.cs
- WindowCollection.cs
- StorageMappingItemCollection.cs
- HostedTransportConfigurationBase.cs
- _Semaphore.cs
- EditorPartCollection.cs
- AnimatedTypeHelpers.cs
- XmlSchemaSimpleTypeList.cs
- Automation.cs
- PhysicalFontFamily.cs
- CalendarDateRangeChangingEventArgs.cs
- ColorPalette.cs
- ChangeBlockUndoRecord.cs