Class TableSchema
- Namespace
- LinqToDB.SchemaProvider
- Assembly
- linq2db.dll
Describes table-like objects such as tables, views, procedure or function results.
public class TableSchema
- Inheritance
-
TableSchema
- Derived
- Extension Methods
Properties
CatalogName
Gets table database (catalog) name.
public string? CatalogName { get; set; }
Property Value
Columns
Gets list of table columns.
public List<ColumnSchema> Columns { get; set; }
Property Value
Description
Gets table description.
public string? Description { get; set; }
Property Value
ForeignKeys
Gets list of table foreign keys.
public List<ForeignKeySchema> ForeignKeys { get; set; }
Property Value
GroupName
Gets table group name. Used by T4 templates to group tables to generate Schema Type if GenerateSchemaAsType
is true
.
If NULL, SchemaName is used.
public string? GroupName { get; set; }
Property Value
ID
Gets unique table identifier, based on name, schema and database names.
public string? ID { get; set; }
Property Value
IsDefaultSchema
Gets flag indicating that table defined with default owner/schema or not.
public bool IsDefaultSchema { get; set; }
Property Value
IsProcedureResult
Gets flag indicating that table describes procedure or function result set.
public bool IsProcedureResult { get; set; }
Property Value
IsProviderSpecific
Gets flag indicating that it is not a user-defined table.
public bool IsProviderSpecific { get; set; }
Property Value
IsView
Gets flag indicating that table describes view.
public bool IsView { get; set; }
Property Value
SchemaName
Gets table owner/schema name.
public string? SchemaName { get; set; }
Property Value
TableName
Gets database table name.
public string? TableName { get; set; }
Property Value
TypeName
Gets C# friendly table name.
public string TypeName { get; set; }