Relation

Represents a relation between two data repositories

Namespace:
Inetdev.Data.Query
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

Relation

Creates a new instance of Relation and initializes it.

Signature:
public Void Relation(type, repository)
Parameters
Name Type Summary
type RelationType The type of the relation.
repository Repository The repository to relate with.

Relation

Creates a new instance of Relation and initializes it.

Signature:
public Void Relation(type, repository, predicates)
Parameters
Name Type Summary
type RelationType The type of the relation.
repository Repository The repository to relate with.
predicates Predicate[] An array of relation predicates.

Properties

Predicates

Predicates for this relation.

Signature:
public IList<Predicate> Predicates { get; }

Repository

Relationed repository.

Signature:
public Repository Repository { get; set; }

SelectStatement

A SelectStatement to be used as a relationed repository.

Signature:
public SelectStatement SelectStatement { get; set; }

Type

Type of relation.

Signature:
public RelationType Type { get; set; }