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
- RequestResizeEvent.cs
- GeneralTransformGroup.cs
- GridViewUpdatedEventArgs.cs
- MD5.cs
- RC2CryptoServiceProvider.cs
- PropertyTabAttribute.cs
- AdornerHitTestResult.cs
- XmlSchemaException.cs
- BinHexEncoder.cs
- ComponentResourceManager.cs
- WindowsRichEditRange.cs
- PartitionResolver.cs
- WebPartPersonalization.cs
- PropertyGridCommands.cs
- Size3D.cs
- Dictionary.cs
- BaseUriWithWildcard.cs
- ToolStripPanelRenderEventArgs.cs
- ColorPalette.cs
- Attributes.cs
- InstanceNormalEvent.cs
- SelectedDatesCollection.cs
- Queue.cs
- ListViewSortEventArgs.cs
- DependencyPropertyAttribute.cs
- WindowsClaimSet.cs
- SecureEnvironment.cs
- SendMessageRecord.cs
- Int32CollectionConverter.cs
- MultipartContentParser.cs
- DefaultBindingPropertyAttribute.cs
- Stroke.cs
- ProfileManager.cs
- ArgumentException.cs
- DataGridViewControlCollection.cs
- TraceUtils.cs
- OleDbInfoMessageEvent.cs
- DataGridViewRowCancelEventArgs.cs
- ReadOnlyNameValueCollection.cs
- DiscoveryReferences.cs
- BitmapFrameEncode.cs
- TableColumn.cs
- ExpressionTextBox.xaml.cs
- WebPartTracker.cs
- PersonalizablePropertyEntry.cs
- SoapBinding.cs
- ToolStripControlHost.cs
- ScrollBarRenderer.cs
- RequestCache.cs
- SqlMethodCallConverter.cs
- CfgRule.cs
- TimeSpanSecondsConverter.cs
- ParameterRetriever.cs
- MailMessageEventArgs.cs
- DataServiceKeyAttribute.cs
- EmptyEnumerator.cs
- StopRoutingHandler.cs
- ImportOptions.cs
- DbParameterHelper.cs
- CacheMemory.cs
- Win32.cs
- LoginUtil.cs
- XamlTypeMapper.cs
- UnmanagedMemoryStream.cs
- FrameworkElement.cs
- HtmlEmptyTagControlBuilder.cs
- TcpChannelListener.cs
- LineInfo.cs
- ELinqQueryState.cs
- InvariantComparer.cs
- SystemInformation.cs
- Constants.cs
- WSIdentityFaultException.cs
- EntityContainerRelationshipSet.cs
- DataGridCellEditEndingEventArgs.cs
- DiffuseMaterial.cs
- DBSqlParserTable.cs
- HierarchicalDataSourceIDConverter.cs
- XmlWriterTraceListener.cs
- ByteConverter.cs
- DiffuseMaterial.cs
- HttpException.cs
- MimeTypeAttribute.cs
- COM2ExtendedTypeConverter.cs
- HttpCacheVary.cs
- QilList.cs
- VisualStateGroup.cs
- ContractHandle.cs
- DbgUtil.cs
- Point3DCollectionConverter.cs
- HtmlInputImage.cs
- SiteMapSection.cs
- Soap.cs
- HtmlAnchor.cs
- RequestCachePolicyConverter.cs
- ListViewDataItem.cs
- CharacterString.cs
- DataGridViewAdvancedBorderStyle.cs
- JournalNavigationScope.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs