Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / EntityModel / SchemaObjectModel / SchemaComplexType.cs / 1 / 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) { } #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. //---------------------------------------------------------------------- //// 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) { } #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
- QuotaThrottle.cs
- ImageListStreamer.cs
- FileDialog.cs
- ServiceCredentialsSecurityTokenManager.cs
- ActiveXHelper.cs
- Binding.cs
- XmlSchemaRedefine.cs
- QilFunction.cs
- XmlC14NWriter.cs
- SelectedDatesCollection.cs
- PreservationFileReader.cs
- IndexerNameAttribute.cs
- MarshalDirectiveException.cs
- MasterPageCodeDomTreeGenerator.cs
- PrintingPermission.cs
- DataSpaceManager.cs
- Attributes.cs
- OledbConnectionStringbuilder.cs
- StrokeCollectionConverter.cs
- IPPacketInformation.cs
- ExtentKey.cs
- FunctionDescription.cs
- AnonymousIdentificationSection.cs
- AssemblySettingAttributes.cs
- EncryptedPackage.cs
- PublisherMembershipCondition.cs
- PartitionedStreamMerger.cs
- TypedDatasetGenerator.cs
- StylusEventArgs.cs
- StructuralCache.cs
- WindowsSlider.cs
- ListViewSelectEventArgs.cs
- XPathNodeIterator.cs
- PermissionSetTriple.cs
- NamespaceImport.cs
- OperationInfo.cs
- RegexNode.cs
- hresults.cs
- TreeViewItemAutomationPeer.cs
- AsnEncodedData.cs
- SingleKeyFrameCollection.cs
- IfAction.cs
- SettingsContext.cs
- ConfigurationSchemaErrors.cs
- StatusBarPanel.cs
- WebPartChrome.cs
- RSAPKCS1SignatureFormatter.cs
- TypedDatasetGenerator.cs
- FontStyle.cs
- Vector3D.cs
- BitmapEffectInput.cs
- CharacterHit.cs
- KeySpline.cs
- LineServicesRun.cs
- WhileDesigner.xaml.cs
- ScriptServiceAttribute.cs
- SimpleMailWebEventProvider.cs
- FamilyMap.cs
- ExtentCqlBlock.cs
- ListControlConvertEventArgs.cs
- StrokeNodeOperations2.cs
- KeyTimeConverter.cs
- LocatorManager.cs
- FontSizeConverter.cs
- MultiSelector.cs
- QualifiedCellIdBoolean.cs
- VariableBinder.cs
- EditingCoordinator.cs
- Stackframe.cs
- ExitEventArgs.cs
- OpenTypeCommon.cs
- UrlMappingsSection.cs
- MailFileEditor.cs
- Graph.cs
- PermissionSet.cs
- ListViewCancelEventArgs.cs
- MessageBuilder.cs
- TextCharacters.cs
- Faults.cs
- Point.cs
- DocumentSchemaValidator.cs
- CommonDialog.cs
- ToolStripContentPanelRenderEventArgs.cs
- XmlTextWriter.cs
- milrender.cs
- handlecollector.cs
- SecurityPolicySection.cs
- ProxyAttribute.cs
- Quaternion.cs
- ConfigXmlReader.cs
- IsolatedStorageFileStream.cs
- mda.cs
- CanExecuteRoutedEventArgs.cs
- SafeFileMapViewHandle.cs
- ActiveXHost.cs
- httpapplicationstate.cs
- SessionSwitchEventArgs.cs
- PersonalizationStateInfoCollection.cs
- ServiceOperationParameter.cs
- StorageAssociationTypeMapping.cs