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
- DataGridViewEditingControlShowingEventArgs.cs
- EditCommandColumn.cs
- WorkflowOperationAsyncResult.cs
- DefaultSection.cs
- SqlParameter.cs
- dataprotectionpermission.cs
- CustomAttribute.cs
- SoapExtensionReflector.cs
- DateTimeOffsetConverter.cs
- CoreSwitches.cs
- ListBindingHelper.cs
- MessageBox.cs
- KeyBinding.cs
- DSACryptoServiceProvider.cs
- FixedSOMTableCell.cs
- DataGridItem.cs
- XmlILConstructAnalyzer.cs
- XmlNullResolver.cs
- DocumentCollection.cs
- QilTypeChecker.cs
- XmlSchemaAttributeGroup.cs
- Win32.cs
- Cursor.cs
- TakeQueryOptionExpression.cs
- Pointer.cs
- AnnotationHelper.cs
- ManifestResourceInfo.cs
- PageTheme.cs
- _SslSessionsCache.cs
- EasingKeyFrames.cs
- NativeCompoundFileAPIs.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlObjectSerializerReadContextComplex.cs
- SmtpClient.cs
- HelpInfo.cs
- ClientRoleProvider.cs
- DurableInstanceProvider.cs
- cookiecollection.cs
- PasswordTextContainer.cs
- Signature.cs
- TraceSwitch.cs
- SqlBuilder.cs
- CryptoStream.cs
- XamlRtfConverter.cs
- PersonalizationStateQuery.cs
- QueryOptionExpression.cs
- BaseTemplateBuildProvider.cs
- MouseButtonEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- EntityKeyElement.cs
- EditorPartCollection.cs
- HtmlEncodedRawTextWriter.cs
- CallId.cs
- MsmqInputChannelListenerBase.cs
- BevelBitmapEffect.cs
- ValueOfAction.cs
- CreateUserWizard.cs
- SortAction.cs
- WindowsToolbarAsMenu.cs
- RegexFCD.cs
- CachedRequestParams.cs
- SiteMapHierarchicalDataSourceView.cs
- EntityCommandDefinition.cs
- ConsoleTraceListener.cs
- InputLangChangeEvent.cs
- ColumnProvider.cs
- UrlAuthFailedErrorFormatter.cs
- SectionVisual.cs
- MetafileHeader.cs
- CheckBox.cs
- HotSpotCollectionEditor.cs
- ReadOnlyTernaryTree.cs
- printdlgexmarshaler.cs
- ReflectionUtil.cs
- base64Transforms.cs
- DockPanel.cs
- UriTemplateHelpers.cs
- ExpressionBinding.cs
- AspNetRouteServiceHttpHandler.cs
- AuthenticationModuleElementCollection.cs
- ModelVisual3D.cs
- SiteMapDataSourceView.cs
- CodeDOMProvider.cs
- Int32RectConverter.cs
- SoapException.cs
- WindowsScrollBarBits.cs
- FullTextBreakpoint.cs
- QueryCorrelationInitializer.cs
- Typeface.cs
- Separator.cs
- XmlCDATASection.cs
- FilterQueryOptionExpression.cs
- PointKeyFrameCollection.cs
- HostProtectionException.cs
- ResumeStoryboard.cs
- CodeTypeConstructor.cs
- XmlRawWriterWrapper.cs
- DesignerTextWriter.cs
- RegexMatch.cs
- CodeParameterDeclarationExpression.cs