Class StructuredTableSchema
The declared shape of a table or collection: its fields and indexes.
Inherited Members
Namespace: Serenity.Persistence.Domain.ValueObjects
Assembly: Serenity.Global.Domain.dll
Syntax
public sealed class StructuredTableSchema
Constructors
StructuredTableSchema(StoreTable, IReadOnlyList<StructuredFieldSchema>, IReadOnlyList<StructuredIndex>)
Creates a new StructuredTableSchema.
Declaration
public StructuredTableSchema(StoreTable table, IReadOnlyList<StructuredFieldSchema> fields, IReadOnlyList<StructuredIndex> indexes)
Parameters
| Type | Name | Description |
|---|---|---|
| StoreTable | table | |
| IReadOnlyList<StructuredFieldSchema> | fields | |
| IReadOnlyList<StructuredIndex> | indexes |
Properties
Fields
The table's fields.
Declaration
public IReadOnlyList<StructuredFieldSchema> Fields { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<StructuredFieldSchema> |
Indexes
The table's indexes.
Declaration
public IReadOnlyList<StructuredIndex> Indexes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<StructuredIndex> |
Table
The table this schema describes.
Declaration
public StoreTable Table { get; }
Property Value
| Type | Description |
|---|---|
| StoreTable |