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
- _HeaderInfo.cs
- XPathSelfQuery.cs
- ApplicationProxyInternal.cs
- XmlCharacterData.cs
- HttpDebugHandler.cs
- TriggerCollection.cs
- VirtualizingStackPanel.cs
- SQLInt32.cs
- IDispatchConstantAttribute.cs
- ListViewHitTestInfo.cs
- QilParameter.cs
- HyperLinkStyle.cs
- BamlLocalizabilityResolver.cs
- CodeAccessSecurityEngine.cs
- PeerTransportListenAddressConverter.cs
- Expr.cs
- XmlSerializationReader.cs
- SortableBindingList.cs
- ClosableStream.cs
- XmlBindingWorker.cs
- SmiSettersStream.cs
- EncryptedPackageFilter.cs
- WindowsAuthenticationModule.cs
- ThreadExceptionDialog.cs
- ProfileBuildProvider.cs
- FunctionImportElement.cs
- ReceiveContent.cs
- DbSource.cs
- ImageMap.cs
- X509Extension.cs
- Int32Rect.cs
- JournalNavigationScope.cs
- LeftCellWrapper.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- MobileControlsSectionHelper.cs
- WebPartDisplayMode.cs
- DayRenderEvent.cs
- SqlUserDefinedTypeAttribute.cs
- DataExpression.cs
- CodeArgumentReferenceExpression.cs
- ProtectedConfiguration.cs
- AtlasWeb.Designer.cs
- ControlTemplate.cs
- FontFaceLayoutInfo.cs
- SystemThemeKey.cs
- ExceptionUtil.cs
- UniqueConstraint.cs
- ItemCheckEvent.cs
- InstanceNameConverter.cs
- DataBindingCollectionConverter.cs
- EdmItemError.cs
- NonSerializedAttribute.cs
- SafeEventHandle.cs
- DataRelationCollection.cs
- CryptoApi.cs
- PreviewPrintController.cs
- ClientRuntimeConfig.cs
- LinearKeyFrames.cs
- mactripleDES.cs
- FontStretchConverter.cs
- ShutDownListener.cs
- FileVersion.cs
- TableHeaderCell.cs
- ToolboxItemAttribute.cs
- TagPrefixAttribute.cs
- DetailsViewInsertedEventArgs.cs
- MarkupExtensionReturnTypeAttribute.cs
- TypefaceMetricsCache.cs
- EntityDataSourceDataSelectionPanel.cs
- RSAPKCS1SignatureDeformatter.cs
- EdmEntityTypeAttribute.cs
- AnnotationComponentManager.cs
- DataGridState.cs
- XmlAnyElementAttributes.cs
- GridLength.cs
- GCHandleCookieTable.cs
- CursorInteropHelper.cs
- ConstrainedDataObject.cs
- Condition.cs
- IImplicitResourceProvider.cs
- JournalEntryStack.cs
- ResourceManager.cs
- HtmlTableRow.cs
- LogSwitch.cs
- PrtTicket_Base.cs
- RoleService.cs
- BitmapMetadata.cs
- TextElementCollectionHelper.cs
- ConversionContext.cs
- XPathChildIterator.cs
- DirectionalLight.cs
- RegularExpressionValidator.cs
- MsmqSecureHashAlgorithm.cs
- CssTextWriter.cs
- Path.cs
- AppModelKnownContentFactory.cs
- AjaxFrameworkAssemblyAttribute.cs
- DiscoveryClientProtocol.cs
- TreeViewItem.cs
- FunctionCommandText.cs