C# Class Catnap.Database.Sqlite.BaseSqliteAdapter

Inheritance: BaseDbAdapter
显示文件 Open project: timscott/catnap

Public Methods

Method Description
ConvertFromDb ( object value, Type toType ) : object
ConvertToDb ( object value ) : object
CreateGetTableMetadataCommand ( string tableName, IDbCommandFactory commandFactory ) : IDbCommand
CreateLastInsertIdCommand ( string tableName, IDbCommandFactory commandFactory ) : IDbCommand
GetGeneralStringType ( ) : string

Protected Methods

Method Description
BaseSqliteAdapter ( Type connectionType ) : System
BaseSqliteAdapter ( string connectionTypeAssemblyName ) : System

Method Details

BaseSqliteAdapter() protected method

protected BaseSqliteAdapter ( Type connectionType ) : System
connectionType System.Type
return System

BaseSqliteAdapter() protected method

protected BaseSqliteAdapter ( string connectionTypeAssemblyName ) : System
connectionTypeAssemblyName string
return System

ConvertFromDb() public method

public ConvertFromDb ( object value, Type toType ) : object
value object
toType System.Type
return object

ConvertToDb() public method

public ConvertToDb ( object value ) : object
value object
return object

CreateGetTableMetadataCommand() public method

public CreateGetTableMetadataCommand ( string tableName, IDbCommandFactory commandFactory ) : IDbCommand
tableName string
commandFactory IDbCommandFactory
return IDbCommand

CreateLastInsertIdCommand() public method

public CreateLastInsertIdCommand ( string tableName, IDbCommandFactory commandFactory ) : IDbCommand
tableName string
commandFactory IDbCommandFactory
return IDbCommand

GetGeneralStringType() public method

public GetGeneralStringType ( ) : string
return string