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 / 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
- RelativeSource.cs
- _AuthenticationState.cs
- FieldNameLookup.cs
- DoubleAnimationBase.cs
- FtpRequestCacheValidator.cs
- RawStylusInput.cs
- namescope.cs
- ViewBase.cs
- SqlGenerator.cs
- MediaCommands.cs
- ChangeNode.cs
- TreeViewHitTestInfo.cs
- XPathSelfQuery.cs
- XmlParserContext.cs
- AbandonedMutexException.cs
- SymmetricAlgorithm.cs
- HuffCodec.cs
- ImageClickEventArgs.cs
- TypeConverter.cs
- LinkAreaEditor.cs
- LinkedResourceCollection.cs
- GatewayDefinition.cs
- InkCollectionBehavior.cs
- Dispatcher.cs
- RegexRunner.cs
- Hash.cs
- DescendantBaseQuery.cs
- UserMapPath.cs
- Semaphore.cs
- HtmlButton.cs
- Relationship.cs
- CrossSiteScriptingValidation.cs
- _ListenerRequestStream.cs
- Int32EqualityComparer.cs
- XmlnsDictionary.cs
- ReadOnlyDataSource.cs
- InvalidDataException.cs
- isolationinterop.cs
- MediaElementAutomationPeer.cs
- BitmapCodecInfo.cs
- ItemsControl.cs
- HtmlInputReset.cs
- ObjectDataSourceDisposingEventArgs.cs
- InputScopeConverter.cs
- AttachmentCollection.cs
- EventData.cs
- WebPartConnectionsCancelVerb.cs
- WorkflowTransactionOptions.cs
- RangeContentEnumerator.cs
- NumberSubstitution.cs
- _BaseOverlappedAsyncResult.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EncryptedType.cs
- XmlCompatibilityReader.cs
- JsonReader.cs
- DesignerVerbCollection.cs
- Vertex.cs
- wmiprovider.cs
- OutKeywords.cs
- ClientSponsor.cs
- SingleTagSectionHandler.cs
- Timeline.cs
- LogStream.cs
- PointCollection.cs
- AlgoModule.cs
- Wrapper.cs
- ListBox.cs
- PackWebRequest.cs
- ViewGenerator.cs
- DataControlExtensions.cs
- GridViewCancelEditEventArgs.cs
- _ContextAwareResult.cs
- BinHexEncoder.cs
- ListBindingHelper.cs
- DetailsViewUpdateEventArgs.cs
- DrawListViewItemEventArgs.cs
- Font.cs
- ProfileGroupSettings.cs
- ServiceControllerDesigner.cs
- MachineKeySection.cs
- DesignerSerializationVisibilityAttribute.cs
- Context.cs
- GridItem.cs
- SecurityDocument.cs
- DomainConstraint.cs
- PagerSettings.cs
- Line.cs
- SocketAddress.cs
- RestClientProxyHandler.cs
- ObjectHelper.cs
- OrderedDictionaryStateHelper.cs
- Journal.cs
- TransactionProtocolConverter.cs
- login.cs
- ConditionalAttribute.cs
- KeyNotFoundException.cs
- WebPartZoneDesigner.cs
- OdbcParameter.cs
- JapaneseCalendar.cs
- ChannelServices.cs