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
- ToolStripControlHost.cs
- TextChange.cs
- ShaperBuffers.cs
- WindowsAuthenticationModule.cs
- DiscoveryDocumentLinksPattern.cs
- System.Data.OracleClient_BID.cs
- DependencyObjectPropertyDescriptor.cs
- OracleBoolean.cs
- RtfControlWordInfo.cs
- Decimal.cs
- ToolboxItemFilterAttribute.cs
- HideDisabledControlAdapter.cs
- _NtlmClient.cs
- ChannelTokenTypeConverter.cs
- Fonts.cs
- SocketCache.cs
- ObjectPersistData.cs
- CollectionViewGroupInternal.cs
- HijriCalendar.cs
- HttpProfileBase.cs
- GridEntry.cs
- QilGenerator.cs
- SafeFileMappingHandle.cs
- RuntimeConfig.cs
- StatusBar.cs
- RouteTable.cs
- TypeNameConverter.cs
- XmlNode.cs
- OleDbDataReader.cs
- AVElementHelper.cs
- COM2ICategorizePropertiesHandler.cs
- EventWaitHandleSecurity.cs
- PeerName.cs
- VirtualDirectoryMappingCollection.cs
- DesignerAttribute.cs
- XmlQueryTypeFactory.cs
- NativeMethods.cs
- HostedTransportConfigurationManager.cs
- GeometryValueSerializer.cs
- Base64Stream.cs
- SmiXetterAccessMap.cs
- NonVisualControlAttribute.cs
- SecurityResources.cs
- XmlIlGenerator.cs
- DbConnectionStringBuilder.cs
- PropertiesTab.cs
- ConfigurationManagerInternalFactory.cs
- XdrBuilder.cs
- DefaultTextStore.cs
- SQlBooleanStorage.cs
- TextProperties.cs
- RadioButtonPopupAdapter.cs
- ToolStripDropDownClosedEventArgs.cs
- BitmapEffectvisualstate.cs
- DictionarySectionHandler.cs
- CssStyleCollection.cs
- uribuilder.cs
- ViewUtilities.cs
- InputLanguageEventArgs.cs
- EventlogProvider.cs
- TextEditorThreadLocalStore.cs
- ContainerActivationHelper.cs
- SystemWebSectionGroup.cs
- BaseDataBoundControl.cs
- Preprocessor.cs
- exports.cs
- ArrangedElement.cs
- FixedSOMTextRun.cs
- DesignerCategoryAttribute.cs
- ActivityCollectionMarkupSerializer.cs
- AppSecurityManager.cs
- StaticDataManager.cs
- StandardToolWindows.cs
- Certificate.cs
- DbConnectionHelper.cs
- ValidatedMobileControlConverter.cs
- CodeAttributeArgument.cs
- WebPartChrome.cs
- WebPartCollection.cs
- WebScriptMetadataMessageEncoderFactory.cs
- DataGridViewCellPaintingEventArgs.cs
- QuaternionKeyFrameCollection.cs
- AudioFileOut.cs
- HostedElements.cs
- ItemAutomationPeer.cs
- WebControlAdapter.cs
- Aggregates.cs
- ContextQuery.cs
- BaseCollection.cs
- CngProperty.cs
- SplineKeyFrames.cs
- AdornerPresentationContext.cs
- InnerItemCollectionView.cs
- externdll.cs
- AlternationConverter.cs
- InstanceHandle.cs
- SingleAnimationBase.cs
- Clipboard.cs
- MessageQueueConverter.cs
- SiteIdentityPermission.cs