Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / RelationshipSet.cs / 1305376 / RelationshipSet.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- RegexCode.cs
- DBCSCodePageEncoding.cs
- Comparer.cs
- ErasingStroke.cs
- SignedXml.cs
- EntityTypeBase.cs
- EntitySqlException.cs
- FontSource.cs
- ToolStripContentPanel.cs
- XmlUtil.cs
- TypographyProperties.cs
- ObjectDataSourceChooseMethodsPanel.cs
- WebPartHeaderCloseVerb.cs
- webproxy.cs
- TextElement.cs
- DesignerHelpers.cs
- DetailsViewRowCollection.cs
- QueuePropertyVariants.cs
- ProviderSettingsCollection.cs
- JournalEntryStack.cs
- XsltCompileContext.cs
- ResolveNameEventArgs.cs
- RequestCachePolicy.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- Message.cs
- ClonableStack.cs
- ExecutorLocksHeldException.cs
- DataColumnCollection.cs
- MapPathBasedVirtualPathProvider.cs
- CustomErrorCollection.cs
- _Connection.cs
- DbConnectionPool.cs
- AxisAngleRotation3D.cs
- PathFigure.cs
- Trustee.cs
- XmlChildEnumerator.cs
- FindRequestContext.cs
- DrawingGroup.cs
- XmlSchemaInfo.cs
- Decimal.cs
- XComponentModel.cs
- Switch.cs
- Byte.cs
- CheckBoxPopupAdapter.cs
- TogglePattern.cs
- DetailsView.cs
- StaticTextPointer.cs
- OpCellTreeNode.cs
- DoubleKeyFrameCollection.cs
- ListBindingHelper.cs
- DataGridViewRow.cs
- XmlParser.cs
- DrawingBrush.cs
- ArrayTypeMismatchException.cs
- SplitterDesigner.cs
- FormView.cs
- QilTypeChecker.cs
- PenThread.cs
- SerializerDescriptor.cs
- PeerNameRecord.cs
- CodeExpressionStatement.cs
- FixedSOMPageConstructor.cs
- PersistenceException.cs
- CodeTypeReferenceCollection.cs
- NameService.cs
- ToolStripSeparatorRenderEventArgs.cs
- VolatileEnlistmentMultiplexing.cs
- ColumnMapProcessor.cs
- RemotingAttributes.cs
- SimpleFieldTemplateUserControl.cs
- StreamSecurityUpgradeAcceptorBase.cs
- BidPrivateBase.cs
- XmlSortKeyAccumulator.cs
- ServiceModelConfigurationElementCollection.cs
- TableCellsCollectionEditor.cs
- FactoryMaker.cs
- _Semaphore.cs
- TextFormatterHost.cs
- XmlUtilWriter.cs
- EasingQuaternionKeyFrame.cs
- ExtendedProtectionPolicyTypeConverter.cs
- Timeline.cs
- _TransmitFileOverlappedAsyncResult.cs
- LifetimeServices.cs
- COM2Properties.cs
- WebRequest.cs
- FrameworkElement.cs
- BindingMAnagerBase.cs
- HebrewCalendar.cs
- _NestedSingleAsyncResult.cs
- DataKey.cs
- SafeThemeHandle.cs
- SQLUtility.cs
- FormViewInsertedEventArgs.cs
- DropShadowBitmapEffect.cs
- ValidationSummary.cs
- sapiproxy.cs
- DirectionalLight.cs
- AnnotationHighlightLayer.cs
- SpecialFolderEnumConverter.cs