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
- Sql8ConformanceChecker.cs
- Viewport2DVisual3D.cs
- InheritablePropertyChangeInfo.cs
- DataError.cs
- WebPartCancelEventArgs.cs
- HtmlInputPassword.cs
- ServiceReference.cs
- FileSystemEventArgs.cs
- TextViewBase.cs
- RemoveStoryboard.cs
- PeerToPeerException.cs
- BackgroundFormatInfo.cs
- VisualStyleElement.cs
- ServiceOperationUIEditor.cs
- SelectionEditingBehavior.cs
- OleDbException.cs
- MimeMapping.cs
- ResXFileRef.cs
- DetailsViewCommandEventArgs.cs
- NativeMethods.cs
- SqlConnectionHelper.cs
- SplitterCancelEvent.cs
- FunctionDescription.cs
- _SSPISessionCache.cs
- FolderLevelBuildProviderCollection.cs
- ObjectDataSourceWizardForm.cs
- TriState.cs
- SecurityDocument.cs
- RequestBringIntoViewEventArgs.cs
- LightweightCodeGenerator.cs
- PowerEase.cs
- EventLogPermissionAttribute.cs
- TraceShell.cs
- Latin1Encoding.cs
- DesignerAutoFormat.cs
- NotificationContext.cs
- glyphs.cs
- ObjectSecurity.cs
- ACE.cs
- ScrollProviderWrapper.cs
- DataListItemCollection.cs
- DocumentEventArgs.cs
- MD5HashHelper.cs
- TokenBasedSetEnumerator.cs
- AnnotationAuthorChangedEventArgs.cs
- VSWCFServiceContractGenerator.cs
- VerticalAlignConverter.cs
- JulianCalendar.cs
- SafeEventLogReadHandle.cs
- PathNode.cs
- BackgroundFormatInfo.cs
- xml.cs
- ReferenceEqualityComparer.cs
- OleDbInfoMessageEvent.cs
- SerializationObjectManager.cs
- WindowsTitleBar.cs
- EncryptedType.cs
- InlinedAggregationOperator.cs
- NamespaceQuery.cs
- SamlDelegatingWriter.cs
- StatusBarAutomationPeer.cs
- BehaviorEditorPart.cs
- WindowsHyperlink.cs
- XmlToDatasetMap.cs
- ApplicationFileCodeDomTreeGenerator.cs
- CaseStatement.cs
- HandleTable.cs
- BitmapEffectInputData.cs
- HttpCachePolicyElement.cs
- FullTextLine.cs
- FuncTypeConverter.cs
- WindowsGraphicsCacheManager.cs
- TreeNodeClickEventArgs.cs
- ModifiableIteratorCollection.cs
- SmtpSection.cs
- KnownTypeDataContractResolver.cs
- PackagePartCollection.cs
- GroupQuery.cs
- CodePageUtils.cs
- ExpressionDumper.cs
- ContextBase.cs
- NotCondition.cs
- Regex.cs
- RegexWorker.cs
- NetworkCredential.cs
- DocumentViewerConstants.cs
- NegotiateStream.cs
- SqlInfoMessageEvent.cs
- IntSecurity.cs
- Point.cs
- UpDownBase.cs
- SmtpDateTime.cs
- oledbmetadatacolumnnames.cs
- Vector3DAnimationUsingKeyFrames.cs
- WeakReference.cs
- SafeNativeMethodsOther.cs
- EditorPartChrome.cs
- TemplateControlBuildProvider.cs
- RegistryPermission.cs
- InternalTypeHelper.cs