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
- EnumUnknown.cs
- DataGridViewControlCollection.cs
- BitmapCodecInfo.cs
- VersionPair.cs
- ReflectTypeDescriptionProvider.cs
- ListMarkerLine.cs
- UITypeEditors.cs
- RoutedEventHandlerInfo.cs
- ListViewItemEventArgs.cs
- PathParser.cs
- Control.cs
- SpecularMaterial.cs
- XPathNavigatorReader.cs
- WebPartsPersonalizationAuthorization.cs
- CombinedGeometry.cs
- PathGeometry.cs
- TimeManager.cs
- ListDictionary.cs
- RadioButton.cs
- ExpressionSelection.cs
- XmlTextReaderImpl.cs
- CopyNodeSetAction.cs
- LazyTextWriterCreator.cs
- MatrixAnimationBase.cs
- EditorZoneBase.cs
- TextRenderer.cs
- EntityExpressionVisitor.cs
- DataMisalignedException.cs
- XhtmlBasicValidationSummaryAdapter.cs
- RegexParser.cs
- SchemaAttDef.cs
- Font.cs
- URLIdentityPermission.cs
- EventToken.cs
- XmlNamespaceMappingCollection.cs
- UTF32Encoding.cs
- CodeArrayCreateExpression.cs
- ContextMenuStripGroup.cs
- SiteMapNodeItem.cs
- HttpHandlerAction.cs
- EntityContainer.cs
- SqlDataReader.cs
- Rect3D.cs
- DesignerLoader.cs
- IISUnsafeMethods.cs
- PropertyValueUIItem.cs
- XmlIlGenerator.cs
- GridViewColumnHeader.cs
- COM2PictureConverter.cs
- clipboard.cs
- ITextView.cs
- DependencyPropertyAttribute.cs
- EDesignUtil.cs
- Visitor.cs
- TypeResolvingOptionsAttribute.cs
- XmlDictionaryReaderQuotas.cs
- SqlUserDefinedTypeAttribute.cs
- InfoCardKeyedHashAlgorithm.cs
- _DisconnectOverlappedAsyncResult.cs
- ScriptDescriptor.cs
- ScopelessEnumAttribute.cs
- Geometry.cs
- CodeAttributeArgumentCollection.cs
- WpfWebRequestHelper.cs
- TypeBuilderInstantiation.cs
- SearchForVirtualItemEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- DataControlFieldHeaderCell.cs
- ColorConvertedBitmap.cs
- OAVariantLib.cs
- RegexFCD.cs
- WebRequest.cs
- RemoteWebConfigurationHostServer.cs
- ScriptingWebServicesSectionGroup.cs
- SQLBinary.cs
- ExtensionElement.cs
- FunctionNode.cs
- RelationshipEndCollection.cs
- UpdateRecord.cs
- SqlRewriteScalarSubqueries.cs
- VirtualDirectoryMapping.cs
- XmlAnyElementAttributes.cs
- assemblycache.cs
- ProxyAttribute.cs
- PEFileEvidenceFactory.cs
- WorkerRequest.cs
- HttpGetServerProtocol.cs
- SqlNodeTypeOperators.cs
- WebScriptClientGenerator.cs
- EntitySetRetriever.cs
- RectAnimationClockResource.cs
- ExclusiveTcpListener.cs
- HealthMonitoringSection.cs
- ChangesetResponse.cs
- ColumnHeader.cs
- WSSecurityPolicy11.cs
- sqlpipe.cs
- MethodRental.cs
- RuntimeWrappedException.cs
- PointLightBase.cs