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
- SqlMethodCallConverter.cs
- ListenDesigner.cs
- ProfileWorkflowElement.cs
- RawUIStateInputReport.cs
- XmlElementAttribute.cs
- SplineKeyFrames.cs
- TransformerInfoCollection.cs
- EncryptedReference.cs
- Mappings.cs
- MsmqIntegrationBindingElement.cs
- HTMLTagNameToTypeMapper.cs
- _SSPIWrapper.cs
- EdmError.cs
- DataProviderNameConverter.cs
- XmlSchemaType.cs
- XmlDocumentFragment.cs
- MapPathBasedVirtualPathProvider.cs
- odbcmetadatafactory.cs
- sqlnorm.cs
- IUnknownConstantAttribute.cs
- DataChangedEventManager.cs
- DataReaderContainer.cs
- ConfigurationPropertyAttribute.cs
- HtmlUtf8RawTextWriter.cs
- ListChangedEventArgs.cs
- TextDecorationCollectionConverter.cs
- TdsValueSetter.cs
- EnumType.cs
- AssemblyBuilderData.cs
- RoutedCommand.cs
- RawUIStateInputReport.cs
- TextServicesContext.cs
- ConnectionStringSettings.cs
- BorderGapMaskConverter.cs
- WebPartUserCapability.cs
- DataGridCaption.cs
- RuntimeResourceSet.cs
- DataGridViewCellParsingEventArgs.cs
- SoapSchemaExporter.cs
- DataStreams.cs
- AmbientProperties.cs
- RewritingSimplifier.cs
- XmlSchemaObjectCollection.cs
- ImageMetadata.cs
- JsonCollectionDataContract.cs
- SHA1Managed.cs
- PassportAuthenticationEventArgs.cs
- CounterCreationDataCollection.cs
- PointCollectionValueSerializer.cs
- DataGridViewToolTip.cs
- StorageScalarPropertyMapping.cs
- Base64Encoder.cs
- LogArchiveSnapshot.cs
- LoginUtil.cs
- ObservableDictionary.cs
- InterleavedZipPartStream.cs
- AssociationSetEnd.cs
- NullableIntAverageAggregationOperator.cs
- SoapFormatterSinks.cs
- MD5.cs
- PeerApplicationLaunchInfo.cs
- ReflectionServiceProvider.cs
- NavigationExpr.cs
- NamespaceInfo.cs
- MultiBindingExpression.cs
- ContentFilePart.cs
- KeyGesture.cs
- pingexception.cs
- SynchronizationLockException.cs
- DiscreteKeyFrames.cs
- SetStateDesigner.cs
- PermissionListSet.cs
- XPathQueryGenerator.cs
- Stroke2.cs
- CodeDOMProvider.cs
- Cell.cs
- XmlTypeMapping.cs
- XmlDictionaryReader.cs
- GeneralTransform.cs
- DataGridItemCollection.cs
- CollectionViewSource.cs
- DataBindingList.cs
- TrustManagerMoreInformation.cs
- WebPartDescription.cs
- ClientCredentials.cs
- ItemCheckEvent.cs
- BindingsCollection.cs
- ToolStripItemCollection.cs
- CodeTypeOfExpression.cs
- DynamicFilter.cs
- DataGridItem.cs
- OptimizedTemplateContent.cs
- StylusPoint.cs
- ProgressBar.cs
- ConnectionPointCookie.cs
- OrderedHashRepartitionStream.cs
- DataObjectMethodAttribute.cs
- TypeUsage.cs
- LockedHandleGlyph.cs
- OutputCacheSettingsSection.cs