Code:
/ FX-1434 / FX-1434 / 1.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
- StaticSiteMapProvider.cs
- SessionParameter.cs
- ConsoleCancelEventArgs.cs
- MexTcpBindingCollectionElement.cs
- ToolStripHighContrastRenderer.cs
- Evaluator.cs
- TextDecorationUnitValidation.cs
- FillBehavior.cs
- columnmapfactory.cs
- Type.cs
- DesignerRegion.cs
- CellIdBoolean.cs
- OleDbConnectionInternal.cs
- CheckBoxAutomationPeer.cs
- StateItem.cs
- DataListItemEventArgs.cs
- _Semaphore.cs
- xdrvalidator.cs
- ClientApiGenerator.cs
- PointHitTestParameters.cs
- SkinBuilder.cs
- MtomMessageEncoder.cs
- Stackframe.cs
- AlignmentXValidation.cs
- SimpleRecyclingCache.cs
- Bitmap.cs
- XmlQueryRuntime.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- ValueChangedEventManager.cs
- ProcessModelSection.cs
- Propagator.ExtentPlaceholderCreator.cs
- BrowserPolicyValidator.cs
- TimeZoneInfo.cs
- BaseParser.cs
- Label.cs
- AudioSignalProblemOccurredEventArgs.cs
- NamespaceInfo.cs
- RunWorkerCompletedEventArgs.cs
- ObjectListItem.cs
- NamespaceInfo.cs
- MatrixAnimationBase.cs
- ClassicBorderDecorator.cs
- DropSource.cs
- ViewBox.cs
- TickBar.cs
- HttpRequest.cs
- xmlformatgeneratorstatics.cs
- IPHostEntry.cs
- XmlUnspecifiedAttribute.cs
- ItemCheckEvent.cs
- SecurityUniqueId.cs
- GCHandleCookieTable.cs
- GestureRecognitionResult.cs
- IImplicitResourceProvider.cs
- PeerToPeerException.cs
- XmlILStorageConverter.cs
- DrawingContextDrawingContextWalker.cs
- UrlPath.cs
- LookupNode.cs
- DefaultValueAttribute.cs
- BooleanKeyFrameCollection.cs
- DeferrableContentConverter.cs
- ParserStreamGeometryContext.cs
- ValidationEventArgs.cs
- TraceContext.cs
- SqlBulkCopy.cs
- BooleanFunctions.cs
- PrePostDescendentsWalker.cs
- DelegateCompletionCallbackWrapper.cs
- OptimalBreakSession.cs
- UnsupportedPolicyOptionsException.cs
- ProxyGenerationError.cs
- InputChannelBinder.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- DataShape.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ImportOptions.cs
- ColorIndependentAnimationStorage.cs
- UnlockCardRequest.cs
- PeerPresenceInfo.cs
- InputMethodStateTypeInfo.cs
- TimeSpanOrInfiniteConverter.cs
- TablePattern.cs
- PlainXmlSerializer.cs
- CmsInterop.cs
- ObjectTag.cs
- TabletDeviceInfo.cs
- RootProfilePropertySettingsCollection.cs
- SafeTokenHandle.cs
- ScrollChrome.cs
- DataGridColumnCollection.cs
- Types.cs
- XmlSchemaSimpleTypeRestriction.cs
- SqlSupersetValidator.cs
- ErrorTableItemStyle.cs
- ClientApiGenerator.cs
- SHA256.cs
- XmlWrappingReader.cs
- TypeContext.cs
- SHA512Cng.cs