Class SqlTable
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a table for a SQL server database.
public class SqlTable : BaseTypeSection, IComparable<SqlTable>
- Inheritance
-
SqlTable
- Implements
Constructors
SqlTable()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlTable class.
public SqlTable()
Properties
AnsiNullsStatus
Gets or sets the ANSI NULLs status for the database.
public BooleanOption AnsiNullsStatus { get; set; }
Property Value
ChangeTrackingEnabled
Gets or sets whether change tracking is enabled for the table. This applies to Azure and SQL Server 2012 and above.
public BooleanOption ChangeTrackingEnabled { get; set; }
Property Value
Collation
Gets or sets the collation of the table.
public string Collation { get; set; }
Property Value
Columns
Gets or sets the columns defined for the table.
public SqlColumns Columns { get; set; }
Property Value
CreationScript
Gets or sets the SQL script used to create the table.
public SqlScript CreationScript { get; set; }
Property Value
DateCreated
Gets or sets the date and time the user defined function was created.
public DateTime DateCreated { get; set; }
Property Value
DateLastModified
Gets or sets the date and time the table was last modified.
public DateTime DateLastModified { get; set; }
Property Value
Description
Gets or sets the description of the table.
public string Description { get; set; }
Property Value
DisplayStatus
Gets or sets the display status of the table.
public string DisplayStatus { get; set; }
Property Value
Durability
Gets or sets the durability type of the table. This applies to Azure and SQL Server 2016 and above.
public SqlTableDurabilityType Durability { get; set; }
Property Value
ExtendedProperties
Gets or sets the extended properties for the database table.
public SqlExtendedProperties ExtendedProperties { get; set; }
Property Value
ForeignKeys
Gets or sets the foreign keys defined for the database.
public SqlForeignKeys ForeignKeys { get; set; }
Property Value
Identifier
Gets or sets the unique identifier for the table. This is for internal use only.
public Guid Identifier { get; set; }
Property Value
IsEdge
Gets or sets whether the table is a graph edge table. This applies to Azure and SQL Server 2017 and above.
public BooleanOption IsEdge { get; set; }
Property Value
IsMemoryOptimized
Gets or sets whether the table is memory optimized. This applies to Azure and SQL Server 2014 and above.
public BooleanOption IsMemoryOptimized { get; set; }
Property Value
IsNode
Gets or sets whether the table is a graph node table. This applies to Azure and SQL Server 2017 and above.
public BooleanOption IsNode { get; set; }
Property Value
IsSystemObject
Gets or sets whether the table is a system object.
public BooleanOption IsSystemObject { get; set; }
Property Value
Name
Gets or sets the name of the table.
public string Name { get; set; }
Property Value
QuotedIdentifierStatus
Gets or sets the quoted identifier status for the table.
public BooleanOption QuotedIdentifierStatus { get; set; }
Property Value
Replicated
Gets or sets whether the table is replicated.
public BooleanOption Replicated { get; set; }
Property Value
Schema
Gets or sets the schema of the table.
public string Schema { get; set; }
Property Value
Storage
Gets or sets the storage settings for the table. This applies to on-premises SQL instances.
public SqlTableStorageSettings Storage { get; set; }
Property Value
TemporalType
Gets or sets the temporal type for the table. This applies to Azure and SQL Server 2016 and above.
public SqlTableTemporalType TemporalType { get; set; }
Property Value
TrackColumnsUpdatedEnabled
Gets or sets whether to track column updates as part of change tracking. This applies to Azure and SQL Server 2012 and above.
public BooleanOption TrackColumnsUpdatedEnabled { get; set; }
Property Value
Triggers
Gets or sets the triggers defined for the table.
public SqlTriggers Triggers { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.SqlTable cloned from this object.
public SqlTable Clone()
Returns
- SqlTable
A CENTREL.XIA.Configuration.Types.SqlTable.
CompareTo(SqlTable)
Compares two CENTREL.XIA.Configuration.Types.SqlTable objects to allow sorting alphabetically by name.
public int CompareTo(SqlTable other)
Parameters
other
SqlTableThe CENTREL.XIA.Configuration.Types.SqlTable to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlTable objects.
ToString()
Returns the name of the table.
public override string ToString()
Returns
- string
The name of the table.