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
- StrongNamePublicKeyBlob.cs
- LookupBindingPropertiesAttribute.cs
- TextCompositionManager.cs
- SiteMapDataSource.cs
- UnderstoodHeaders.cs
- QuaternionKeyFrameCollection.cs
- Converter.cs
- ListItemCollection.cs
- ColorContextHelper.cs
- Hex.cs
- DescriptionAttribute.cs
- SHA512Managed.cs
- JsonEncodingStreamWrapper.cs
- TableLayoutPanel.cs
- RoutedUICommand.cs
- QueryTask.cs
- ResXFileRef.cs
- DataStreamFromComStream.cs
- WpfSharedBamlSchemaContext.cs
- ActivityValidator.cs
- ApplicationTrust.cs
- DesignerContextDescriptor.cs
- PropertySegmentSerializer.cs
- ScalarOps.cs
- COM2Properties.cs
- DataTableClearEvent.cs
- DefaultDialogButtons.cs
- XmlWhitespace.cs
- ListenerAdapter.cs
- DescendentsWalker.cs
- CompositionAdorner.cs
- DataViewManager.cs
- ToolStripDropDownMenu.cs
- _SecureChannel.cs
- RuntimeEnvironment.cs
- ArrayTypeMismatchException.cs
- WorkflowInstanceRecord.cs
- TextTreeExtractElementUndoUnit.cs
- DbExpressionRules.cs
- UnmanagedMemoryAccessor.cs
- EndpointDiscoveryMetadata11.cs
- RestHandlerFactory.cs
- MobileControl.cs
- Aggregates.cs
- RequestCachingSection.cs
- TypeBuilderInstantiation.cs
- DeadCharTextComposition.cs
- RawStylusActions.cs
- LabelAutomationPeer.cs
- XmlDocument.cs
- DataSource.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- CompressedStack.cs
- KeyValuePair.cs
- ParameterModifier.cs
- BaseValidator.cs
- EndpointAddressMessageFilter.cs
- FastPropertyAccessor.cs
- XmlQueryTypeFactory.cs
- Main.cs
- AssemblyResourceLoader.cs
- TextFormatterImp.cs
- WindowsListViewGroupHelper.cs
- DependentList.cs
- CaseExpr.cs
- AuthenticateEventArgs.cs
- CreateUserErrorEventArgs.cs
- SaveWorkflowCommand.cs
- returneventsaver.cs
- TextSelectionHelper.cs
- PersonalizationState.cs
- TextProperties.cs
- MetadataItem.cs
- PropertyIDSet.cs
- BulletedListEventArgs.cs
- ToolStripSettings.cs
- ReachBasicContext.cs
- BitmapSource.cs
- FixedElement.cs
- SimpleBitVector32.cs
- ADMembershipProvider.cs
- Match.cs
- Certificate.cs
- GZipDecoder.cs
- ExpanderAutomationPeer.cs
- DragEvent.cs
- LinqDataSourceValidationException.cs
- _NativeSSPI.cs
- InstanceDescriptor.cs
- BlurEffect.cs
- CorrelationActionMessageFilter.cs
- SelectorItemAutomationPeer.cs
- MediaContext.cs
- ErrorWebPart.cs
- ToolZone.cs
- CultureTableRecord.cs
- DataGridViewCell.cs
- DropDownButton.cs
- RangeBase.cs
- Control.cs