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
- RequestCachePolicy.cs
- PaintEvent.cs
- ColumnMapTranslator.cs
- DefaultAssemblyResolver.cs
- TimeSpanStorage.cs
- Rfc2898DeriveBytes.cs
- AdornerLayer.cs
- Italic.cs
- RC2CryptoServiceProvider.cs
- BindingValueChangedEventArgs.cs
- ButtonAutomationPeer.cs
- ActivityDesigner.cs
- WebPartActionVerb.cs
- StackSpiller.Bindings.cs
- FieldAccessException.cs
- DelayedRegex.cs
- ConfigXmlSignificantWhitespace.cs
- NotImplementedException.cs
- ShaperBuffers.cs
- XPathChildIterator.cs
- UnmanagedMemoryStreamWrapper.cs
- ComplexTypeEmitter.cs
- SignerInfo.cs
- DelegatingHeader.cs
- xsdvalidator.cs
- CustomErrorCollection.cs
- GACMembershipCondition.cs
- ISAPIApplicationHost.cs
- Point3DAnimationBase.cs
- ProjectionQueryOptionExpression.cs
- TextAutomationPeer.cs
- WorkflowRuntimeServiceElement.cs
- ValueChangedEventManager.cs
- Binding.cs
- OlePropertyStructs.cs
- _UriTypeConverter.cs
- wmiprovider.cs
- ToolStripPanelSelectionBehavior.cs
- _AuthenticationState.cs
- GifBitmapDecoder.cs
- Drawing.cs
- PointHitTestParameters.cs
- LambdaCompiler.Statements.cs
- HtmlImage.cs
- HttpDebugHandler.cs
- BooleanStorage.cs
- XmlRootAttribute.cs
- SecurityKeyIdentifierClause.cs
- querybuilder.cs
- BitmapPalettes.cs
- versioninfo.cs
- PropagatorResult.cs
- HttpGetServerProtocol.cs
- SerializationBinder.cs
- AuthenticationModulesSection.cs
- SingleConverter.cs
- CrossContextChannel.cs
- UnicodeEncoding.cs
- HashCodeCombiner.cs
- SymbolTable.cs
- XmlFormatExtensionAttribute.cs
- SystemInfo.cs
- RsaElement.cs
- _AutoWebProxyScriptWrapper.cs
- Sql8ExpressionRewriter.cs
- DocComment.cs
- PeerPresenceInfo.cs
- ListViewTableCell.cs
- FlowDocumentPageViewerAutomationPeer.cs
- IisTraceListener.cs
- GeometryModel3D.cs
- DataMemberAttribute.cs
- VarInfo.cs
- XmlAttributeOverrides.cs
- HtmlInputControl.cs
- ErrorsHelper.cs
- ParserHooks.cs
- TextPattern.cs
- PiiTraceSource.cs
- ComponentEvent.cs
- ToolTip.cs
- DrawItemEvent.cs
- TargetConverter.cs
- PerformanceCounterManager.cs
- AtomMaterializer.cs
- ConfigXmlWhitespace.cs
- WebSysDisplayNameAttribute.cs
- Frame.cs
- PropertyConverter.cs
- SerializationUtilities.cs
- ContextStaticAttribute.cs
- ProxySimple.cs
- ProcessThreadCollection.cs
- BuildProvider.cs
- MessageSmuggler.cs
- XPathSelfQuery.cs
- MenuTracker.cs
- PagesSection.cs
- ColorConverter.cs
- TemplateNameScope.cs