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
- XsdValidatingReader.cs
- Rect3DValueSerializer.cs
- XPathNode.cs
- connectionpool.cs
- SqlCacheDependencySection.cs
- WebBaseEventKeyComparer.cs
- Int16Animation.cs
- Funcletizer.cs
- WMIGenerator.cs
- EntityDataSourceDataSelection.cs
- BindingCompleteEventArgs.cs
- MatrixKeyFrameCollection.cs
- StylusButtonEventArgs.cs
- EpmCustomContentDeSerializer.cs
- DrawingAttributes.cs
- SemanticBasicElement.cs
- StateChangeEvent.cs
- WebPartConnection.cs
- FileEnumerator.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- GetReadStreamResult.cs
- SystemMulticastIPAddressInformation.cs
- UserControl.cs
- SerializationAttributes.cs
- ExplicitDiscriminatorMap.cs
- OptimisticConcurrencyException.cs
- CachedBitmap.cs
- SecurityVersion.cs
- JsonReaderDelegator.cs
- WebProxyScriptElement.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- XmlLanguageConverter.cs
- Grant.cs
- ColorConverter.cs
- ImpersonateTokenRef.cs
- ElementMarkupObject.cs
- JulianCalendar.cs
- TableParagraph.cs
- SqlXml.cs
- XmlConvert.cs
- TextContainer.cs
- DesignerLoader.cs
- SafeThemeHandle.cs
- CompositeCollectionView.cs
- OpacityConverter.cs
- ZipIOBlockManager.cs
- SqlBulkCopy.cs
- ProviderUtil.cs
- DataGridTable.cs
- DefaultBindingPropertyAttribute.cs
- InternalPolicyElement.cs
- InstancePersistenceCommandException.cs
- StreamUpgradeAcceptor.cs
- SqlFunctions.cs
- DrawingVisual.cs
- Comparer.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- CommandValueSerializer.cs
- ToolStripItem.cs
- ObjectStorage.cs
- SqlException.cs
- DbSetClause.cs
- EdmTypeAttribute.cs
- MediaCommands.cs
- CheckPair.cs
- _NetRes.cs
- FontCollection.cs
- FamilyTypefaceCollection.cs
- SqlDataSourceStatusEventArgs.cs
- SemaphoreSecurity.cs
- XmlSiteMapProvider.cs
- ExportOptions.cs
- TemplateKey.cs
- PassportAuthentication.cs
- TimeSpanStorage.cs
- ContextBase.cs
- PageTheme.cs
- HtmlInputReset.cs
- DllNotFoundException.cs
- MemberDomainMap.cs
- TextElementEnumerator.cs
- BindingManagerDataErrorEventArgs.cs
- Color.cs
- KeysConverter.cs
- OleDbReferenceCollection.cs
- ErrorFormatter.cs
- UIHelper.cs
- UserInitiatedNavigationPermission.cs
- Timer.cs
- Selection.cs
- OLEDB_Enum.cs
- HttpChannelFactory.cs
- SortQuery.cs
- InternalPolicyElement.cs
- DataSourceView.cs
- CatalogZoneBase.cs
- RoutedEventValueSerializer.cs
- IERequestCache.cs
- ClientProxyGenerator.cs
- BitmapDownload.cs