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
- ToolBarButton.cs
- TabItem.cs
- SamlAuthorityBinding.cs
- PaintValueEventArgs.cs
- XmlSchemaRedefine.cs
- CachedPathData.cs
- StaticExtensionConverter.cs
- ManagementObjectSearcher.cs
- MediaTimeline.cs
- Transactions.cs
- XmlIgnoreAttribute.cs
- SmtpNtlmAuthenticationModule.cs
- DllNotFoundException.cs
- LogLogRecordEnumerator.cs
- SoapFaultCodes.cs
- BufferedReadStream.cs
- SqlResolver.cs
- InfoCardProofToken.cs
- DataTableMapping.cs
- SqlServer2KCompatibilityAnnotation.cs
- SynchronizationLockException.cs
- DataGridViewButtonColumn.cs
- MissingFieldException.cs
- NetStream.cs
- OdbcParameterCollection.cs
- MatrixConverter.cs
- LinqTreeNodeEvaluator.cs
- ContextBase.cs
- sitestring.cs
- OleDbError.cs
- NegotiationTokenProvider.cs
- ColumnTypeConverter.cs
- Token.cs
- ObjectDataSourceMethodEventArgs.cs
- XPathNodeIterator.cs
- DragEventArgs.cs
- RuntimeArgumentHandle.cs
- WeakKeyDictionary.cs
- FormatPage.cs
- MatrixTransform3D.cs
- SqlDataReaderSmi.cs
- TemplateBindingExpressionConverter.cs
- ToolStripItemClickedEventArgs.cs
- SessionIDManager.cs
- RouteParser.cs
- AdRotator.cs
- PersonalizableAttribute.cs
- PersonalizationState.cs
- Stack.cs
- HelpEvent.cs
- CryptoApi.cs
- CellTreeNode.cs
- DbProviderServices.cs
- WeakReadOnlyCollection.cs
- ExpressionVisitor.cs
- bindurihelper.cs
- XmlSerializerFactory.cs
- UrlPath.cs
- ConstructorBuilder.cs
- DataSysAttribute.cs
- Helper.cs
- FontWeights.cs
- WindowsContainer.cs
- SessionStateItemCollection.cs
- MonthCalendar.cs
- SQLRoleProvider.cs
- TextServicesManager.cs
- DeclaredTypeElement.cs
- SqlConnectionString.cs
- CachedFontFace.cs
- StoryFragments.cs
- TypeSystemProvider.cs
- XmlNodeReader.cs
- TeredoHelper.cs
- ParallelRangeManager.cs
- CaseInsensitiveComparer.cs
- HtmlString.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- ComPlusDiagnosticTraceSchemas.cs
- Update.cs
- DriveInfo.cs
- RegexFCD.cs
- GenericIdentity.cs
- EdmProviderManifest.cs
- Interfaces.cs
- HttpContext.cs
- Aggregates.cs
- DataSourceCollectionBase.cs
- DeclarationUpdate.cs
- SqlProviderManifest.cs
- PersianCalendar.cs
- RadioButtonAutomationPeer.cs
- HttpEncoder.cs
- DbProviderConfigurationHandler.cs
- FormCollection.cs
- MediaElement.cs
- ClrProviderManifest.cs
- Bidi.cs
- _NtlmClient.cs
- Trace.cs