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
- Color.cs
- ColumnCollection.cs
- EncodingDataItem.cs
- RTTypeWrapper.cs
- ConsoleEntryPoint.cs
- Tag.cs
- MimeBasePart.cs
- SiteMapDataSourceView.cs
- TypeSemantics.cs
- RequestCachePolicyConverter.cs
- XPathCompiler.cs
- BuildTopDownAttribute.cs
- SpeechAudioFormatInfo.cs
- ExtentJoinTreeNode.cs
- HttpCookie.cs
- HtmlWindow.cs
- METAHEADER.cs
- Base64Stream.cs
- _LocalDataStore.cs
- EntryIndex.cs
- FamilyMapCollection.cs
- FontCollection.cs
- MatrixCamera.cs
- DesignerTextBoxAdapter.cs
- HostedAspNetEnvironment.cs
- WebPartCatalogCloseVerb.cs
- Preprocessor.cs
- WebCategoryAttribute.cs
- ContainerSelectorActiveEvent.cs
- HTMLTagNameToTypeMapper.cs
- TreeSet.cs
- AsyncOperation.cs
- BrowserCapabilitiesCodeGenerator.cs
- WorkflowServiceBehavior.cs
- RotateTransform3D.cs
- TextBoxBase.cs
- ReaderWriterLock.cs
- WindowsPen.cs
- ThreadStartException.cs
- XmlHierarchicalDataSourceView.cs
- DataRelation.cs
- AnnotationResourceChangedEventArgs.cs
- Vector3DCollectionValueSerializer.cs
- ColumnMapVisitor.cs
- BitmapScalingModeValidation.cs
- BaseTemplateBuildProvider.cs
- RelationshipFixer.cs
- DataGridTablesFactory.cs
- Point3DCollectionConverter.cs
- InvalidProgramException.cs
- ProfilePropertySettingsCollection.cs
- VirtualPathUtility.cs
- ContextBase.cs
- ListView.cs
- LicenseManager.cs
- ExpressionNode.cs
- WebUtil.cs
- XsdBuildProvider.cs
- InternalPolicyElement.cs
- XmlUtf8RawTextWriter.cs
- SelectorItemAutomationPeer.cs
- FlowNode.cs
- TextEditorMouse.cs
- DirectoryRootQuery.cs
- DbConnectionPoolCounters.cs
- EmptyStringExpandableObjectConverter.cs
- TextEmbeddedObject.cs
- AuthenticationModuleElement.cs
- RadioButtonFlatAdapter.cs
- ValuePatternIdentifiers.cs
- CornerRadius.cs
- DashStyles.cs
- ThousandthOfEmRealDoubles.cs
- SafeUserTokenHandle.cs
- Win32.cs
- ResourceExpressionBuilder.cs
- GridViewHeaderRowPresenter.cs
- WindowShowOrOpenTracker.cs
- mediaclock.cs
- TrackingDataItemValue.cs
- BigInt.cs
- SecureEnvironment.cs
- TextTreeTextNode.cs
- FixUpCollection.cs
- InfoCardCryptoHelper.cs
- ArraySegment.cs
- TreeNodeCollection.cs
- BindingBase.cs
- CancelEventArgs.cs
- XsltSettings.cs
- XmlIgnoreAttribute.cs
- DataReceivedEventArgs.cs
- CommentEmitter.cs
- UseLicense.cs
- XPathParser.cs
- SchemaTableOptionalColumn.cs
- CustomValidator.cs
- EventsTab.cs
- DataControlExtensions.cs
- CompiledQueryCacheEntry.cs