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
- CheckPair.cs
- DelegatingTypeDescriptionProvider.cs
- RMEnrollmentPage1.cs
- SourceFileBuildProvider.cs
- UnsafeNativeMethods.cs
- RadioButton.cs
- CodeBlockBuilder.cs
- XPathNodeInfoAtom.cs
- MinMaxParagraphWidth.cs
- XmlBufferReader.cs
- WebPartDesigner.cs
- ToolStripDropDownButton.cs
- HostVisual.cs
- SchemaCollectionCompiler.cs
- GeometryDrawing.cs
- SerializationHelper.cs
- LinkDesigner.cs
- DataGridColumnCollection.cs
- StringComparer.cs
- EntityDataSourceContextCreatedEventArgs.cs
- cryptoapiTransform.cs
- ContextMenu.cs
- NonPrimarySelectionGlyph.cs
- TagPrefixInfo.cs
- PenThreadPool.cs
- RowCache.cs
- FormClosedEvent.cs
- MultiByteCodec.cs
- CharUnicodeInfo.cs
- AvTraceDetails.cs
- BindingNavigatorDesigner.cs
- DBCSCodePageEncoding.cs
- Cursor.cs
- InfoCardUIAgent.cs
- CategoryNameCollection.cs
- RemoteWebConfigurationHost.cs
- DecimalFormatter.cs
- SafeEventLogWriteHandle.cs
- ILGenerator.cs
- QilInvokeLateBound.cs
- DbQueryCommandTree.cs
- Vector3DIndependentAnimationStorage.cs
- EmbossBitmapEffect.cs
- AnnouncementEndpoint.cs
- AssemblyHash.cs
- GeometryDrawing.cs
- SelectionEditingBehavior.cs
- DbProviderFactoriesConfigurationHandler.cs
- SegmentInfo.cs
- SystemIPGlobalStatistics.cs
- DefaultDiscoveryServiceExtension.cs
- TextTreeNode.cs
- StringFreezingAttribute.cs
- CriticalHandle.cs
- CompiledRegexRunner.cs
- BinaryFormatter.cs
- Regex.cs
- DataQuery.cs
- RestHandlerFactory.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ToolStripOverflow.cs
- SapiAttributeParser.cs
- Polyline.cs
- ListViewUpdateEventArgs.cs
- ConfigXmlElement.cs
- Pen.cs
- BufferedWebEventProvider.cs
- StylusPlugInCollection.cs
- PolicyLevel.cs
- SspiNegotiationTokenProviderState.cs
- GridItemPatternIdentifiers.cs
- ZoneMembershipCondition.cs
- FlowDocumentReaderAutomationPeer.cs
- HttpContext.cs
- TabControlCancelEvent.cs
- NodeFunctions.cs
- DiagnosticTrace.cs
- MsmqIntegrationElement.cs
- DictionaryBase.cs
- ImageButton.cs
- EdmRelationshipRoleAttribute.cs
- StylusPointPropertyInfo.cs
- CollectionViewGroup.cs
- _ContextAwareResult.cs
- ItemDragEvent.cs
- ContainerCodeDomSerializer.cs
- SignedInfo.cs
- TypeDescriptionProvider.cs
- BaseValidator.cs
- AddingNewEventArgs.cs
- Clipboard.cs
- LeafCellTreeNode.cs
- Int64Animation.cs
- BuildResult.cs
- XsdBuilder.cs
- X509SecurityTokenProvider.cs
- DataContractSerializer.cs
- StopRoutingHandler.cs
- System.Data_BID.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs