Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XmlExpressionDumper.cs
- AppSecurityManager.cs
- SerialStream.cs
- TypeDescriptionProviderAttribute.cs
- RotateTransform3D.cs
- SiteMapNodeItemEventArgs.cs
- SqlBulkCopyColumnMapping.cs
- ApplicationSettingsBase.cs
- ObjectSet.cs
- OutOfMemoryException.cs
- MultiPropertyDescriptorGridEntry.cs
- Ipv6Element.cs
- GridItemProviderWrapper.cs
- FloaterBaseParaClient.cs
- NewArray.cs
- Directory.cs
- EntityDataSourceViewSchema.cs
- ObjectCacheSettings.cs
- AttributeUsageAttribute.cs
- AbsoluteQuery.cs
- CustomAttributeFormatException.cs
- AssemblyCache.cs
- VisualTreeFlattener.cs
- FieldValue.cs
- CacheEntry.cs
- EntryWrittenEventArgs.cs
- DataBoundControl.cs
- ListViewDesigner.cs
- CompoundFileStreamReference.cs
- ConnectionInterfaceCollection.cs
- PartEditor.cs
- KeyboardNavigation.cs
- DataViewManagerListItemTypeDescriptor.cs
- TemplateInstanceAttribute.cs
- DesignerSerializationOptionsAttribute.cs
- TracedNativeMethods.cs
- IdentityHolder.cs
- EncryptedHeader.cs
- DataGridViewComboBoxCell.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- QueryStringParameter.cs
- MonitoringDescriptionAttribute.cs
- LabelLiteral.cs
- TableDetailsRow.cs
- EditableTreeList.cs
- OleDbCommand.cs
- NegationPusher.cs
- ReadOnlyTernaryTree.cs
- XmlHelper.cs
- ObjectConverter.cs
- LinqToSqlWrapper.cs
- MemoryPressure.cs
- CatalogPartChrome.cs
- QilFunction.cs
- ViewCellRelation.cs
- DropTarget.cs
- BatchParser.cs
- SamlAuthorizationDecisionClaimResource.cs
- SettingsPropertyIsReadOnlyException.cs
- CompoundFileStorageReference.cs
- ConnectionStringSettingsCollection.cs
- HiddenField.cs
- StreamInfo.cs
- InputLanguageProfileNotifySink.cs
- DurationConverter.cs
- ObjectViewFactory.cs
- ToolboxDataAttribute.cs
- BufferedWebEventProvider.cs
- SimpleFieldTemplateUserControl.cs
- ParallelRangeManager.cs
- ADConnectionHelper.cs
- ButtonBase.cs
- ColorMatrix.cs
- OSFeature.cs
- ExpressionHelper.cs
- DataObject.cs
- TextShapeableCharacters.cs
- HttpCapabilitiesSectionHandler.cs
- SimpleLine.cs
- InputProviderSite.cs
- ExpressionVisitor.cs
- DataGridViewToolTip.cs
- PageThemeBuildProvider.cs
- WithParamAction.cs
- XmlWellformedWriter.cs
- LayoutEvent.cs
- RijndaelManagedTransform.cs
- TextBoxBase.cs
- DataColumn.cs
- XmlConvert.cs
- AssemblyCache.cs
- ServicePrincipalNameElement.cs
- MemoryFailPoint.cs
- MetadataArtifactLoaderResource.cs
- MaterialCollection.cs
- Input.cs
- MultipartIdentifier.cs
- DictionaryBase.cs
- IItemProperties.cs
- OdbcParameterCollection.cs