Click or drag to resize

Table Class

Get data table information for data processing
Inheritance Hierarchy
SystemObject
  GSF.DataTable

Namespace: GSF.Data
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[SerializableAttribute]
public class Table : IComparable, IComparable<Table>
View Source

The Table type exposes the following members.

Constructors
 NameDescription
Public methodTable Creates a new Table.
Public methodTable(String) Creates a new Table.
Public methodTable(String, String, String, String, String, Int32) Creates a new Table.
Top
Properties
 NameDescription
Public propertyAutoIncField Gets auto-increment field for the Table, if any.
Public propertyCatalog Get or set catalog information for Table
Public propertyConnection Get IDbConnection of object
Public propertyDescription Get or set description
Public propertyFields Get or set list of Fields for Table
Public propertyFullName Get or set full name of Table
Public propertyHasAutoIncField Gets flag that determines if the Table has an auto-increment field.
Public propertyIdentitySQL Get or set identity SQL for Table
Public propertyIsForeignKeyTable Get flag of any foreign key Field
Public propertyIsLinked Get flag for TableType alias or link
Public propertyIsSystem Check for system tables and system views
Public propertyIsTemporary Get flag for TableType for temp
Public propertyIsView Check for object is view
Public propertyMapName Get or set name of Table
Public propertyName Get name of Table
Public propertyParent Get parent Table information
Public propertyPrimaryKeyFieldCount Get count for primary key Field
Public propertyPriority Get or set priority
Public propertyProcess Get or set process flag
Public propertyReferencedByForeignKeys Get flag that determines if the table has any foreign keys.
Public propertyRowCount Get row count in Table
Public propertySchema Get or set schema name
Public propertySQLEscapedName Get SQL escaped name of Table
Public propertyType Get TableType
Top
Methods
 NameDescription
Public methodCalculateRowCount Calculates row count.
Public methodCompareTo(Object) Compare Object type of obj with Table object Priority
Public methodCompareTo(Table) Compare Table with other Table object Priority
Public methodDefineForeignKey Check for ForeignKeyField
Public methodDefinePrimaryKey check for primary key field in Table
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsReferencedBy Check for direct table reference by otherTable.
Public methodIsReferencedVia Checks for indirect table reference through otherTable.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReevalulateIdentitySQL Re-evaluates identity SQL for database type.
Public methodToString Gets display name for table.
(Overrides ObjectToString)
Public methodUsesDefaultSchema Get schema information flag based on DatabaseType
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also