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
- StateValidator.cs
- CrossSiteScriptingValidation.cs
- SmtpDigestAuthenticationModule.cs
- HandledMouseEvent.cs
- InheritanceRules.cs
- WebHttpBindingElement.cs
- ActiveDocumentEvent.cs
- ColorContext.cs
- ItemAutomationPeer.cs
- Utilities.cs
- SafeNativeMethods.cs
- LinqDataSourceEditData.cs
- DesignerToolStripControlHost.cs
- SafeCoTaskMem.cs
- NativeMethods.cs
- DrawingCollection.cs
- X509Certificate2.cs
- QilXmlReader.cs
- WebPartTracker.cs
- ImmutableObjectAttribute.cs
- MimeObjectFactory.cs
- CallbackException.cs
- PngBitmapDecoder.cs
- CalendarTable.cs
- Delegate.cs
- UserControl.cs
- Nodes.cs
- HotSpotCollectionEditor.cs
- BufferedGraphics.cs
- ExpressionsCollectionConverter.cs
- UInt16.cs
- RemoteWebConfigurationHost.cs
- Identity.cs
- ReadOnlyNameValueCollection.cs
- GridViewDeleteEventArgs.cs
- WindowShowOrOpenTracker.cs
- PropertiesTab.cs
- ShellProvider.cs
- ControlType.cs
- SortQuery.cs
- DbConnectionPoolGroupProviderInfo.cs
- PermissionListSet.cs
- PolicyLevel.cs
- safex509handles.cs
- SqlCrossApplyToCrossJoin.cs
- TemplatedWizardStep.cs
- XmlSchemaComplexContentExtension.cs
- ImportCatalogPart.cs
- EUCJPEncoding.cs
- Utility.cs
- HostProtectionPermission.cs
- IntMinMaxAggregationOperator.cs
- ReadOnlyHierarchicalDataSource.cs
- RecordsAffectedEventArgs.cs
- SpecialNameAttribute.cs
- ProtocolsSection.cs
- SqlDependencyListener.cs
- PositiveTimeSpanValidator.cs
- DataControlField.cs
- BehaviorDragDropEventArgs.cs
- BamlTreeNode.cs
- GridItemProviderWrapper.cs
- ConstraintCollection.cs
- SortedSet.cs
- IListConverters.cs
- HitTestResult.cs
- SqlProfileProvider.cs
- WebSysDefaultValueAttribute.cs
- BinaryExpressionHelper.cs
- Function.cs
- ValueProviderWrapper.cs
- DataStreamFromComStream.cs
- ConfigurationLocation.cs
- AggregateNode.cs
- BindStream.cs
- WebConfigurationHostFileChange.cs
- MenuRenderer.cs
- UnsafeNetInfoNativeMethods.cs
- GridPatternIdentifiers.cs
- MultipartContentParser.cs
- XamlReader.cs
- QuaternionRotation3D.cs
- ResourcePool.cs
- DateTimeOffset.cs
- ManifestResourceInfo.cs
- CookielessHelper.cs
- SemaphoreSlim.cs
- MimePart.cs
- HtmlSelect.cs
- CustomAttributeSerializer.cs
- ControlPaint.cs
- RepeatButton.cs
- FilterableAttribute.cs
- RepeaterDataBoundAdapter.cs
- ObjectIDGenerator.cs
- DocumentDesigner.cs
- TrackingMemoryStreamFactory.cs
- HtmlInputHidden.cs
- SafeNativeMethodsCLR.cs
- TextBox.cs