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
- ForEachAction.cs
- WebHostUnsafeNativeMethods.cs
- DataServices.cs
- GlobalItem.cs
- KeyMatchBuilder.cs
- ConstructorExpr.cs
- ViewSimplifier.cs
- CacheChildrenQuery.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ListArgumentProvider.cs
- XPathException.cs
- ServiceMemoryGates.cs
- DescendentsWalker.cs
- XPathScanner.cs
- CodeGotoStatement.cs
- TraceContext.cs
- FileChangesMonitor.cs
- COM2PropertyPageUITypeConverter.cs
- IsolatedStorage.cs
- ClaimSet.cs
- URL.cs
- XmlSequenceWriter.cs
- ResXResourceReader.cs
- XslVisitor.cs
- HttpPostLocalhostServerProtocol.cs
- SqlOuterApplyReducer.cs
- SoapAttributes.cs
- ParenExpr.cs
- PointF.cs
- ReaderWriterLock.cs
- DefaultAuthorizationContext.cs
- DispatcherExceptionFilterEventArgs.cs
- DiscoveryOperationContext.cs
- WindowsListViewItemStartMenu.cs
- MainMenu.cs
- SafeCertificateStore.cs
- FacetValueContainer.cs
- FileDialog.cs
- ContextMenuAutomationPeer.cs
- SafeNativeMethods.cs
- unsafeIndexingFilterStream.cs
- DesignerPerfEventProvider.cs
- SqlDataAdapter.cs
- DataBinder.cs
- RemoteWebConfigurationHostStream.cs
- figurelengthconverter.cs
- AnnouncementEventArgs.cs
- Triplet.cs
- OdbcDataReader.cs
- DbConnectionHelper.cs
- SqlRecordBuffer.cs
- XPathDocumentNavigator.cs
- ContextMarshalException.cs
- LocalBuilder.cs
- MessagingDescriptionAttribute.cs
- LayoutTable.cs
- TextTabProperties.cs
- VectorAnimation.cs
- XmlWellformedWriter.cs
- EntityContainerRelationshipSet.cs
- IntSecurity.cs
- ActivityTypeCodeDomSerializer.cs
- DesignerDataConnection.cs
- ContentFileHelper.cs
- IOThreadScheduler.cs
- CheckBox.cs
- MessageFault.cs
- SelectionPatternIdentifiers.cs
- HostedHttpTransportManager.cs
- BaseCodeDomTreeGenerator.cs
- IdnMapping.cs
- DBDataPermission.cs
- ArgumentOutOfRangeException.cs
- IPipelineRuntime.cs
- ObjectStateFormatter.cs
- ArcSegment.cs
- OperationInfo.cs
- DataGridRow.cs
- MultiTouchSystemGestureLogic.cs
- XmlReflectionMember.cs
- PropertyKey.cs
- FillErrorEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- XmlNullResolver.cs
- AccessControlEntry.cs
- TrackBar.cs
- ClientRolePrincipal.cs
- TableLayoutRowStyleCollection.cs
- BackStopAuthenticationModule.cs
- CollectionBuilder.cs
- CheckBoxPopupAdapter.cs
- XmlEventCache.cs
- LinqDataSourceDisposeEventArgs.cs
- AppSettingsExpressionBuilder.cs
- SubpageParagraph.cs
- WebBrowserNavigatingEventHandler.cs
- WebPartCollection.cs
- CodeDirectiveCollection.cs
- SQLBinary.cs
- OleDbError.cs