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
- TemplateKey.cs
- PointAnimationUsingPath.cs
- StringCollection.cs
- GeometryDrawing.cs
- WebBrowserBase.cs
- CompilationLock.cs
- ControlValuePropertyAttribute.cs
- CodeDOMProvider.cs
- mediaclock.cs
- DbSetClause.cs
- CorrelationTokenTypeConvertor.cs
- GraphicsContext.cs
- HttpRuntime.cs
- PropertyGridEditorPart.cs
- ParameterToken.cs
- followingsibling.cs
- ListenDesigner.cs
- AssemblyAssociatedContentFileAttribute.cs
- Keywords.cs
- TypeCollectionDesigner.xaml.cs
- FormView.cs
- CompoundFileIOPermission.cs
- Path.cs
- RoleGroup.cs
- InfiniteIntConverter.cs
- HtmlWindow.cs
- PropertyToken.cs
- StrongTypingException.cs
- XmlConverter.cs
- SiteMapHierarchicalDataSourceView.cs
- storepermissionattribute.cs
- XmlSchemaElement.cs
- ApplicationManager.cs
- UnsafeNativeMethodsTablet.cs
- RowsCopiedEventArgs.cs
- _NestedMultipleAsyncResult.cs
- ParseHttpDate.cs
- SpeechDetectedEventArgs.cs
- TdsParserStateObject.cs
- TableLayoutStyleCollection.cs
- CodeDirectionExpression.cs
- CreateUserErrorEventArgs.cs
- StateValidator.cs
- FullTextState.cs
- RequestCacheValidator.cs
- CompilerWrapper.cs
- LinqExpressionNormalizer.cs
- CheckBoxDesigner.cs
- SqlStream.cs
- RTLAwareMessageBox.cs
- FastPropertyAccessor.cs
- CodeGeneratorOptions.cs
- ProfileParameter.cs
- Cursors.cs
- ThicknessAnimationUsingKeyFrames.cs
- RemotingServices.cs
- DataGridViewAutoSizeModeEventArgs.cs
- __ComObject.cs
- SmiTypedGetterSetter.cs
- OptimisticConcurrencyException.cs
- HandleCollector.cs
- TabControlDesigner.cs
- ObjectAnimationUsingKeyFrames.cs
- SourceChangedEventArgs.cs
- Size3DValueSerializer.cs
- ToolStripCollectionEditor.cs
- SendActivityEventArgs.cs
- RuleInfoComparer.cs
- CodePropertyReferenceExpression.cs
- MouseEvent.cs
- HttpCacheVary.cs
- TableLayoutColumnStyleCollection.cs
- DesigntimeLicenseContext.cs
- Inflater.cs
- TemplatedMailWebEventProvider.cs
- ServiceDescriptionSerializer.cs
- IntegrationExceptionEventArgs.cs
- ToolStripDropDownItemDesigner.cs
- VirtualDirectoryMappingCollection.cs
- Application.cs
- FtpRequestCacheValidator.cs
- XPathMultyIterator.cs
- WinEventTracker.cs
- HttpConfigurationContext.cs
- ValidatorCompatibilityHelper.cs
- ScriptResourceAttribute.cs
- MouseWheelEventArgs.cs
- MasterPageParser.cs
- ImageListDesigner.cs
- CompiledQueryCacheEntry.cs
- ImageMapEventArgs.cs
- OpenFileDialog.cs
- SelectionChangedEventArgs.cs
- RelatedView.cs
- XPathBinder.cs
- XmlNamespaceDeclarationsAttribute.cs
- NullExtension.cs
- SymbolType.cs
- ISAPIWorkerRequest.cs
- SevenBitStream.cs