Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Sql / SqlFacetAttribute.cs / 1305376 / 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 ) ] public 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
- ObjectFactoryCodeDomTreeGenerator.cs
- TracePayload.cs
- EditBehavior.cs
- QilParameter.cs
- Selection.cs
- AtlasWeb.Designer.cs
- WinCategoryAttribute.cs
- ArgumentOutOfRangeException.cs
- CheckBoxAutomationPeer.cs
- HttpCapabilitiesBase.cs
- XmlHierarchyData.cs
- StyleCollection.cs
- ApplicationDirectory.cs
- X500Name.cs
- CharacterMetrics.cs
- InkPresenter.cs
- AnnotationHighlightLayer.cs
- TemplatePartAttribute.cs
- XmlDocumentFragment.cs
- UrlMappingCollection.cs
- TextFormatterImp.cs
- HtmlToClrEventProxy.cs
- XNodeSchemaApplier.cs
- MethodAccessException.cs
- SvcMapFileSerializer.cs
- TreeNode.cs
- LocalizationComments.cs
- AnnotationComponentChooser.cs
- CompModSwitches.cs
- PropertyCondition.cs
- LinqMaximalSubtreeNominator.cs
- LayoutExceptionEventArgs.cs
- InputProcessorProfilesLoader.cs
- DescendentsWalkerBase.cs
- ListControl.cs
- XamlParser.cs
- SplineQuaternionKeyFrame.cs
- LinqDataSource.cs
- SatelliteContractVersionAttribute.cs
- PointAnimationClockResource.cs
- UrlMappingsSection.cs
- Hyperlink.cs
- TypefaceCollection.cs
- initElementDictionary.cs
- QilDataSource.cs
- InternalDuplexChannelListener.cs
- cookiecontainer.cs
- SqlDataSourceCommandEventArgs.cs
- XpsFontSubsetter.cs
- AssemblyAttributes.cs
- InstanceDataCollection.cs
- ResourcePart.cs
- DrawToolTipEventArgs.cs
- ParseElement.cs
- ComboBoxAutomationPeer.cs
- NotSupportedException.cs
- WebServiceBindingAttribute.cs
- Variable.cs
- FeatureAttribute.cs
- cryptoapiTransform.cs
- ApplyHostConfigurationBehavior.cs
- Attribute.cs
- Convert.cs
- httpapplicationstate.cs
- DataTableMappingCollection.cs
- ManualResetEventSlim.cs
- SslStream.cs
- AppDomain.cs
- IPEndPointCollection.cs
- DetailsViewPageEventArgs.cs
- TransactionFlowProperty.cs
- ServiceThrottlingBehavior.cs
- MediaPlayerState.cs
- FormViewPageEventArgs.cs
- HashCodeCombiner.cs
- ViewKeyConstraint.cs
- CodeCommentStatementCollection.cs
- ArrangedElementCollection.cs
- ExtenderControl.cs
- KeyToListMap.cs
- SelectionPattern.cs
- ComponentResourceKey.cs
- FilteredDataSetHelper.cs
- ScriptReferenceEventArgs.cs
- ExpressionReplacer.cs
- TimerElapsedEvenArgs.cs
- TryCatch.cs
- Operators.cs
- RoutedPropertyChangedEventArgs.cs
- arclist.cs
- RelatedImageListAttribute.cs
- BrushProxy.cs
- XmlNamespaceMapping.cs
- HttpCachePolicy.cs
- ScrollBarRenderer.cs
- AppDomainCompilerProxy.cs
- MissingMethodException.cs
- UndoUnit.cs
- RefreshEventArgs.cs
- FigureParagraph.cs