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
- ExportOptions.cs
- DataBindingHandlerAttribute.cs
- XmlAttributeProperties.cs
- PcmConverter.cs
- FaultHandlingFilter.cs
- XmlQueryStaticData.cs
- WebPartTracker.cs
- ClientSettingsSection.cs
- WebUtil.cs
- EntryPointNotFoundException.cs
- PtsContext.cs
- Positioning.cs
- EditorPart.cs
- CommandManager.cs
- SecurityPolicySection.cs
- FontWeight.cs
- Latin1Encoding.cs
- StylusEventArgs.cs
- Int16AnimationUsingKeyFrames.cs
- DetailsViewCommandEventArgs.cs
- MediaPlayer.cs
- OrderedDictionaryStateHelper.cs
- PathGradientBrush.cs
- ComPlusSynchronizationContext.cs
- JoinQueryOperator.cs
- EntityDataSourceValidationException.cs
- DataGridViewAdvancedBorderStyle.cs
- FloatSumAggregationOperator.cs
- Boolean.cs
- XmlImplementation.cs
- Matrix.cs
- KnownAssembliesSet.cs
- PerfCounters.cs
- AccessDataSourceView.cs
- DataGridViewRowCollection.cs
- MsmqInputChannelListenerBase.cs
- ExtractedStateEntry.cs
- QuestionEventArgs.cs
- ProtectedConfiguration.cs
- HostVisual.cs
- DbSetClause.cs
- IntSecurity.cs
- XsltCompileContext.cs
- FrameworkRichTextComposition.cs
- ParseElement.cs
- CqlIdentifiers.cs
- WeakReference.cs
- DefaultObjectMappingItemCollection.cs
- CqlParserHelpers.cs
- StreamGeometry.cs
- PseudoWebRequest.cs
- SchemaLookupTable.cs
- XPathNavigator.cs
- SynchronizationContextHelper.cs
- InvokeMethodActivityDesigner.cs
- DbTransaction.cs
- CheckBox.cs
- Vector3D.cs
- GroupStyle.cs
- _LocalDataStore.cs
- GenericTypeParameterBuilder.cs
- CacheEntry.cs
- RtfFormatStack.cs
- KeyValueInternalCollection.cs
- HttpVersion.cs
- RequiredArgumentAttribute.cs
- RMEnrollmentPage1.cs
- JoinElimination.cs
- DataGridAddNewRow.cs
- ProfileInfo.cs
- localization.cs
- Unit.cs
- CallbackValidator.cs
- BmpBitmapDecoder.cs
- HtmlMeta.cs
- UIHelper.cs
- LinearKeyFrames.cs
- FillErrorEventArgs.cs
- MethodAccessException.cs
- CodePropertyReferenceExpression.cs
- DataStreamFromComStream.cs
- IListConverters.cs
- DataBinder.cs
- HttpConfigurationContext.cs
- RoutedEventHandlerInfo.cs
- NamedPipeConnectionPoolSettingsElement.cs
- DesignerActionGlyph.cs
- MD5.cs
- _Semaphore.cs
- TextRangeAdaptor.cs
- FacetValueContainer.cs
- XmlSchemaRedefine.cs
- GeneralTransform3DCollection.cs
- UrlMappingsSection.cs
- __FastResourceComparer.cs
- ListViewInsertEventArgs.cs
- SafeLocalMemHandle.cs
- SHA512Managed.cs
- XmlChildNodes.cs
- DataGridColumnStyleMappingNameEditor.cs