Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityModel / SchemaObjectModel / SchemaComplexType.cs / 1305376 / SchemaComplexType.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Xml; using System.Data; using System.Data.Metadata.Edm; namespace System.Data.EntityModel.SchemaObjectModel { ////// Summary description for NestedType. /// internal sealed class SchemaComplexType : StructuredType { #region Public Methods ////// /// /// internal SchemaComplexType(Schema parentElement) : base(parentElement) { if (Schema.DataModel == SchemaDataModelOption.EntityDataModel) OtherContent.Add(Schema.SchemaSource); } #endregion #region Public Properties #endregion #region Protected Methods ////// /// internal override void ResolveTopLevelNames() { base.ResolveTopLevelNames(); if ( BaseType != null ) { if ( !(BaseType is SchemaComplexType) ) { AddError( ErrorCode.InvalidBaseType, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidBaseTypeForNestedType(BaseType.FQName,FQName)); } } } #endregion } } // 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
- XmlDomTextWriter.cs
- RawTextInputReport.cs
- Transform3DCollection.cs
- HighlightVisual.cs
- Library.cs
- BamlResourceSerializer.cs
- EventItfInfo.cs
- Helper.cs
- Stream.cs
- SqlDataSourceView.cs
- PhysicalAddress.cs
- WinEventQueueItem.cs
- WebPartDescription.cs
- MD5CryptoServiceProvider.cs
- glyphs.cs
- CreateUserWizardAutoFormat.cs
- OverflowException.cs
- SymmetricCryptoHandle.cs
- TraceData.cs
- View.cs
- PathStreamGeometryContext.cs
- InstalledFontCollection.cs
- SqlTypesSchemaImporter.cs
- NameTable.cs
- DistinctQueryOperator.cs
- DoubleStorage.cs
- StringReader.cs
- ZipFileInfoCollection.cs
- StoreContentChangedEventArgs.cs
- VerificationAttribute.cs
- Int32Storage.cs
- Attribute.cs
- Compiler.cs
- Transform.cs
- DiagnosticSection.cs
- BuildProviderCollection.cs
- SqlTransaction.cs
- SqlClientMetaDataCollectionNames.cs
- FontFamilyValueSerializer.cs
- HostedElements.cs
- XmlCountingReader.cs
- WmlValidationSummaryAdapter.cs
- ItemContainerProviderWrapper.cs
- SharedConnectionInfo.cs
- Dictionary.cs
- ConnectionsZone.cs
- HttpFileCollection.cs
- RuntimeConfigLKG.cs
- NetSectionGroup.cs
- KeyedHashAlgorithm.cs
- HostingEnvironment.cs
- TableCellCollection.cs
- KeyedHashAlgorithm.cs
- PageClientProxyGenerator.cs
- TranslateTransform.cs
- ApplicationSecurityManager.cs
- SchemaTypeEmitter.cs
- ListView.cs
- Misc.cs
- BoundConstants.cs
- ResourceDictionary.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EmptyStringExpandableObjectConverter.cs
- LinkedResource.cs
- DesigntimeLicenseContext.cs
- TraceContextRecord.cs
- SwitchAttribute.cs
- RowTypePropertyElement.cs
- FixedPageStructure.cs
- ADRole.cs
- AsyncOperation.cs
- TreeNodeCollection.cs
- CustomAttribute.cs
- TimeZone.cs
- WSDualHttpBinding.cs
- CodePropertyReferenceExpression.cs
- Point3DAnimation.cs
- DoubleAnimationBase.cs
- TablePattern.cs
- OneOfElement.cs
- InstanceData.cs
- RC2.cs
- ScrollViewer.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- GZipStream.cs
- BaseTemplateBuildProvider.cs
- ExpressionVisitor.cs
- Int16AnimationUsingKeyFrames.cs
- DataStorage.cs
- DataAdapter.cs
- ArithmeticException.cs
- _AutoWebProxyScriptEngine.cs
- FileIOPermission.cs
- CatalogPart.cs
- EventHandlerService.cs
- StructuredProperty.cs
- _UriSyntax.cs
- WebEventTraceProvider.cs
- IsolationInterop.cs
- VirtualizingPanel.cs