SaaS CMS has officially launched! Learn more now.

Class RelationCollection

Represents collection of relationship.

Inheritance
System.Object
System.Collections.ReadOnlyCollectionBase
RelationCollection
Implements
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ReadOnlyCollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ReadOnlyCollectionBase.GetEnumerator()
System.Collections.ReadOnlyCollectionBase.InnerList
System.Collections.ReadOnlyCollectionBase.Count
System.Collections.ReadOnlyCollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.ReadOnlyCollectionBase.System.Collections.ICollection.SyncRoot
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Sql.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class RelationCollection : IndexedCollectionBase<Relationship>, ICollection, IEnumerable

Constructors

RelationCollection()

Initializes a new instance of the RelationCollection class.

Declaration
public RelationCollection()

Methods

Get(String, String, String, String)

Gets the relationship by specified pk table, primary key column, foreign key table and foreign key column.

Declaration
public Relationship Get(string pkTable, string pkColumn, string fkTable, string fkColumn)
Parameters
Type Name Description
System.String pkTable

The pk table.

System.String pkColumn

The pk column.

System.String fkTable

The fk table.

System.String fkColumn

The fk column.

Returns
Type Description
Relationship

Implements

System.Collections.ICollection
System.Collections.IEnumerable