Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityModel / SchemaObjectModel / BooleanFacetDescriptionElement.cs / 1305376 / BooleanFacetDescriptionElement.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 BooleanFacetDescriptionElement : FacetDescriptionElement { public BooleanFacetDescriptionElement(TypeElement type, string name) :base(type, name) { } public override EdmType FacetType { get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean); } } ///////////////////////////////////////////////////////////////////// // Attribute Handlers ////// Handler for the Default attribute /// /// xml reader currently positioned at Default attribute protected override void HandleDefaultAttribute(XmlReader reader) { bool value = false; if (HandleBoolAttribute(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
- KeyGestureValueSerializer.cs
- DataGridTableCollection.cs
- CrossAppDomainChannel.cs
- ActivityValidationServices.cs
- PlatformNotSupportedException.cs
- PropertiesTab.cs
- UrlMappingsSection.cs
- RegexRunnerFactory.cs
- ApplicationActivator.cs
- DataBoundLiteralControl.cs
- Size3DConverter.cs
- DelegatedStream.cs
- CodeDirectiveCollection.cs
- SQLBinaryStorage.cs
- HostingEnvironmentSection.cs
- AppSettingsReader.cs
- CompositeKey.cs
- RectKeyFrameCollection.cs
- NetworkCredential.cs
- DispatcherExceptionEventArgs.cs
- HttpListenerContext.cs
- TableRow.cs
- ResourceWriter.cs
- PolicyException.cs
- Int32.cs
- PagePropertiesChangingEventArgs.cs
- DES.cs
- WebServiceErrorEvent.cs
- DescendentsWalker.cs
- EntitySetBaseCollection.cs
- SafePointer.cs
- lengthconverter.cs
- SoapAttributes.cs
- FileChangesMonitor.cs
- RowUpdatedEventArgs.cs
- ScaleTransform.cs
- CompilerResults.cs
- DateTimePicker.cs
- ResolvedKeyFrameEntry.cs
- ListenerElementsCollection.cs
- Transform3DCollection.cs
- TextHintingModeValidation.cs
- SrgsDocument.cs
- SqlInfoMessageEvent.cs
- PersistChildrenAttribute.cs
- HtmlUtf8RawTextWriter.cs
- ListenerSessionConnection.cs
- DependencyPropertyKind.cs
- _ScatterGatherBuffers.cs
- BrushValueSerializer.cs
- ItemChangedEventArgs.cs
- CompositeControl.cs
- ScriptHandlerFactory.cs
- WebFaultClientMessageInspector.cs
- _PooledStream.cs
- TextSelectionHighlightLayer.cs
- Normalization.cs
- PlanCompiler.cs
- ListItemConverter.cs
- CapabilitiesSection.cs
- TypeAccessException.cs
- DataGridCellClipboardEventArgs.cs
- XmlObjectSerializer.cs
- sqlinternaltransaction.cs
- TreeNodeConverter.cs
- CacheRequest.cs
- StreamInfo.cs
- MenuItemCollection.cs
- JsonCollectionDataContract.cs
- WinEventWrap.cs
- MailMessageEventArgs.cs
- XhtmlConformanceSection.cs
- DoubleLinkListEnumerator.cs
- HelloMessageApril2005.cs
- EntityDataSourceContextCreatedEventArgs.cs
- Rect3D.cs
- HttpProfileGroupBase.cs
- ZipIOLocalFileDataDescriptor.cs
- NullableConverter.cs
- MetadataArtifactLoader.cs
- WriteStateInfoBase.cs
- ComAwareEventInfo.cs
- FixedPageStructure.cs
- RecognizeCompletedEventArgs.cs
- WindowInteropHelper.cs
- XmlValidatingReaderImpl.cs
- PingOptions.cs
- SmtpDateTime.cs
- StringFormat.cs
- FatalException.cs
- ContentType.cs
- RTLAwareMessageBox.cs
- TablePatternIdentifiers.cs
- NamespaceCollection.cs
- DataServiceClientException.cs
- TimeEnumHelper.cs
- GridViewPageEventArgs.cs
- PrePostDescendentsWalker.cs
- BitmapSourceSafeMILHandle.cs
- BinaryWriter.cs