Class JoinCollection
The collection of operators of the Join
query.
Implements
Inherited Members
Namespace: Terrasoft.Core.DB
Assembly: Terrasoft.Core.dll
Syntax
public class JoinCollection : Collection<Join>, IList<Join>, ICollection<Join>, IList, ICollection, IReadOnlyList<Join>, IReadOnlyCollection<Join>, IEnumerable<Join>, IEnumerable, ICloneable
Constructors
JoinCollection()
Initializes a new instance of the JoinCollection type.
Declaration
public JoinCollection()
JoinCollection(JoinCollection)
Initializes a new JoinCollection instance that is a clone of the passed-in collection of Join
operators.
Declaration
public JoinCollection(JoinCollection source)
Parameters
Type | Name | Description |
---|---|---|
JoinCollection | source | The collection of |
Methods
Clone()
Creates the clone of the current JoinCollection instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A new JoinCollection instance that represents the copy of the current instance. |
Exists(String)
Determines whether the Join
operator with the specified alias of the data source being attached exists in the current collection.
Declaration
public bool Exists(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The alias of the data source being attached by the operator to get. |
Returns
Type | Description |
---|---|
System.Boolean |
|
FindByAlias(String)
In the current collection of the Join
operators, searches for the operator by the specified alias of the attached data source.
Declaration
public Join FindByAlias(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The data source alias being attached by the operator to get. |
Returns
Type | Description |
---|---|
Join | The instance of the Join operator with the |
GetByAlias(String)
From the current collection of the Join
operators, gets the operator with the specified alias of the data source being attached. If the operator is not found in the collection, an exception is thrown.
Declaration
public Join GetByAlias(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The data source alias being attached by the |
Returns
Type | Description |
---|---|
Join | The instance of the Join operator with the |
Exceptions
Type | Condition |
---|---|
ItemNotFoundException | If the operator with the |
ArgumentNullOrEmptyException | If the empty value or |