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
- CodeCommentStatementCollection.cs
- TextDecorations.cs
- WpfGeneratedKnownTypes.cs
- PostBackOptions.cs
- OleServicesContext.cs
- DataListCommandEventArgs.cs
- TextAnchor.cs
- XamlWriter.cs
- QueryExpr.cs
- WindowsSolidBrush.cs
- Selector.cs
- ConsumerConnectionPointCollection.cs
- MatrixCamera.cs
- Constraint.cs
- Baml2006KnownTypes.cs
- ToolStripItem.cs
- User.cs
- HandlerBase.cs
- ExtentKey.cs
- KerberosSecurityTokenProvider.cs
- HatchBrush.cs
- UInt16Storage.cs
- ListBoxAutomationPeer.cs
- MultiTrigger.cs
- DbConnectionInternal.cs
- SortDescription.cs
- SqlCommandBuilder.cs
- DefaultBindingPropertyAttribute.cs
- SqlConnectionHelper.cs
- ModuleBuilder.cs
- PeerInvitationResponse.cs
- ResourceKey.cs
- SymbolEqualComparer.cs
- DatePickerDateValidationErrorEventArgs.cs
- DataObjectAttribute.cs
- X509ServiceCertificateAuthenticationElement.cs
- EnumConverter.cs
- DocumentReference.cs
- MonthCalendar.cs
- ReadonlyMessageFilter.cs
- ToolStripGrip.cs
- XmlEncodedRawTextWriter.cs
- CssClassPropertyAttribute.cs
- CollectionChangeEventArgs.cs
- RectangleF.cs
- DynamicResourceExtensionConverter.cs
- ArrangedElementCollection.cs
- BuildProvider.cs
- BaseResourcesBuildProvider.cs
- IncrementalReadDecoders.cs
- StringExpressionSet.cs
- XmlElementAttribute.cs
- DbProviderFactoriesConfigurationHandler.cs
- QuaternionAnimationUsingKeyFrames.cs
- TextMessageEncodingBindingElement.cs
- HtmlTableCell.cs
- SocketException.cs
- SqlClientPermission.cs
- DesignerEventService.cs
- HyperLinkField.cs
- StringUtil.cs
- DesignerActionItem.cs
- WorkflowRuntimeService.cs
- WsatConfiguration.cs
- GPRECTF.cs
- _BasicClient.cs
- Codec.cs
- XsltArgumentList.cs
- PropertyTabAttribute.cs
- EllipseGeometry.cs
- Helpers.cs
- AccessorTable.cs
- SqlReorderer.cs
- DataRelationPropertyDescriptor.cs
- SynchronizationLockException.cs
- COM2IPerPropertyBrowsingHandler.cs
- X509Chain.cs
- MenuBindingsEditor.cs
- ObjectSet.cs
- invalidudtexception.cs
- PerspectiveCamera.cs
- TextStore.cs
- SectionInformation.cs
- XmlElementAttribute.cs
- SafeHandles.cs
- MsdtcWrapper.cs
- CheckedListBox.cs
- MappedMetaModel.cs
- IndependentAnimationStorage.cs
- IntMinMaxAggregationOperator.cs
- TabControl.cs
- MergePropertyDescriptor.cs
- CodeMemberProperty.cs
- DataGridViewRowCancelEventArgs.cs
- SQLInt16.cs
- WpfKnownMemberInvoker.cs
- CodeBlockBuilder.cs
- SimpleType.cs
- X509SecurityToken.cs
- XmlSiteMapProvider.cs