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
- SortedSetDebugView.cs
- AnnotationHighlightLayer.cs
- QueryAccessibilityHelpEvent.cs
- MarkerProperties.cs
- DynamicILGenerator.cs
- ListViewGroupConverter.cs
- StyleTypedPropertyAttribute.cs
- HtmlTableRowCollection.cs
- ButtonPopupAdapter.cs
- ErrorTableItemStyle.cs
- CodeCastExpression.cs
- AutomationPatternInfo.cs
- ComPlusDiagnosticTraceRecords.cs
- ConfigurationValidatorBase.cs
- BufferedReadStream.cs
- FileStream.cs
- SweepDirectionValidation.cs
- securitymgrsite.cs
- StringKeyFrameCollection.cs
- MasterPageParser.cs
- HtmlImage.cs
- Substitution.cs
- CommonDialog.cs
- ProvidePropertyAttribute.cs
- TokenFactoryFactory.cs
- TextSelectionHighlightLayer.cs
- StateManagedCollection.cs
- SecurityElementBase.cs
- BufferModesCollection.cs
- PenThreadWorker.cs
- ChangeInterceptorAttribute.cs
- TextPointerBase.cs
- UpdatePanelTriggerCollection.cs
- SyndicationCategory.cs
- SQLDateTime.cs
- CodeConditionStatement.cs
- IItemProperties.cs
- RolePrincipal.cs
- UIElement3D.cs
- SerializationObjectManager.cs
- Query.cs
- DataServiceException.cs
- ImageDrawing.cs
- FrameDimension.cs
- RemoveStoryboard.cs
- ObjectParameterCollection.cs
- FontEmbeddingManager.cs
- RuntimeEnvironment.cs
- LateBoundBitmapDecoder.cs
- WorkflowCompensationBehavior.cs
- DisplayInformation.cs
- WindowsImpersonationContext.cs
- TextViewDesigner.cs
- LocalizableAttribute.cs
- PositiveTimeSpanValidatorAttribute.cs
- HtmlContainerControl.cs
- WinFormsSpinner.cs
- ExceptionHandler.cs
- RenderData.cs
- StylusShape.cs
- XmlMapping.cs
- ImageSourceValueSerializer.cs
- CellRelation.cs
- AudioStateChangedEventArgs.cs
- BitmapEffect.cs
- ErrorHandlingAcceptor.cs
- StorageSetMapping.cs
- SecurityChannelListener.cs
- VerificationAttribute.cs
- NameTable.cs
- ResourceDescriptionAttribute.cs
- TransactionFilter.cs
- WebScriptEnablingBehavior.cs
- ImplicitInputBrush.cs
- QuadraticBezierSegment.cs
- TextEndOfParagraph.cs
- ObjectMaterializedEventArgs.cs
- DataObjectPastingEventArgs.cs
- ServiceThrottle.cs
- XmlDomTextWriter.cs
- ConfigurationHelpers.cs
- FrugalMap.cs
- ArraySegment.cs
- WebServicesInteroperability.cs
- HttpInputStream.cs
- DataSourceConverter.cs
- FileCodeGroup.cs
- InvalidComObjectException.cs
- EmptyControlCollection.cs
- DependencyPropertyAttribute.cs
- base64Transforms.cs
- PointUtil.cs
- BasicExpressionVisitor.cs
- ISAPIWorkerRequest.cs
- ListView.cs
- HistoryEventArgs.cs
- ListDependantCardsRequest.cs
- validationstate.cs
- NativeBuffer.cs
- PointAnimationUsingKeyFrames.cs