SQL - Extended  1.0.0
Pi-Con: Small utilities makes the difference
Public Member Functions | Public Attributes | Properties | List of all members
SQLite.TableMapping.Column Class Reference

the Column information More...

Public Member Functions

 Column (PropertyInfo prop, CreateFlags createFlags=CreateFlags.None)
 Constructor More...
 
void SetValue (object obj, object val)
 Set the object value of the column - property More...
 
object GetValue (object obj)
 Get the object value of the column - property More...
 

Public Attributes

PropertyInfo PropertyInfo => _prop
 the property information More...
 
List< Object > PropertyValues
 the values of the property / column for multiple rows More...
 

Properties

string Name [get]
 Name of the Column used in the Database - Table More...
 
string PropertyName [get]
 Name of the local property More...
 
Type ColumnType [get]
 Type of the column More...
 
string Collation [get]
 The collation of the column More...
 
bool IsAutoInc [get]
 True - column is a auto incrementing (int) has the AutoIncrement Attribute More...
 
bool IsAutoGuid [get]
 True - column get a GUID automatic set by SQL-Net More...
 
bool IsPK [get]
 True - Column is Primary Key, has PrimaryKeyAttribute More...
 
IEnumerable< IndexedAttributeIndices [get, set]
 The assigned IndexAttributes of the column More...
 
bool IsNullable [get]
 It's permitted to set the value to null More...
 
int? MaxStringLength [get]
 Max count of characters in a string More...
 
bool StoreAsText [get]
 store the value as Text, More...
 

Detailed Description

the Column information

Constructor & Destructor Documentation

◆ Column()

SQLite.TableMapping.Column.Column ( PropertyInfo  prop,
CreateFlags  createFlags = CreateFlags.None 
)

Constructor

Parameters
prop
createFlags

Member Function Documentation

◆ GetValue()

object SQLite.TableMapping.Column.GetValue ( object  obj)

Get the object value of the column - property

Parameters
obj

◆ SetValue()

void SQLite.TableMapping.Column.SetValue ( object  obj,
object  val 
)

Set the object value of the column - property

Parameters
obj
val

Member Data Documentation

◆ PropertyInfo

PropertyInfo SQLite.TableMapping.Column.PropertyInfo => _prop

the property information

◆ PropertyValues

List<Object> SQLite.TableMapping.Column.PropertyValues

the values of the property / column for multiple rows

Property Documentation

◆ Collation

string SQLite.TableMapping.Column.Collation
get

The collation of the column

◆ ColumnType

Type SQLite.TableMapping.Column.ColumnType
get

Type of the column

◆ Indices

IEnumerable<IndexedAttribute> SQLite.TableMapping.Column.Indices
getset

The assigned IndexAttributes of the column

◆ IsAutoGuid

bool SQLite.TableMapping.Column.IsAutoGuid
get

True - column get a GUID automatic set by SQL-Net

◆ IsAutoInc

bool SQLite.TableMapping.Column.IsAutoInc
get

True - column is a auto incrementing (int) has the AutoIncrement Attribute

◆ IsNullable

bool SQLite.TableMapping.Column.IsNullable
get

It's permitted to set the value to null

◆ IsPK

bool SQLite.TableMapping.Column.IsPK
get

True - Column is Primary Key, has PrimaryKeyAttribute

◆ MaxStringLength

int? SQLite.TableMapping.Column.MaxStringLength
get

Max count of characters in a string

◆ Name

string SQLite.TableMapping.Column.Name
get

Name of the Column used in the Database - Table

◆ PropertyName

string SQLite.TableMapping.Column.PropertyName
get

Name of the local property

◆ StoreAsText

bool SQLite.TableMapping.Column.StoreAsText
get

store the value as Text,


The documentation for this class was generated from the following file: