Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SendMailErrorEventArgs.cs
- FormatConvertedBitmap.cs
- FilteredReadOnlyMetadataCollection.cs
- PrintDocument.cs
- LoginCancelEventArgs.cs
- WebPartAuthorizationEventArgs.cs
- ImageDrawing.cs
- DataFormats.cs
- SqlServer2KCompatibilityAnnotation.cs
- UidPropertyAttribute.cs
- XPathDocumentIterator.cs
- SiteMapSection.cs
- TableRow.cs
- ExpressionDumper.cs
- StringPropertyBuilder.cs
- DeferredBinaryDeserializerExtension.cs
- HtmlInputControl.cs
- BuildTopDownAttribute.cs
- PropertyToken.cs
- InfiniteIntConverter.cs
- DeviceContext.cs
- PenThread.cs
- TitleStyle.cs
- PersianCalendar.cs
- DataServiceStreamProviderWrapper.cs
- UserNameServiceElement.cs
- AsyncResult.cs
- CollectionTraceRecord.cs
- LineVisual.cs
- ObjectDataSourceChooseTypePanel.cs
- _NestedMultipleAsyncResult.cs
- WinFormsUtils.cs
- JournalNavigationScope.cs
- BooleanExpr.cs
- XPathItem.cs
- WebContext.cs
- RowVisual.cs
- PointAnimationClockResource.cs
- TextSchema.cs
- __TransparentProxy.cs
- MissingMethodException.cs
- UpdateRecord.cs
- AccessibleObject.cs
- __Error.cs
- EventRecordWrittenEventArgs.cs
- ValidatedControlConverter.cs
- TakeOrSkipWhileQueryOperator.cs
- DataGridRowHeaderAutomationPeer.cs
- DoubleLinkList.cs
- BypassElement.cs
- Single.cs
- RelationshipFixer.cs
- XslUrlEditor.cs
- XmlArrayAttribute.cs
- Soap.cs
- DecimalAnimation.cs
- PolicyStatement.cs
- TreeNodeCollectionEditor.cs
- Vector3D.cs
- TreeNodeCollection.cs
- MessageCredentialType.cs
- HierarchicalDataBoundControlAdapter.cs
- XmlCharCheckingWriter.cs
- XmlSchemaCompilationSettings.cs
- HandleExceptionArgs.cs
- RuleElement.cs
- ClientScriptManager.cs
- PagePropertiesChangingEventArgs.cs
- OperationDescriptionCollection.cs
- UntrustedRecipientException.cs
- DbParameterHelper.cs
- CollectionViewGroupInternal.cs
- WebBaseEventKeyComparer.cs
- WebPartMovingEventArgs.cs
- ServiceBehaviorElement.cs
- log.cs
- ActivityStatusChangeEventArgs.cs
- EpmContentDeSerializerBase.cs
- Merger.cs
- CompositeDesignerAccessibleObject.cs
- RegionInfo.cs
- Scene3D.cs
- AssemblyAssociatedContentFileAttribute.cs
- WebPartZoneCollection.cs
- WindowsStreamSecurityElement.cs
- SizeChangedInfo.cs
- RangeValuePatternIdentifiers.cs
- TextOptionsInternal.cs
- EdmEntityTypeAttribute.cs
- XslCompiledTransform.cs
- AtomicFile.cs
- SecurityManager.cs
- NullReferenceException.cs
- DbDataAdapter.cs
- DynamicValueConverter.cs
- DataTableReader.cs
- FillRuleValidation.cs
- TypeBuilder.cs
- QilInvoke.cs
- ReferentialConstraint.cs