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
- RemotingSurrogateSelector.cs
- TransformGroup.cs
- DocumentViewerBase.cs
- ToolTipAutomationPeer.cs
- ApplicationFileCodeDomTreeGenerator.cs
- OracleInternalConnection.cs
- MeasurementDCInfo.cs
- BrushMappingModeValidation.cs
- RSAOAEPKeyExchangeFormatter.cs
- ping.cs
- PropertyReference.cs
- PropertyGrid.cs
- XmlSerializerSection.cs
- ZipIOExtraField.cs
- InlineUIContainer.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- LayoutEngine.cs
- DelegateBodyWriter.cs
- GraphicsContainer.cs
- XmlSerializableServices.cs
- DropTarget.cs
- DispatcherProcessingDisabled.cs
- ResourceSet.cs
- FixedDocumentPaginator.cs
- Inflater.cs
- TimeStampChecker.cs
- CodeNamespaceImport.cs
- ChildTable.cs
- Enum.cs
- Rectangle.cs
- PersonalizationStateQuery.cs
- OnOperation.cs
- baseaxisquery.cs
- DataListComponentEditor.cs
- PointAnimationBase.cs
- GridEntryCollection.cs
- EventProxy.cs
- ActivityTypeResolver.xaml.cs
- SliderAutomationPeer.cs
- LocalizationParserHooks.cs
- AutomationElementIdentifiers.cs
- UniqueIdentifierService.cs
- IntSecurity.cs
- DBConnection.cs
- BaseInfoTable.cs
- DotAtomReader.cs
- PackageRelationship.cs
- FixedPosition.cs
- OdbcParameter.cs
- BitmapMetadataBlob.cs
- hwndwrapper.cs
- columnmapfactory.cs
- DataGridViewComboBoxEditingControl.cs
- _OverlappedAsyncResult.cs
- CategoryNameCollection.cs
- RecordManager.cs
- TableDesigner.cs
- CacheEntry.cs
- ListViewSelectEventArgs.cs
- CharacterBuffer.cs
- InputChannelAcceptor.cs
- SafeCryptContextHandle.cs
- NgenServicingAttributes.cs
- PaintEvent.cs
- ZoomPercentageConverter.cs
- QueuePropertyVariants.cs
- MenuCommand.cs
- HwndTarget.cs
- SmtpFailedRecipientsException.cs
- CounterSampleCalculator.cs
- AutomationElementCollection.cs
- SrgsOneOf.cs
- PropertyConverter.cs
- PnrpPermission.cs
- ColorMatrix.cs
- StringArrayConverter.cs
- QuadraticBezierSegment.cs
- OptimalBreakSession.cs
- X509ChainPolicy.cs
- DataTrigger.cs
- DataGridViewMethods.cs
- CodeConditionStatement.cs
- XPathBinder.cs
- EtwTrace.cs
- ObjectDataSourceStatusEventArgs.cs
- WindowsTokenRoleProvider.cs
- ContainerSelectorBehavior.cs
- FlowLayout.cs
- SendContent.cs
- DesignerTransaction.cs
- LocalValueEnumerator.cs
- FixedTextContainer.cs
- Bitmap.cs
- IIS7UserPrincipal.cs
- DataGridItemCollection.cs
- metadatamappinghashervisitor.cs
- AuthorizationRuleCollection.cs
- OverflowException.cs
- X509RawDataKeyIdentifierClause.cs
- Property.cs