Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / EntitySet.cs / 1 / EntitySet.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace System.Data.Metadata.Edm { ////// concrete Class for representing a entity set /// public class EntitySet : EntitySetBase { #region Constructors ////// The constructor for constructing the EntitySet with a given name and an entity type /// /// The name of the EntitySet /// The db schema /// The db table /// The provider specific query that should be used to retrieve the EntitySet /// The entity type of the entities that this entity set type contains ///Thrown if the argument name or entityType is null internal EntitySet(string name, string schema, string table, string definingQuery, EntityType entityType) : base(name, schema, table, definingQuery, entityType) { } #endregion #region Properties ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.EntitySet; } } ////// Gets/Sets the entity type of this entity set /// public new EntityType ElementType { get { return (EntityType)base.ElementType; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace System.Data.Metadata.Edm { ////// concrete Class for representing a entity set /// public class EntitySet : EntitySetBase { #region Constructors ////// The constructor for constructing the EntitySet with a given name and an entity type /// /// The name of the EntitySet /// The db schema /// The db table /// The provider specific query that should be used to retrieve the EntitySet /// The entity type of the entities that this entity set type contains ///Thrown if the argument name or entityType is null internal EntitySet(string name, string schema, string table, string definingQuery, EntityType entityType) : base(name, schema, table, definingQuery, entityType) { } #endregion #region Properties ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.EntitySet; } } ////// Gets/Sets the entity type of this entity set /// public new EntityType ElementType { get { return (EntityType)base.ElementType; } } #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
- XXXOnTypeBuilderInstantiation.cs
- BackStopAuthenticationModule.cs
- DataObjectEventArgs.cs
- SelectionRangeConverter.cs
- RecognizeCompletedEventArgs.cs
- XmlSchemaInfo.cs
- ReachSerializationCacheItems.cs
- FormsAuthenticationCredentials.cs
- Encoding.cs
- DataSetMappper.cs
- InvokeWebServiceDesigner.cs
- ToolStripDropDownButton.cs
- ScriptResourceAttribute.cs
- RootProfilePropertySettingsCollection.cs
- ExtractCollection.cs
- SqlCommand.cs
- FixedSOMTable.cs
- IPPacketInformation.cs
- EditorZoneBase.cs
- PersonalizationStateInfo.cs
- WindowsTokenRoleProvider.cs
- NavigationProperty.cs
- BrowsableAttribute.cs
- CompressStream.cs
- UIElement3D.cs
- ISAPIWorkerRequest.cs
- ConnectionStringsSection.cs
- DisplayMemberTemplateSelector.cs
- EFTableProvider.cs
- SimpleWebHandlerParser.cs
- RepeaterItemCollection.cs
- CompiledRegexRunnerFactory.cs
- ResourceProviderFactory.cs
- BezierSegment.cs
- DateBoldEvent.cs
- InstanceNotFoundException.cs
- ExpressionContext.cs
- Image.cs
- SystemBrushes.cs
- UnaryQueryOperator.cs
- HtmlLinkAdapter.cs
- MarginCollapsingState.cs
- FileVersion.cs
- Thread.cs
- ItemType.cs
- CreateUserWizard.cs
- SimpleWorkerRequest.cs
- BooleanStorage.cs
- AffineTransform3D.cs
- EnterpriseServicesHelper.cs
- WebPartHelpVerb.cs
- ListManagerBindingsCollection.cs
- WebBrowser.cs
- InputEventArgs.cs
- DataGridBoolColumn.cs
- UpdateCommandGenerator.cs
- ScrollChrome.cs
- StructuralObject.cs
- PriorityQueue.cs
- DataServiceQueryOfT.cs
- OperationContext.cs
- HttpDebugHandler.cs
- TextEditorParagraphs.cs
- ArrayConverter.cs
- ModuleElement.cs
- MouseEvent.cs
- X509ChainElement.cs
- SerializationInfo.cs
- MethodBuilderInstantiation.cs
- RemotingException.cs
- OptimalBreakSession.cs
- X509CertificateChain.cs
- PersonalizationDictionary.cs
- _CacheStreams.cs
- XPathNavigatorKeyComparer.cs
- SessionStateItemCollection.cs
- MsmqElementBase.cs
- LocationUpdates.cs
- SystemFonts.cs
- PageEventArgs.cs
- WebSysDisplayNameAttribute.cs
- SoapHeader.cs
- TextBoxBase.cs
- SemanticResolver.cs
- MemberDescriptor.cs
- DataContractSet.cs
- WebPartTracker.cs
- InternalCache.cs
- TextServicesCompartmentContext.cs
- MultiPageTextView.cs
- ExtentKey.cs
- AnimationTimeline.cs
- EntityContainerAssociationSetEnd.cs
- EventMappingSettings.cs
- InsufficientMemoryException.cs
- StoragePropertyMapping.cs
- TraceContextEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- ListComponentEditor.cs
- ChannelManager.cs