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
- GridLengthConverter.cs
- FileSystemEventArgs.cs
- Content.cs
- DataGridItemCollection.cs
- PermissionAttributes.cs
- SessionIDManager.cs
- FixedSOMImage.cs
- ObservableCollection.cs
- DragCompletedEventArgs.cs
- ReflectEventDescriptor.cs
- QilVisitor.cs
- _CommandStream.cs
- OdbcConnectionFactory.cs
- StrokeRenderer.cs
- MessageSmuggler.cs
- DataGridViewHeaderCell.cs
- cookiecollection.cs
- PermissionToken.cs
- TypeUtils.cs
- ByteStreamMessageEncoder.cs
- EntityDataSourceWrapperCollection.cs
- Listbox.cs
- SystemColors.cs
- Content.cs
- Type.cs
- IPPacketInformation.cs
- WindowInteractionStateTracker.cs
- MarshalByValueComponent.cs
- SchemaName.cs
- AuthenticationManager.cs
- SoapEnvelopeProcessingElement.cs
- EventsTab.cs
- MatrixTransform.cs
- PanelContainerDesigner.cs
- SqlDataSourceEnumerator.cs
- CorePropertiesFilter.cs
- WindowsIdentity.cs
- DictionaryItemsCollection.cs
- DocComment.cs
- AuthStoreRoleProvider.cs
- TextDecorationLocationValidation.cs
- EmbeddedMailObjectsCollection.cs
- NativeMethods.cs
- XmlSchemaDocumentation.cs
- Win32.cs
- ArraySortHelper.cs
- HMACRIPEMD160.cs
- Vector3dCollection.cs
- CustomErrorsSectionWrapper.cs
- XmlSchemas.cs
- WindowsContainer.cs
- XmlSubtreeReader.cs
- Range.cs
- XmlSerializerAssemblyAttribute.cs
- PathFigureCollectionValueSerializer.cs
- BulletChrome.cs
- FileRecordSequenceHelper.cs
- OdbcHandle.cs
- HashCryptoHandle.cs
- IISUnsafeMethods.cs
- WebEventTraceProvider.cs
- ParameterModifier.cs
- FilteredAttributeCollection.cs
- BufferedStream2.cs
- DateTimeStorage.cs
- XPathPatternBuilder.cs
- WrapPanel.cs
- SymmetricAlgorithm.cs
- Rfc2898DeriveBytes.cs
- ReferencedType.cs
- ValueOfAction.cs
- StopStoryboard.cs
- SiteMapPathDesigner.cs
- HashHelper.cs
- SessionStateContainer.cs
- OdbcFactory.cs
- ForeignKeyConstraint.cs
- DataPagerField.cs
- PointAnimationUsingKeyFrames.cs
- SplashScreenNativeMethods.cs
- ThreadPool.cs
- AttributeExtensions.cs
- ParameterCollection.cs
- NativeMethods.cs
- BmpBitmapEncoder.cs
- FormsAuthenticationUserCollection.cs
- ObjectStateManager.cs
- BaseParser.cs
- ExecutionContext.cs
- AssociationSetEnd.cs
- ProcessingInstructionAction.cs
- MailBnfHelper.cs
- HttpModuleActionCollection.cs
- QueryConverter.cs
- WebHttpBindingElement.cs
- PreservationFileReader.cs
- EventsTab.cs
- NamedPipeTransportSecurity.cs
- StretchValidation.cs
- StringValidatorAttribute.cs