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
- ResourceDescriptionAttribute.cs
- UpdateDelegates.Generated.cs
- WCFServiceClientProxyGenerator.cs
- TokenBasedSetEnumerator.cs
- ResourcesChangeInfo.cs
- BuilderInfo.cs
- RichTextBoxAutomationPeer.cs
- BulletedListEventArgs.cs
- TextRangeEditLists.cs
- XsltException.cs
- FrameDimension.cs
- SqlResolver.cs
- StorageRoot.cs
- MultiByteCodec.cs
- Metafile.cs
- HandleCollector.cs
- XmlSchemaSubstitutionGroup.cs
- ObjectDisposedException.cs
- TdsParserSafeHandles.cs
- CodeDelegateInvokeExpression.cs
- ReadOnlyDataSourceView.cs
- CancelEventArgs.cs
- WindowsScrollBarBits.cs
- SafeThreadHandle.cs
- ContainerActivationHelper.cs
- documentsequencetextcontainer.cs
- InfoCardRSACryptoProvider.cs
- RC2CryptoServiceProvider.cs
- ObjectStateManagerMetadata.cs
- BamlLocalizabilityResolver.cs
- SchemaSetCompiler.cs
- FtpWebResponse.cs
- TextCollapsingProperties.cs
- ProxyOperationRuntime.cs
- XmlStreamStore.cs
- ObjectDataProvider.cs
- PropertyInfoSet.cs
- MenuItemBindingCollection.cs
- StrokeNodeOperations2.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- OneOfElement.cs
- LowerCaseStringConverter.cs
- SafeSecurityHelper.cs
- FaultContractInfo.cs
- RequestUriProcessor.cs
- StorageModelBuildProvider.cs
- EnumMemberAttribute.cs
- StorageRoot.cs
- DataGridViewTextBoxEditingControl.cs
- ProfileService.cs
- CodePageEncoding.cs
- DataGridViewRow.cs
- XsltException.cs
- LayoutEditorPart.cs
- Int16Animation.cs
- MenuItemBinding.cs
- SynchronizedDispatch.cs
- HttpGetServerProtocol.cs
- NavigationCommands.cs
- FreeIndexList.cs
- IdentityHolder.cs
- formatter.cs
- TokenBasedSet.cs
- WebPartDisplayModeEventArgs.cs
- RightsManagementPermission.cs
- BasicKeyConstraint.cs
- KeyConverter.cs
- RepeaterItemCollection.cs
- ProcessThreadCollection.cs
- GuidTagList.cs
- PrimaryKeyTypeConverter.cs
- ExceptionAggregator.cs
- RegexNode.cs
- GridViewColumnHeader.cs
- unsafenativemethodsother.cs
- Misc.cs
- RightsManagementProvider.cs
- WmpBitmapDecoder.cs
- InvalidOleVariantTypeException.cs
- TreeNodeStyle.cs
- IntSecurity.cs
- RemoteWebConfigurationHost.cs
- IntegerFacetDescriptionElement.cs
- MasterPage.cs
- PageFunction.cs
- Guid.cs
- MissingManifestResourceException.cs
- XmlEncoding.cs
- FontSizeConverter.cs
- ParameterInfo.cs
- DataServiceSaveChangesEventArgs.cs
- RegexRunnerFactory.cs
- DataGridViewAccessibleObject.cs
- PropertyDescriptorComparer.cs
- WindowsToolbarItemAsMenuItem.cs
- SpeechRecognizer.cs
- ObjectReferenceStack.cs
- NativeMethods.cs
- Stackframe.cs
- BamlResourceSerializer.cs