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
- DBSchemaRow.cs
- EnvironmentPermission.cs
- HttpCookieCollection.cs
- XmlToDatasetMap.cs
- CustomTypeDescriptor.cs
- SoapFault.cs
- HttpListener.cs
- ArraySortHelper.cs
- ToolStripPanel.cs
- ExpressionList.cs
- MetadataSource.cs
- PersistenceTypeAttribute.cs
- WindowsListViewGroupSubsetLink.cs
- SessionStateModule.cs
- Constants.cs
- ConfigXmlAttribute.cs
- SvcMapFile.cs
- ADMembershipUser.cs
- SoapAttributes.cs
- CapabilitiesUse.cs
- ConfigurationLockCollection.cs
- DataSourceConverter.cs
- SignatureSummaryDialog.cs
- IdentifierCreationService.cs
- HttpVersion.cs
- ControlCollection.cs
- ConsumerConnectionPointCollection.cs
- WindowsMenu.cs
- HtmlInputPassword.cs
- FrameDimension.cs
- PlatformNotSupportedException.cs
- InternalDispatchObject.cs
- WindowsGraphicsWrapper.cs
- IsolatedStoragePermission.cs
- NetTcpSecurityElement.cs
- XmlSchemaSequence.cs
- ConfigurationSection.cs
- StrokeCollectionConverter.cs
- InfoCardSymmetricCrypto.cs
- Utility.cs
- HttpModuleActionCollection.cs
- CodeLabeledStatement.cs
- DateTimeUtil.cs
- ColumnWidthChangingEvent.cs
- OciEnlistContext.cs
- TypeInitializationException.cs
- Cursor.cs
- ListViewAutomationPeer.cs
- FilteredAttributeCollection.cs
- OrderedDictionary.cs
- MouseEvent.cs
- NumericPagerField.cs
- ConnectionManager.cs
- XmlILModule.cs
- VisualBasicImportReference.cs
- BitmapSizeOptions.cs
- ConstraintStruct.cs
- ProfileGroupSettings.cs
- TreeViewImageKeyConverter.cs
- GlobalizationAssembly.cs
- OutOfProcStateClientManager.cs
- QueryCacheKey.cs
- WebBrowserDocumentCompletedEventHandler.cs
- EncryptedPackageFilter.cs
- TCPListener.cs
- XmlObjectSerializerWriteContextComplex.cs
- BamlMapTable.cs
- DynamicQueryStringParameter.cs
- HtmlElementCollection.cs
- TextDecorations.cs
- ContextMarshalException.cs
- ListViewGroup.cs
- StringDictionary.cs
- ColumnReorderedEventArgs.cs
- SpStreamWrapper.cs
- TextServicesPropertyRanges.cs
- Logging.cs
- FrugalMap.cs
- MenuRenderer.cs
- RequestQueue.cs
- SortableBindingList.cs
- PersonalizationDictionary.cs
- MenuTracker.cs
- MimeWriter.cs
- MetadataUtil.cs
- UInt64.cs
- DataSourceControlBuilder.cs
- XXXInfos.cs
- XmlTypeMapping.cs
- InkCanvasSelection.cs
- DataGridBeginningEditEventArgs.cs
- TimeZone.cs
- CodeAccessSecurityEngine.cs
- PackWebRequest.cs
- SimpleType.cs
- InsufficientExecutionStackException.cs
- CngAlgorithm.cs
- SchemaComplexType.cs
- DictionaryGlobals.cs
- ListBox.cs