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
- BitmapFrame.cs
- DataGridViewTextBoxCell.cs
- ConditionedDesigner.cs
- ExternalFile.cs
- OdbcFactory.cs
- ErasingStroke.cs
- ProtectedConfigurationProviderCollection.cs
- ValidatorCompatibilityHelper.cs
- PresentationSource.cs
- PassportAuthentication.cs
- DataTemplateKey.cs
- DataGridViewCheckBoxColumn.cs
- Trace.cs
- CodeMethodReturnStatement.cs
- UriTemplateVariableQueryValue.cs
- SoapReflectionImporter.cs
- SqlDeflator.cs
- BitConverter.cs
- ResourceContainer.cs
- ProcessInputEventArgs.cs
- ClientTargetCollection.cs
- DateTimeFormatInfo.cs
- PeerResolverElement.cs
- ContractNamespaceAttribute.cs
- ChangeProcessor.cs
- XmlBaseReader.cs
- UniqueEventHelper.cs
- StackSpiller.Bindings.cs
- BidOverLoads.cs
- WhereaboutsReader.cs
- LinkTarget.cs
- PerformanceCounterNameAttribute.cs
- PropertyDescriptorCollection.cs
- GeneralTransformCollection.cs
- ObjectListCommandCollection.cs
- ExtensionSimplifierMarkupObject.cs
- XmlNamespaceManager.cs
- Size3DConverter.cs
- TokenizerHelper.cs
- PartialClassGenerationTask.cs
- TriggerActionCollection.cs
- AttributeQuery.cs
- InkCanvasInnerCanvas.cs
- TextEditorMouse.cs
- XhtmlBasicPageAdapter.cs
- GridSplitterAutomationPeer.cs
- ButtonBase.cs
- SymmetricCryptoHandle.cs
- CustomPopupPlacement.cs
- ProfileService.cs
- DrawListViewSubItemEventArgs.cs
- SpanIndex.cs
- PasswordTextContainer.cs
- MetadataCacheItem.cs
- WebPartHelpVerb.cs
- SoapExtensionImporter.cs
- SettingsBindableAttribute.cs
- ErrorTolerantObjectWriter.cs
- SchemaAttDef.cs
- AdjustableArrowCap.cs
- ProcessHostConfigUtils.cs
- AmbientLight.cs
- XamlSerializer.cs
- BaseParser.cs
- Scheduling.cs
- DesignerTransaction.cs
- ToolStripRenderer.cs
- StrokeCollectionConverter.cs
- RangeValueProviderWrapper.cs
- UnsafeNativeMethods.cs
- DataListAutoFormat.cs
- HtmlControlAdapter.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- Faults.cs
- PropertyMap.cs
- StringBuilder.cs
- RegisteredScript.cs
- RadioButtonPopupAdapter.cs
- RootProfilePropertySettingsCollection.cs
- Exceptions.cs
- XmlQueryTypeFactory.cs
- SQLGuidStorage.cs
- Transform3D.cs
- InputLangChangeEvent.cs
- GridViewPageEventArgs.cs
- HeaderedItemsControl.cs
- _Connection.cs
- ProjectionPlanCompiler.cs
- ApplicationBuildProvider.cs
- DataGridViewTextBoxCell.cs
- ListSortDescription.cs
- documentsequencetextcontainer.cs
- VirtualPathProvider.cs
- SequenceDesigner.cs
- ResetableIterator.cs
- Menu.cs
- Translator.cs
- SmtpDigestAuthenticationModule.cs
- SQLBinary.cs