Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / RelationshipSet.cs / 1 / RelationshipSet.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace System.Data.Metadata.Edm { ////// Class for representing a relationship set /// public abstract class RelationshipSet : EntitySetBase { #region Constructors ////// The constructor for constructing the RelationshipSet with a given name and an relationship type /// /// The name of the RelationshipSet /// 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 RelationshipSet(string name, string schema, string table, string definingQuery, RelationshipType relationshipType) : base(name, schema, table, definingQuery, relationshipType) { } #endregion #region Properties ////// Returns the relationship type associated with this relationship set /// public new RelationshipType ElementType { get { return (RelationshipType)base.ElementType; } } ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.RelationshipSet; } } #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.Diagnostics; using System.Text; namespace System.Data.Metadata.Edm { ////// Class for representing a relationship set /// public abstract class RelationshipSet : EntitySetBase { #region Constructors ////// The constructor for constructing the RelationshipSet with a given name and an relationship type /// /// The name of the RelationshipSet /// 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 RelationshipSet(string name, string schema, string table, string definingQuery, RelationshipType relationshipType) : base(name, schema, table, definingQuery, relationshipType) { } #endregion #region Properties ////// Returns the relationship type associated with this relationship set /// public new RelationshipType ElementType { get { return (RelationshipType)base.ElementType; } } ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.RelationshipSet; } } #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
- CounterCreationData.cs
- AssociatedControlConverter.cs
- Calendar.cs
- Comparer.cs
- Compiler.cs
- PerfCounterSection.cs
- webclient.cs
- HandoffBehavior.cs
- InlineCollection.cs
- XpsS0ValidatingLoader.cs
- LoginUtil.cs
- SelectQueryOperator.cs
- CodeMethodReturnStatement.cs
- ExpressionLexer.cs
- ObjectRef.cs
- RankException.cs
- DrawingDrawingContext.cs
- AndMessageFilterTable.cs
- TagPrefixAttribute.cs
- TextTreeNode.cs
- WebPartMinimizeVerb.cs
- QilIterator.cs
- ObjectStateFormatter.cs
- _UriSyntax.cs
- DateTimeSerializationSection.cs
- RotateTransform3D.cs
- ColumnTypeConverter.cs
- SymLanguageVendor.cs
- Size.cs
- BinaryReader.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- AdornerDecorator.cs
- ValidationPropertyAttribute.cs
- ScrollItemProviderWrapper.cs
- _KerberosClient.cs
- LateBoundBitmapDecoder.cs
- _SecureChannel.cs
- ListBox.cs
- AddInToken.cs
- SQLBinaryStorage.cs
- BindingContext.cs
- ScrollBarRenderer.cs
- Attributes.cs
- FixedNode.cs
- ipaddressinformationcollection.cs
- SystemNetHelpers.cs
- Viewport3DVisual.cs
- LicenseProviderAttribute.cs
- JsonDataContract.cs
- documentsequencetextpointer.cs
- securestring.cs
- ServiceMemoryGates.cs
- DataGridHelper.cs
- ResolveDuplex11AsyncResult.cs
- ReadOnlyDataSourceView.cs
- AndCondition.cs
- UriTemplateClientFormatter.cs
- HexParser.cs
- ProcessModelSection.cs
- DockProviderWrapper.cs
- altserialization.cs
- SqlDataSourceCache.cs
- HMACSHA384.cs
- TextAutomationPeer.cs
- Policy.cs
- TreeNodeSelectionProcessor.cs
- GenericUriParser.cs
- HttpListenerResponse.cs
- XmlSchemaAttributeGroup.cs
- RewritingSimplifier.cs
- Perspective.cs
- MappedMetaModel.cs
- DateTimeStorage.cs
- TemplatedMailWebEventProvider.cs
- CustomWebEventKey.cs
- SurrogateChar.cs
- EntityDesignerDataSourceView.cs
- OutputCacheProfile.cs
- MgmtConfigurationRecord.cs
- CreateParams.cs
- DataGridViewMethods.cs
- GridView.cs
- TracedNativeMethods.cs
- SmiMetaData.cs
- EmbossBitmapEffect.cs
- TransformedBitmap.cs
- Solver.cs
- BinaryObjectReader.cs
- ListViewAutomationPeer.cs
- MarkedHighlightComponent.cs
- TranslateTransform.cs
- ActiveDocumentEvent.cs
- RC2CryptoServiceProvider.cs
- XmlLanguage.cs
- DataViewManager.cs
- UnionQueryOperator.cs
- LoginCancelEventArgs.cs
- TokenizerHelper.cs
- ManagedFilter.cs
- FreeFormDesigner.cs