Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityModel / SchemaObjectModel / IntegerFacetDescriptionElement.cs / 1305376 / IntegerFacetDescriptionElement.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Data.Metadata.Edm; using System.Xml; using System.Diagnostics; namespace System.Data.EntityModel.SchemaObjectModel { internal sealed class IntegerFacetDescriptionElement : FacetDescriptionElement { public IntegerFacetDescriptionElement(TypeElement type, string name) :base(type, name) { } public override EdmType FacetType { get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32); } } ///////////////////////////////////////////////////////////////////// // Attribute Handlers ////// Handler for the Default attribute /// /// xml reader currently positioned at Default attribute protected override void HandleDefaultAttribute(XmlReader reader) { int value = -1; if (HandleIntAttribute(reader, ref value)) { DefaultValue = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FigureParaClient.cs
- ParameterModifier.cs
- AssemblyResourceLoader.cs
- FacetValues.cs
- InvalidEnumArgumentException.cs
- XmlUnspecifiedAttribute.cs
- DataGridColumnHeadersPresenter.cs
- ServicePointManager.cs
- InstanceData.cs
- Calendar.cs
- InputEventArgs.cs
- EventMappingSettings.cs
- TickBar.cs
- backend.cs
- FormCollection.cs
- CodeCommentStatementCollection.cs
- AdornedElementPlaceholder.cs
- SharedTcpTransportManager.cs
- TreeNodeClickEventArgs.cs
- ServicesUtilities.cs
- ColorMatrix.cs
- mediaeventshelper.cs
- SiteIdentityPermission.cs
- DataBinding.cs
- SuppressMessageAttribute.cs
- SizeConverter.cs
- AddingNewEventArgs.cs
- RefreshPropertiesAttribute.cs
- InteropEnvironment.cs
- IIS7UserPrincipal.cs
- DataServiceClientException.cs
- PeerCollaboration.cs
- GridViewRowPresenterBase.cs
- VectorConverter.cs
- TextEditorTables.cs
- RuntimeResourceSet.cs
- Marshal.cs
- PropertyEntry.cs
- ObjectDataProvider.cs
- BookmarkOptionsHelper.cs
- SafeFindHandle.cs
- _Win32.cs
- LoginStatusDesigner.cs
- Reference.cs
- LinqDataSourceStatusEventArgs.cs
- ZipIOCentralDirectoryFileHeader.cs
- TreeViewImageIndexConverter.cs
- TextTreeNode.cs
- BindingFormattingDialog.cs
- PrimitiveCodeDomSerializer.cs
- OpenFileDialog.cs
- PolicyLevel.cs
- DataGridViewCheckBoxColumn.cs
- NameHandler.cs
- CatalogZoneAutoFormat.cs
- SaveLedgerEntryRequest.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- _HeaderInfo.cs
- XsltArgumentList.cs
- SQLDoubleStorage.cs
- DesignerView.cs
- SelectionBorderGlyph.cs
- DiffuseMaterial.cs
- RadioButtonPopupAdapter.cs
- PrinterResolution.cs
- EventRoute.cs
- SecureUICommand.cs
- HitTestResult.cs
- LogPolicy.cs
- xmlglyphRunInfo.cs
- ToolStripRendererSwitcher.cs
- ConfigPathUtility.cs
- PseudoWebRequest.cs
- MDIWindowDialog.cs
- SqlUserDefinedTypeAttribute.cs
- EntityDataSourceUtil.cs
- CodeDirectiveCollection.cs
- TextAction.cs
- LogWriteRestartAreaAsyncResult.cs
- UInt16Converter.cs
- ClassHandlersStore.cs
- KnownTypeHelper.cs
- Clock.cs
- Atom10ItemFormatter.cs
- ServiceCredentials.cs
- WebPartActionVerb.cs
- ClientSettingsProvider.cs
- ListViewCommandEventArgs.cs
- CompilerHelpers.cs
- Pts.cs
- StringToken.cs
- CanonicalFontFamilyReference.cs
- OciEnlistContext.cs
- SqlRecordBuffer.cs
- ToolStripManager.cs
- AuthStoreRoleProvider.cs
- CounterSample.cs
- sqlstateclientmanager.cs
- UIElement3D.cs
- _ListenerResponseStream.cs