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
- IDispatchConstantAttribute.cs
- CultureInfoConverter.cs
- ToolStripDropDownButton.cs
- SqlInternalConnectionTds.cs
- RegexRunnerFactory.cs
- DisplayInformation.cs
- SystemDiagnosticsSection.cs
- TextRangeEditTables.cs
- LogicalExpr.cs
- CSharpCodeProvider.cs
- DataGridViewComboBoxCell.cs
- GenerateTemporaryTargetAssembly.cs
- safelink.cs
- StringExpressionSet.cs
- MDIWindowDialog.cs
- TraceAsyncResult.cs
- ToolStripContextMenu.cs
- EventWaitHandleSecurity.cs
- FloatAverageAggregationOperator.cs
- BitmapCodecInfo.cs
- PropagatorResult.cs
- FixedSchema.cs
- CoTaskMemUnicodeSafeHandle.cs
- DocumentPageTextView.cs
- UIHelper.cs
- XPathAncestorIterator.cs
- ResolveNameEventArgs.cs
- ConfigXmlElement.cs
- TypeKeyValue.cs
- OperationInvokerTrace.cs
- TransactionScopeDesigner.cs
- InheritablePropertyChangeInfo.cs
- DiagnosticStrings.cs
- WorkflowRuntimeServiceElementCollection.cs
- SelfIssuedSamlTokenFactory.cs
- glyphs.cs
- IDReferencePropertyAttribute.cs
- FirewallWrapper.cs
- RectKeyFrameCollection.cs
- CompiledQueryCacheKey.cs
- Guid.cs
- AnnotationComponentManager.cs
- NonVisualControlAttribute.cs
- CryptoApi.cs
- DataSourceExpression.cs
- PostBackTrigger.cs
- WebPageTraceListener.cs
- MetadataCache.cs
- SharedConnectionInfo.cs
- DiscoveryClientChannelFactory.cs
- AudioLevelUpdatedEventArgs.cs
- TreeSet.cs
- MethodRental.cs
- XPathBinder.cs
- HttpRuntimeSection.cs
- StreamSecurityUpgradeAcceptor.cs
- ExpressionParser.cs
- BCLDebug.cs
- QilPatternFactory.cs
- BaseCodeDomTreeGenerator.cs
- NameTable.cs
- DataSetFieldSchema.cs
- TemplateField.cs
- Socket.cs
- WebEncodingValidator.cs
- CredentialCache.cs
- Barrier.cs
- ScopedKnownTypes.cs
- TextElementEnumerator.cs
- ITreeGenerator.cs
- Expander.cs
- FileInfo.cs
- BamlRecordHelper.cs
- Int32AnimationUsingKeyFrames.cs
- PeerToPeerException.cs
- ListViewEditEventArgs.cs
- DataGridViewAdvancedBorderStyle.cs
- LocalIdKeyIdentifierClause.cs
- StorageInfo.cs
- DataDesignUtil.cs
- Stylesheet.cs
- XPathMultyIterator.cs
- HtmlInputReset.cs
- ImportCatalogPart.cs
- sqlser.cs
- Ops.cs
- MapPathBasedVirtualPathProvider.cs
- DataSourceListEditor.cs
- ErrorTableItemStyle.cs
- OrderedDictionaryStateHelper.cs
- ByteAnimationBase.cs
- MouseBinding.cs
- NetworkInformationException.cs
- ListBox.cs
- AVElementHelper.cs
- UndirectedGraph.cs
- DateTimeOffset.cs
- FunctionCommandText.cs
- GridViewDeletedEventArgs.cs
- MsdtcWrapper.cs