C# Class Tasque.Data.Sqlite.Database

Mostra file Open project: GNOME/tasque Class Usage Examples

Public Properties

Property Type Description
LocalUnixEpoch System.DateTime

Public Methods

Method Description
Close ( ) : void
CreateTables ( ) : void
Database ( ) : System
ExecuteNonQuery ( string command ) : int
ExecuteScalar ( string command ) : object
FromDateTime ( System.DateTime time ) : long
FromTimeT ( long time ) : System.DateTime
GetDateTime ( string command ) : System.DateTime
GetSingleInt ( string command ) : int
GetSingleLong ( string command ) : long
GetSingleString ( string command ) : string
Open ( ) : void
TableExists ( string table ) : bool
ToDateTime ( long time ) : System.DateTime
ToTimeT ( System.DateTime time ) : long

Method Details

Close() public method

public Close ( ) : void
return void

CreateTables() public method

public CreateTables ( ) : void
return void

Database() public method

public Database ( ) : System
return System

ExecuteNonQuery() public method

public ExecuteNonQuery ( string command ) : int
command string
return int

ExecuteScalar() public method

public ExecuteScalar ( string command ) : object
command string
return object

FromDateTime() public static method

public static FromDateTime ( System.DateTime time ) : long
time System.DateTime
return long

FromTimeT() public static method

public static FromTimeT ( long time ) : System.DateTime
time long
return System.DateTime

GetDateTime() public method

public GetDateTime ( string command ) : System.DateTime
command string
return System.DateTime

GetSingleInt() public method

public GetSingleInt ( string command ) : int
command string
return int

GetSingleLong() public method

public GetSingleLong ( string command ) : long
command string
return long

GetSingleString() public method

public GetSingleString ( string command ) : string
command string
return string

Open() public method

public Open ( ) : void
return void

TableExists() public method

public TableExists ( string table ) : bool
table string
return bool

ToDateTime() public static method

public static ToDateTime ( long time ) : System.DateTime
time long
return System.DateTime

ToTimeT() public static method

public static ToTimeT ( System.DateTime time ) : long
time System.DateTime
return long

Property Details

LocalUnixEpoch public_oe static_oe property

public static DateTime,System LocalUnixEpoch
return System.DateTime