Skip to content

SqliteColumn

Namespace: ThinkGeo.Core

Represents the SqliteColumn class.

public class SqliteColumn : FeatureSourceColumn

Inheritance ObjectFeatureSourceColumnSqliteColumn

Properties

ColumnType

Gets or sets the SQLite column type.

public SqliteColumnType ColumnType { get; set; }

Property Value

SqliteColumnType

ColumnName

Gets or sets the name of the column.

public string ColumnName { get; set; }

Property Value

String

TypeName

Gets or sets the type metadata associated with the column.

public string TypeName { get; set; }

Property Value

String

Remarks:

This property is freeform and the type name is not tied to anything. It is wise to try and use familiar type names such as string, integer, date, etc., although it may not fit every different type of FeatureSource. We suggest thar you avoid using this property unless you know the types beforehand or simply want them for display purposes.

MaxLength

Gets or sets the maximum length (in characters) for the column.

public int MaxLength { get; set; }

Property Value

Int32

Remarks:

The maximum length is user defined and not in any way enforced in our default FeatureSource implementation. It is mainly for display purposes or when dealing with a known Feature Source type.

Constructors

SqliteColumn()

This method is the constructor for the DbfColumn.

public SqliteColumn()

Remarks:

None

SqliteColumn(String, SqliteColumnType)

This method is the constructor for the SqliteColumn.

public SqliteColumn(string columnName, SqliteColumnType columnType)

Parameters

columnName String
This parameter represents the name of the column.

columnType SqliteColumnType
This parameter represents the type of the column.