Table of Contents

Class EntityTable

Namespace
The.SQL.Persistence
Assembly
Instagile.dll
public sealed class EntityTable
Inheritance
EntityTable
Inherited Members

Constructors

EntityTable(string, string, IReadOnlyDictionary<string, AttributeColumn>, IReadOnlyDictionary<string, RelationshipSide>, bool)

public EntityTable(string entityName, string tableName, IReadOnlyDictionary<string, AttributeColumn> columns, IReadOnlyDictionary<string, RelationshipSide> relationships, bool hasAudit)

Parameters

entityName string
tableName string
columns IReadOnlyDictionary<string, AttributeColumn>
relationships IReadOnlyDictionary<string, RelationshipSide>
hasAudit bool

Fields

Columns

public readonly IReadOnlyDictionary<string, AttributeColumn> Columns

Field Value

IReadOnlyDictionary<string, AttributeColumn>

EntityName

public readonly string EntityName

Field Value

string

HasAudit

public readonly bool HasAudit

Field Value

bool

Relationships

public readonly IReadOnlyDictionary<string, RelationshipSide> Relationships

Field Value

IReadOnlyDictionary<string, RelationshipSide>

SelectedColumns

public readonly AttributeColumn[] SelectedColumns

Field Value

AttributeColumn[]

TableName

public readonly string TableName

Field Value

string

TenancyColumn

public readonly AttributeColumn? TenancyColumn

Field Value

AttributeColumn

Properties

AttributeCount

public int AttributeCount { get; }

Property Value

int

CollectionCount

public int CollectionCount { get; }

Property Value

int

CollectionKeys

public IReadOnlyList<RelationshipSide> CollectionKeys { get; }

Property Value

IReadOnlyList<RelationshipSide>

NavigableCollectionCount

public int NavigableCollectionCount { get; }

Property Value

int

ReferenceCount

public int ReferenceCount { get; }

Property Value

int