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
- MissingManifestResourceException.cs
- _LazyAsyncResult.cs
- EncodingInfo.cs
- FormatConvertedBitmap.cs
- PasswordRecoveryAutoFormat.cs
- ScriptBehaviorDescriptor.cs
- NullableFloatAverageAggregationOperator.cs
- smtpconnection.cs
- ListItemDetailViewAttribute.cs
- CheckPair.cs
- ByteAnimation.cs
- WebPartCollection.cs
- XmlLangPropertyAttribute.cs
- PersonalizationProviderCollection.cs
- IChannel.cs
- PlacementWorkspace.cs
- DBNull.cs
- TemplateControl.cs
- SecurityTraceRecordHelper.cs
- TableCell.cs
- TextProviderWrapper.cs
- ViewGenerator.cs
- TextPointer.cs
- MediaTimeline.cs
- FixedSOMLineRanges.cs
- ParameterReplacerVisitor.cs
- EventLogEntryCollection.cs
- ObjectRef.cs
- SoapParser.cs
- AbandonedMutexException.cs
- VsPropertyGrid.cs
- ValidationRule.cs
- NumericUpDown.cs
- DeclaredTypeValidatorAttribute.cs
- ContextMenuService.cs
- DataObjectFieldAttribute.cs
- TileBrush.cs
- CharKeyFrameCollection.cs
- XmlDocumentSchema.cs
- ServiceNameCollection.cs
- CheckableControlBaseAdapter.cs
- WindowsPen.cs
- AssociationSet.cs
- LocalizableResourceBuilder.cs
- MouseActionValueSerializer.cs
- SemanticResolver.cs
- RelatedCurrencyManager.cs
- GetPageNumberCompletedEventArgs.cs
- InstanceData.cs
- ServiceObjectContainer.cs
- MachineKeySection.cs
- FlowDocumentPage.cs
- CustomErrorsSection.cs
- MarkupExtensionParser.cs
- ComplexTypeEmitter.cs
- OptimalBreakSession.cs
- SoapExtensionTypeElement.cs
- XmlDigitalSignatureProcessor.cs
- SafeRightsManagementSessionHandle.cs
- XPathExpr.cs
- UInt32Storage.cs
- Menu.cs
- DataGridTextBox.cs
- XmlSchemaIdentityConstraint.cs
- SecurityTraceRecordHelper.cs
- NGCSerializer.cs
- HelloOperationAsyncResult.cs
- CommonDialog.cs
- GetPageNumberCompletedEventArgs.cs
- ListItemsPage.cs
- SiteMapNode.cs
- InvokeMethodDesigner.xaml.cs
- SqlRowUpdatingEvent.cs
- SelectionRange.cs
- LinkedList.cs
- CapabilitiesPattern.cs
- SqlParameterizer.cs
- DataContractSerializerSection.cs
- BaseParagraph.cs
- OrderingInfo.cs
- DNS.cs
- ViewManagerAttribute.cs
- OptimalTextSource.cs
- GridViewEditEventArgs.cs
- UserControlParser.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- WorkflowTransactionOptions.cs
- GridPatternIdentifiers.cs
- XmlDataSource.cs
- AdornedElementPlaceholder.cs
- SqlVisitor.cs
- SiteMapPath.cs
- StatusBarDrawItemEvent.cs
- SecureUICommand.cs
- IssuanceLicense.cs
- NameScopePropertyAttribute.cs
- Underline.cs
- TextTreeUndo.cs
- CompoundFileDeflateTransform.cs
- ManualResetEvent.cs