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
- UpdatePanel.cs
- GridItem.cs
- UnsafeNativeMethodsCLR.cs
- RepeatButtonAutomationPeer.cs
- loginstatus.cs
- PrintEvent.cs
- TypedReference.cs
- XpsImage.cs
- MultiTouchSystemGestureLogic.cs
- MethodExpr.cs
- XhtmlConformanceSection.cs
- _Rfc2616CacheValidators.cs
- WsdlHelpGeneratorElement.cs
- ScalarRestriction.cs
- IdentityReference.cs
- ConfigXmlWhitespace.cs
- PageAsyncTask.cs
- DataSourceViewSchemaConverter.cs
- EventTrigger.cs
- InheritanceAttribute.cs
- WorkflowInstanceAbortedRecord.cs
- IsolatedStorageFilePermission.cs
- ChtmlImageAdapter.cs
- WindowsPrincipal.cs
- RegexCharClass.cs
- RoleGroup.cs
- ApplyImportsAction.cs
- ListViewEditEventArgs.cs
- List.cs
- SyndicationDeserializer.cs
- CompositeScriptReferenceEventArgs.cs
- CoreSwitches.cs
- ObjectDataSourceStatusEventArgs.cs
- AllMembershipCondition.cs
- ArrayList.cs
- RectAnimationUsingKeyFrames.cs
- Font.cs
- TableRowCollection.cs
- EventLogEntryCollection.cs
- ResourceIDHelper.cs
- DynamicDataExtensions.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TextServicesDisplayAttributePropertyRanges.cs
- VolatileEnlistmentState.cs
- _DisconnectOverlappedAsyncResult.cs
- DbConnectionOptions.cs
- SchemaElementLookUpTable.cs
- WindowsAuthenticationEventArgs.cs
- InfocardClientCredentials.cs
- UnsafeNativeMethods.cs
- CharacterBuffer.cs
- CodeAttributeArgument.cs
- BoundingRectTracker.cs
- ManifestResourceInfo.cs
- Stylesheet.cs
- UserNameSecurityToken.cs
- ThemeDirectoryCompiler.cs
- XmlSchemaAttribute.cs
- mediapermission.cs
- ResolvedKeyFrameEntry.cs
- WebDescriptionAttribute.cs
- TreeView.cs
- SafeEventHandle.cs
- OrderingExpression.cs
- DynamicActionMessageFilter.cs
- TypeElementCollection.cs
- BooleanSwitch.cs
- Int32CAMarshaler.cs
- LinqDataSourceView.cs
- PolicyChain.cs
- SymbolUsageManager.cs
- XmlObjectSerializerWriteContext.cs
- SoapExtensionTypeElement.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- XmlWellformedWriter.cs
- ImageAttributes.cs
- DoubleAnimationClockResource.cs
- HuffModule.cs
- IdleTimeoutMonitor.cs
- EventMappingSettingsCollection.cs
- ConstructorNeedsTagAttribute.cs
- InvalidAsynchronousStateException.cs
- XmlILStorageConverter.cs
- XmlEncodedRawTextWriter.cs
- ChannelManagerService.cs
- SessionEndedEventArgs.cs
- HtmlDocument.cs
- CodeExpressionStatement.cs
- LogConverter.cs
- filewebrequest.cs
- FormsAuthenticationUser.cs
- CallSiteBinder.cs
- SynchronizingStream.cs
- ExecutionContext.cs
- QueryOutputWriter.cs
- SqlConnectionManager.cs
- SessionStateUtil.cs
- AxisAngleRotation3D.cs
- HttpResponseInternalWrapper.cs
- SecurityManager.cs