Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / Data / Sql / SqlFacetAttribute.cs / 1 / SqlFacetAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All Rights Reserved. // Information Contained Herein is Proprietary and Confidential. // //[....] //[....] //daltudov //[....] //beysims //[....] //vadimt //----------------------------------------------------------------------------- using System; namespace Microsoft.SqlServer.Server { [ AttributeUsage( AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.ReturnValue | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false ) ] #if WINFSInternalOnly internal #else public #endif class SqlFacetAttribute: Attribute { private bool m_IsFixedLength; private int m_MaxSize; private int m_Scale; private int m_Precision; private bool m_IsNullable; // Is this a fixed size field? public bool IsFixedLength { get { return this.m_IsFixedLength; } set { this.m_IsFixedLength = value; } } // The maximum size of the field (in bytes or characters depending on the field type) // or -1 if the size can be unlimited. public int MaxSize { get { return this.m_MaxSize; } set { this.m_MaxSize = value; } } // Precision, only valid for numeric types. public int Precision { get { return this.m_Precision; } set { this.m_Precision = value; } } // Scale, only valid for numeric types. public int Scale { get { return this.m_Scale; } set { this.m_Scale = value; } } // Is this field nullable? public bool IsNullable { get { return this.m_IsNullable; } set { this.m_IsNullable = value; } } } } // 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
- LinqDataSourceUpdateEventArgs.cs
- HttpWebRequestElement.cs
- WindowsTooltip.cs
- ipaddressinformationcollection.cs
- ArgumentNullException.cs
- XmlWriterSettings.cs
- DocumentScope.cs
- XamlInt32CollectionSerializer.cs
- DSASignatureDeformatter.cs
- XmlMtomReader.cs
- Oid.cs
- SoapAttributes.cs
- BinaryConverter.cs
- OleDbCommand.cs
- TrackingSection.cs
- WmfPlaceableFileHeader.cs
- LockCookie.cs
- ToolStripControlHost.cs
- NavigateEvent.cs
- SRGSCompiler.cs
- BevelBitmapEffect.cs
- NonParentingControl.cs
- NullableFloatAverageAggregationOperator.cs
- SynchronizationFilter.cs
- DesignTableCollection.cs
- WorkflowQueueInfo.cs
- DetailsViewDeletedEventArgs.cs
- DependencyObject.cs
- TagMapInfo.cs
- TitleStyle.cs
- WindowsRebar.cs
- Errors.cs
- SqlFunctionAttribute.cs
- PageAdapter.cs
- ShaderEffect.cs
- WebBrowsableAttribute.cs
- IUnknownConstantAttribute.cs
- PresentationAppDomainManager.cs
- QilStrConcat.cs
- TargetParameterCountException.cs
- MouseButtonEventArgs.cs
- DatatypeImplementation.cs
- InfoCardHelper.cs
- OverrideMode.cs
- LocatorBase.cs
- PointAnimation.cs
- ContainerAction.cs
- SqlEnums.cs
- LineSegment.cs
- MatrixTransform3D.cs
- Trace.cs
- ProcessHostFactoryHelper.cs
- GridViewItemAutomationPeer.cs
- CqlGenerator.cs
- WebServiceHandler.cs
- LinqDataSourceUpdateEventArgs.cs
- StorageMappingItemCollection.cs
- DataGridViewRowEventArgs.cs
- Italic.cs
- HierarchicalDataBoundControlAdapter.cs
- CompileXomlTask.cs
- Error.cs
- SQLInt32.cs
- SafeSecurityHandles.cs
- XappLauncher.cs
- DataColumn.cs
- ConnectionManagementElement.cs
- PrivacyNoticeBindingElement.cs
- ToolStripDropDown.cs
- KeyedCollection.cs
- TextMetrics.cs
- DataObjectFieldAttribute.cs
- PointConverter.cs
- ProcessActivityTreeOptions.cs
- JsonClassDataContract.cs
- BeginEvent.cs
- EventsTab.cs
- TableLayoutColumnStyleCollection.cs
- DataGridSortCommandEventArgs.cs
- DelegateSerializationHolder.cs
- KernelTypeValidation.cs
- ListItemCollection.cs
- VirtualDirectoryMappingCollection.cs
- InternalResources.cs
- ProcessModelInfo.cs
- MenuItemStyleCollection.cs
- ReadContentAsBinaryHelper.cs
- AsymmetricKeyExchangeFormatter.cs
- ContentType.cs
- ArgumentOutOfRangeException.cs
- CollectionViewGroup.cs
- xmlsaver.cs
- ProcessHostConfigUtils.cs
- DrawingAttributesDefaultValueFactory.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- IHttpResponseInternal.cs
- GeneralTransformGroup.cs
- GuidelineSet.cs
- CodeDomLocalizationProvider.cs
- DbMetaDataFactory.cs