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
- HttpCookieCollection.cs
- WorkflowMarkupSerializationException.cs
- XmlValueConverter.cs
- WebReferencesBuildProvider.cs
- AdRotator.cs
- StyleTypedPropertyAttribute.cs
- CookieParameter.cs
- ToolStripDropDown.cs
- SmtpFailedRecipientsException.cs
- ParseNumbers.cs
- UInt16.cs
- ViewGenerator.cs
- AlignmentYValidation.cs
- XmlSchemaDatatype.cs
- MediaElementAutomationPeer.cs
- filewebrequest.cs
- DBBindings.cs
- HostingEnvironmentSection.cs
- ProcessModule.cs
- TabControlAutomationPeer.cs
- WebGetAttribute.cs
- TextPatternIdentifiers.cs
- WebPartZone.cs
- ReadOnlyDataSourceView.cs
- SelectorAutomationPeer.cs
- XPathItem.cs
- ReadOnlyAttribute.cs
- PointAnimationBase.cs
- UInt16Storage.cs
- Point.cs
- ConfigXmlCDataSection.cs
- TypeInfo.cs
- Stacktrace.cs
- ConditionalAttribute.cs
- GiveFeedbackEvent.cs
- EdmItemCollection.OcAssemblyCache.cs
- SizeLimitedCache.cs
- SqlColumnizer.cs
- Transform.cs
- SessionState.cs
- CompositeTypefaceMetrics.cs
- StyleReferenceConverter.cs
- ForceCopyBuildProvider.cs
- DataContractSerializer.cs
- TextOptions.cs
- IxmlLineInfo.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- TypeToken.cs
- _OverlappedAsyncResult.cs
- PauseStoryboard.cs
- ParagraphResult.cs
- EndOfStreamException.cs
- VideoDrawing.cs
- NumberEdit.cs
- ToolBar.cs
- AmbientLight.cs
- ListViewUpdateEventArgs.cs
- Repeater.cs
- FixedSOMPage.cs
- XmlException.cs
- _ProxyRegBlob.cs
- ToolboxItem.cs
- ListViewItemEventArgs.cs
- ImageCodecInfo.cs
- ReferentialConstraint.cs
- LogicalMethodInfo.cs
- ImageFormatConverter.cs
- AspNetSynchronizationContext.cs
- RecognizerBase.cs
- ModelFunction.cs
- HttpListenerRequestUriBuilder.cs
- BuilderElements.cs
- FixUp.cs
- ProfileModule.cs
- TimeZone.cs
- XmlNodeComparer.cs
- RotateTransform3D.cs
- IsolatedStorage.cs
- XMLSchema.cs
- DesignerSelectionListAdapter.cs
- XmlDocument.cs
- WebBrowsableAttribute.cs
- RegistrySecurity.cs
- TransportSecurityProtocolFactory.cs
- IssuanceLicense.cs
- InstanceOwner.cs
- XmlWriterSettings.cs
- LinqDataSource.cs
- TextFormatterImp.cs
- MultiPropertyDescriptorGridEntry.cs
- WebServiceParameterData.cs
- TextEditorDragDrop.cs
- DesignTimeParseData.cs
- BamlTreeMap.cs
- PathFigure.cs
- Nodes.cs
- ClientScriptManagerWrapper.cs
- SeekStoryboard.cs
- SmtpCommands.cs
- PhysicalFontFamily.cs