Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- IdentityNotMappedException.cs
- ScaleTransform3D.cs
- _ConnectOverlappedAsyncResult.cs
- DbException.cs
- PassportAuthenticationEventArgs.cs
- ObjectToModelValueConverter.cs
- ExtensionWindow.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- XmlRawWriter.cs
- ObjectStateEntry.cs
- ImageCollectionEditor.cs
- QueryReaderSettings.cs
- Boolean.cs
- JsonStringDataContract.cs
- LogicalMethodInfo.cs
- MenuItemStyleCollectionEditor.cs
- ExpressionConverter.cs
- FixedLineResult.cs
- OracleString.cs
- ListViewAutomationPeer.cs
- InteropEnvironment.cs
- ProxyWebPartConnectionCollection.cs
- HtmlAnchor.cs
- WebUtil.cs
- BlockCollection.cs
- Query.cs
- EventsTab.cs
- ModifiableIteratorCollection.cs
- SettingsSavedEventArgs.cs
- Normalizer.cs
- StyleXamlParser.cs
- ReservationNotFoundException.cs
- XmlDictionaryWriter.cs
- RefType.cs
- QueryableFilterUserControl.cs
- BrowserCapabilitiesCodeGenerator.cs
- HuffmanTree.cs
- DocumentPaginator.cs
- ToolStripInSituService.cs
- DocumentViewer.cs
- ReadWriteSpinLock.cs
- ReadOnlyNameValueCollection.cs
- mediaeventargs.cs
- HandlerBase.cs
- EmptyStringExpandableObjectConverter.cs
- QueryResultOp.cs
- StickyNote.cs
- FlowSwitchDesigner.xaml.cs
- ElementProxy.cs
- TrackPointCollection.cs
- TdsParserHelperClasses.cs
- AlternateViewCollection.cs
- CodeStatement.cs
- SqlUserDefinedTypeAttribute.cs
- Control.cs
- SmiEventStream.cs
- ControlCollection.cs
- AmbientLight.cs
- GeometryCollection.cs
- CurrentChangingEventManager.cs
- XPathNodeInfoAtom.cs
- ResolvedKeyFrameEntry.cs
- HtmlProps.cs
- Console.cs
- UriGenerator.cs
- XamlStream.cs
- UpdateCompiler.cs
- SqlDataReaderSmi.cs
- PointAnimation.cs
- EastAsianLunisolarCalendar.cs
- GuidelineSet.cs
- BinaryUtilClasses.cs
- ComponentChangingEvent.cs
- BaseAsyncResult.cs
- _AutoWebProxyScriptEngine.cs
- WebPartDisplayModeCollection.cs
- COM2ExtendedTypeConverter.cs
- RotateTransform.cs
- UpDownEvent.cs
- StrokeNodeOperations.cs
- IntMinMaxAggregationOperator.cs
- ComplexType.cs
- SafeCryptHandles.cs
- PageRouteHandler.cs
- Guid.cs
- SafeThemeHandle.cs
- SiteMapNodeItemEventArgs.cs
- RelationshipManager.cs
- LongTypeConverter.cs
- EarlyBoundInfo.cs
- DbConnectionStringBuilder.cs
- ScriptIgnoreAttribute.cs
- BoundColumn.cs
- CultureInfoConverter.cs
- LineGeometry.cs
- HashHelper.cs
- FormsAuthenticationUserCollection.cs
- SelectionService.cs
- RootContext.cs
- DeferredRunTextReference.cs