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
- DetailsViewInsertedEventArgs.cs
- TextFormatterContext.cs
- UniqueSet.cs
- FrameworkTextComposition.cs
- ProtocolsConfigurationHandler.cs
- SQLBinary.cs
- UnsafeNativeMethods.cs
- CodeAttributeArgument.cs
- IndexedWhereQueryOperator.cs
- EventRoute.cs
- WindowsListViewGroupSubsetLink.cs
- Section.cs
- TreeViewItem.cs
- ProcessModelInfo.cs
- DataGridViewAccessibleObject.cs
- EventLogInternal.cs
- CompilationLock.cs
- SerialPort.cs
- OleDbTransaction.cs
- XslNumber.cs
- TreeViewTemplateSelector.cs
- GPRECTF.cs
- HttpStreamFormatter.cs
- EnumValAlphaComparer.cs
- State.cs
- StrokeNode.cs
- StringReader.cs
- Roles.cs
- EventsTab.cs
- Odbc32.cs
- DataGridTextBoxColumn.cs
- HealthMonitoringSection.cs
- querybuilder.cs
- ClientRuntimeConfig.cs
- SizeChangedInfo.cs
- DataGridPagingPage.cs
- IdentifierService.cs
- DataControlFieldHeaderCell.cs
- SubpageParaClient.cs
- DateTimeConstantAttribute.cs
- ReadOnlyDataSource.cs
- UriScheme.cs
- ErrorFormatterPage.cs
- ExpressionVisitor.cs
- Schema.cs
- WriteTimeStream.cs
- KnownBoxes.cs
- CancelEventArgs.cs
- arclist.cs
- DbDataRecord.cs
- MultiSelector.cs
- formatter.cs
- ContainerCodeDomSerializer.cs
- SqlBuffer.cs
- DataGridViewColumnEventArgs.cs
- OleDbParameter.cs
- bidPrivateBase.cs
- StrokeRenderer.cs
- TitleStyle.cs
- MenuItem.cs
- PersistenceTypeAttribute.cs
- HttpApplicationFactory.cs
- ZoneIdentityPermission.cs
- WebBrowser.cs
- WebPartAuthorizationEventArgs.cs
- VirtualPath.cs
- JsonFormatWriterGenerator.cs
- RSAPKCS1SignatureDeformatter.cs
- FillErrorEventArgs.cs
- DependencyPropertyKind.cs
- RuntimeHelpers.cs
- ProcessInputEventArgs.cs
- ConditionalDesigner.cs
- _NetworkingPerfCounters.cs
- DescriptionAttribute.cs
- XmlSequenceWriter.cs
- SqlUtil.cs
- FlowLayoutSettings.cs
- RequestStatusBarUpdateEventArgs.cs
- ProxyGenerator.cs
- safemediahandle.cs
- TrackingProfileCache.cs
- GridViewRowPresenterBase.cs
- WebPartEditorApplyVerb.cs
- QilUnary.cs
- InstanceDataCollection.cs
- SelectionChangedEventArgs.cs
- XmlSchemaDatatype.cs
- ItemChangedEventArgs.cs
- RequestStatusBarUpdateEventArgs.cs
- BinaryOperationBinder.cs
- OleDbCommand.cs
- TextTreeRootTextBlock.cs
- StringPropertyBuilder.cs
- ShaderEffect.cs
- ObjectSet.cs
- TemplatePropertyEntry.cs
- RolePrincipal.cs
- VisualBasicImportReference.cs
- OleDbParameter.cs