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
- ModuleElement.cs
- TypeDescriptor.cs
- NotImplementedException.cs
- ConnectionStringsSection.cs
- EntityContainerRelationshipSetEnd.cs
- AmbientLight.cs
- Int16KeyFrameCollection.cs
- X509CertificateValidator.cs
- CngUIPolicy.cs
- DocComment.cs
- CodeSnippetExpression.cs
- DataAdapter.cs
- MarshalByRefObject.cs
- BufferedStream2.cs
- ChtmlFormAdapter.cs
- SoapHeader.cs
- SmiEventStream.cs
- AppDomainProtocolHandler.cs
- HttpContextServiceHost.cs
- ThreadSafeList.cs
- NoClickablePointException.cs
- ListBindingConverter.cs
- ExpressionVisitor.cs
- SystemNetworkInterface.cs
- SchemaDeclBase.cs
- TextElementEditingBehaviorAttribute.cs
- QueryRewriter.cs
- QueryConverter.cs
- BlockUIContainer.cs
- GeometryCombineModeValidation.cs
- UnsafeNetInfoNativeMethods.cs
- EntityClientCacheKey.cs
- QuadraticEase.cs
- NavigationWindow.cs
- Point3DAnimation.cs
- CrossContextChannel.cs
- Int16KeyFrameCollection.cs
- MediaCommands.cs
- StatusBar.cs
- Stackframe.cs
- _AuthenticationState.cs
- PathTooLongException.cs
- TiffBitmapEncoder.cs
- MsmqIntegrationSecurityMode.cs
- MenuItem.cs
- ThreadExceptionDialog.cs
- BaseParser.cs
- RoleGroupCollection.cs
- SQLCharsStorage.cs
- InstanceDescriptor.cs
- ApplicationSecurityInfo.cs
- TypefaceMap.cs
- BaseCollection.cs
- DebugTrace.cs
- InheritanceContextChangedEventManager.cs
- DefaultTextStoreTextComposition.cs
- AdornerLayer.cs
- OpacityConverter.cs
- InputLangChangeRequestEvent.cs
- ReadWriteControlDesigner.cs
- IItemContainerGenerator.cs
- ObjectDataSourceEventArgs.cs
- LazyTextWriterCreator.cs
- DataGridItemCollection.cs
- ProfilePropertySettingsCollection.cs
- DBSchemaRow.cs
- ReferenceTypeElement.cs
- TextEditorTyping.cs
- QilValidationVisitor.cs
- TcpAppDomainProtocolHandler.cs
- CodeAttributeArgument.cs
- AspNetSynchronizationContext.cs
- PkcsUtils.cs
- PropertyIDSet.cs
- ModelTreeEnumerator.cs
- ArraySubsetEnumerator.cs
- CheckedPointers.cs
- ComponentResourceKeyConverter.cs
- COM2PropertyPageUITypeConverter.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- CapabilitiesPattern.cs
- ObjectStateManagerMetadata.cs
- XmlSchemaGroupRef.cs
- AlphabeticalEnumConverter.cs
- ControlValuePropertyAttribute.cs
- SQLInt32.cs
- HighlightVisual.cs
- DataControlExtensions.cs
- Win32.cs
- ThreadPool.cs
- DataControlPagerLinkButton.cs
- MimeTypeMapper.cs
- WindowInteractionStateTracker.cs
- XmlSchemaObject.cs
- GridItemPattern.cs
- RuleRef.cs
- PermissionRequestEvidence.cs
- WindowVisualStateTracker.cs
- ProcessDesigner.cs
- GeneralTransform.cs