Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- TextDecoration.cs
- BinaryUtilClasses.cs
- TreeNodeCollection.cs
- BulletChrome.cs
- Classification.cs
- SectionXmlInfo.cs
- TemplateBindingExpression.cs
- StateDesignerConnector.cs
- Brush.cs
- CharacterMetrics.cs
- HtmlInputFile.cs
- UrlMappingsSection.cs
- SqlWebEventProvider.cs
- LocalizabilityAttribute.cs
- SingleStorage.cs
- MarginsConverter.cs
- datacache.cs
- AccessDataSource.cs
- SoapSchemaExporter.cs
- InternalConfigConfigurationFactory.cs
- BatchParser.cs
- ExpandableObjectConverter.cs
- AxisAngleRotation3D.cs
- LineVisual.cs
- SafeLibraryHandle.cs
- ToolStripStatusLabel.cs
- ComEventsInfo.cs
- HttpRawResponse.cs
- StylusPlugInCollection.cs
- ServicesSection.cs
- ToolStripRendererSwitcher.cs
- DoubleLinkList.cs
- ChannelProtectionRequirements.cs
- DataControlButton.cs
- Rect3D.cs
- WmpBitmapEncoder.cs
- ObjectDesignerDataSourceView.cs
- XmlSerializableServices.cs
- DataGridCellInfo.cs
- LogWriteRestartAreaState.cs
- SetterBaseCollection.cs
- VectorAnimationUsingKeyFrames.cs
- DataGridViewColumn.cs
- DataObjectEventArgs.cs
- AppendHelper.cs
- XmlSchemaObjectCollection.cs
- EventLogPermissionEntry.cs
- TaiwanLunisolarCalendar.cs
- TypedElement.cs
- XmlExpressionDumper.cs
- TrustLevelCollection.cs
- LogicalExpressionEditor.cs
- ServicePoint.cs
- ConnectionManagementElement.cs
- SystemDiagnosticsSection.cs
- TransformProviderWrapper.cs
- ResolveRequestResponseAsyncResult.cs
- PointLightBase.cs
- KeyboardNavigation.cs
- ReflectionTypeLoadException.cs
- PackageRelationship.cs
- TextDecorations.cs
- DesignerVerb.cs
- CircleHotSpot.cs
- DataGridClipboardCellContent.cs
- CodeAttributeArgumentCollection.cs
- OracleTransaction.cs
- TextRangeEditTables.cs
- DifferencingCollection.cs
- SqlConnectionManager.cs
- NotifyInputEventArgs.cs
- IApplicationTrustManager.cs
- IgnoreDeviceFilterElementCollection.cs
- PropertyTab.cs
- WebEventCodes.cs
- EventWaitHandle.cs
- Rotation3DAnimationBase.cs
- HostingEnvironmentWrapper.cs
- PasswordDeriveBytes.cs
- COAUTHIDENTITY.cs
- DocumentXPathNavigator.cs
- DataGridViewSelectedColumnCollection.cs
- RoleManagerModule.cs
- ButtonChrome.cs
- SafeLocalAllocation.cs
- sortedlist.cs
- SqlStatistics.cs
- PageBreakRecord.cs
- SafePipeHandle.cs
- Matrix.cs
- Sorting.cs
- GeneratedView.cs
- WindowsTokenRoleProvider.cs
- UnauthorizedWebPart.cs
- _WinHttpWebProxyDataBuilder.cs
- SimpleWorkerRequest.cs
- DataGridViewRowsRemovedEventArgs.cs
- MarkupProperty.cs
- OneToOneMappingSerializer.cs
- TableHeaderCell.cs