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
- KeyNotFoundException.cs
- ServiceCredentialsSecurityTokenManager.cs
- _ListenerRequestStream.cs
- WebBrowserContainer.cs
- Grid.cs
- XmlElement.cs
- NonBatchDirectoryCompiler.cs
- DataListItemCollection.cs
- OleCmdHelper.cs
- DataTableCollection.cs
- ValidatedControlConverter.cs
- TextWriter.cs
- ConnectionPool.cs
- EqualityComparer.cs
- SystemParameters.cs
- HandlerFactoryCache.cs
- PointAnimationUsingKeyFrames.cs
- Visitors.cs
- WebPartManager.cs
- ConstraintManager.cs
- PropertyGridDesigner.cs
- GradientStop.cs
- ProgressiveCrcCalculatingStream.cs
- ThaiBuddhistCalendar.cs
- WindowsHyperlink.cs
- ControlParameter.cs
- SmiTypedGetterSetter.cs
- DeobfuscatingStream.cs
- CodeAssignStatement.cs
- CodeEventReferenceExpression.cs
- InputScopeAttribute.cs
- Journal.cs
- WindowsFormsHelpers.cs
- XMLUtil.cs
- MeshGeometry3D.cs
- EndPoint.cs
- documentsequencetextcontainer.cs
- XamlToRtfWriter.cs
- WebBrowserSiteBase.cs
- TemplateControl.cs
- ClientSettings.cs
- SmtpFailedRecipientException.cs
- CultureInfoConverter.cs
- ChannelManagerService.cs
- rsa.cs
- XPathNodeHelper.cs
- PrivilegeNotHeldException.cs
- XmlWriterSettings.cs
- EnumValAlphaComparer.cs
- XmlSchemaObjectCollection.cs
- DiscardableAttribute.cs
- NameValuePermission.cs
- RangeValuePattern.cs
- AbsoluteQuery.cs
- DiscardableAttribute.cs
- NetMsmqBinding.cs
- ChildChangedEventArgs.cs
- PngBitmapEncoder.cs
- WebSysDefaultValueAttribute.cs
- InternalControlCollection.cs
- HtmlButton.cs
- HttpEncoder.cs
- DirectoryObjectSecurity.cs
- AttributeEmitter.cs
- FrameSecurityDescriptor.cs
- TailCallAnalyzer.cs
- CleanUpVirtualizedItemEventArgs.cs
- HybridDictionary.cs
- MessageLogTraceRecord.cs
- SqlFacetAttribute.cs
- AnnotationService.cs
- SchemaAttDef.cs
- ManagedWndProcTracker.cs
- DesignerAutoFormatCollection.cs
- ToolStripItemCollection.cs
- HttpServerVarsCollection.cs
- DefinitionProperties.cs
- QilGeneratorEnv.cs
- BmpBitmapDecoder.cs
- SettingsPropertyWrongTypeException.cs
- OraclePermission.cs
- SingleSelectRootGridEntry.cs
- InstanceLockLostException.cs
- Font.cs
- UnsignedPublishLicense.cs
- FileNotFoundException.cs
- COM2IPerPropertyBrowsingHandler.cs
- TypeLibConverter.cs
- DisplayClaim.cs
- EntityTypeEmitter.cs
- _ProxyRegBlob.cs
- GPStream.cs
- ImportCatalogPart.cs
- EntityDataSourceSelectingEventArgs.cs
- RegexCompiler.cs
- X509SubjectKeyIdentifierClause.cs
- CheckPair.cs
- InputScopeConverter.cs
- XPathItem.cs
- UrlPath.cs