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
- LoginCancelEventArgs.cs
- ProviderUtil.cs
- Fault.cs
- ApplicationId.cs
- HttpWebResponse.cs
- EmptyStringExpandableObjectConverter.cs
- ExternalDataExchangeClient.cs
- ProfileElement.cs
- WindowsClaimSet.cs
- WebPartConnectionsCloseVerb.cs
- LogicalExpr.cs
- PointCollection.cs
- CustomSignedXml.cs
- BindingGroup.cs
- XPathSelectionIterator.cs
- HorizontalAlignConverter.cs
- LogStore.cs
- BevelBitmapEffect.cs
- OutputCacheSection.cs
- ConfigXmlDocument.cs
- FileIOPermission.cs
- BitmapScalingModeValidation.cs
- TemplateBindingExtensionConverter.cs
- PreloadedPackages.cs
- WmlCalendarAdapter.cs
- XmlAtomicValue.cs
- SqlSelectClauseBuilder.cs
- StorageAssociationTypeMapping.cs
- ToolboxDataAttribute.cs
- _Semaphore.cs
- CaseInsensitiveComparer.cs
- UIElementPropertyUndoUnit.cs
- WorkflowHostingResponseContext.cs
- XamlFigureLengthSerializer.cs
- XmlSchemaExporter.cs
- MsmqInputMessage.cs
- AttributeParameterInfo.cs
- UnrecognizedPolicyAssertionElement.cs
- DbDataAdapter.cs
- MULTI_QI.cs
- TreeNodeSelectionProcessor.cs
- Matrix3DStack.cs
- CodeArgumentReferenceExpression.cs
- TextRangeEditLists.cs
- SupportingTokenListenerFactory.cs
- __FastResourceComparer.cs
- StructuralCache.cs
- _LocalDataStoreMgr.cs
- Int16Storage.cs
- HebrewNumber.cs
- OperandQuery.cs
- XhtmlBasicFormAdapter.cs
- ScrollBarRenderer.cs
- XsltException.cs
- EncryptedPackageFilter.cs
- CodeIdentifiers.cs
- PropertyCollection.cs
- PageParserFilter.cs
- NavigationPropertyEmitter.cs
- XPathNodeIterator.cs
- TextBoxAutomationPeer.cs
- ListViewTableCell.cs
- DecoratedNameAttribute.cs
- entitydatasourceentitysetnameconverter.cs
- SoapExtensionReflector.cs
- SystemWebExtensionsSectionGroup.cs
- PLINQETWProvider.cs
- HtmlTableRow.cs
- MetafileHeaderEmf.cs
- DefaultParameterValueAttribute.cs
- SiteMap.cs
- HttpErrorTraceRecord.cs
- CodeCommentStatementCollection.cs
- GlobalEventManager.cs
- KeyValuePairs.cs
- LifetimeServices.cs
- XmlSchemaFacet.cs
- DeferredTextReference.cs
- SQLRoleProvider.cs
- DataGridColumnsPage.cs
- ListViewAutomationPeer.cs
- TokenBasedSet.cs
- FileChangesMonitor.cs
- FloaterParaClient.cs
- CodeTypeDeclarationCollection.cs
- NameScopePropertyAttribute.cs
- ConfigurationElementProperty.cs
- XmlValueConverter.cs
- SwitchLevelAttribute.cs
- IERequestCache.cs
- DateTimeFormat.cs
- TypeDescriptor.cs
- ProtocolsSection.cs
- LassoHelper.cs
- LineServicesCallbacks.cs
- cookieexception.cs
- UnSafeCharBuffer.cs
- UserControlDesigner.cs
- TableRow.cs
- HttpStaticObjectsCollectionBase.cs