C# Class Sharp.Data.Database

Inheritance: DefaultDatabase, IDatabase
Afficher le fichier Open project: sharpmigrations/sharpmigrations Class Usage Examples

Méthodes publiques

Méthode Description
CallStoredFunction ( DbType returnType, string call ) : object
CallStoredProcedure ( string call ) : ResultSet
Close ( ) : void
Commit ( ) : void
Database ( IDataProvider provider, string connectionString ) : System.Data
Dispose ( ) : void
ExecuteBulkSql ( string call ) : int
ExecuteBulkSqlCommitAndDispose ( string call ) : int
ExecuteBulkStoredProcedure ( string call ) : void
ExecuteBulkStoredProcedureAndDispose ( string call ) : void
ExecuteSql ( string call ) : int
ExecuteSqlCommitAndDispose ( string call ) : int
ExecuteStoredProcedure ( string call ) : void
ExecuteStoredProcedureAndDispose ( string call ) : void
Query ( string call ) : ResultSet
QueryAndDispose ( string call ) : ResultSet
QueryScalar ( string call ) : object
QueryScalarAndDispose ( string call ) : object
RollBack ( ) : void

Method Details

CallStoredFunction() public méthode

public CallStoredFunction ( DbType returnType, string call ) : object
returnType DbType
call string
Résultat object

CallStoredProcedure() public méthode

public CallStoredProcedure ( string call ) : ResultSet
call string
Résultat ResultSet

Close() public méthode

public Close ( ) : void
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

Database() public méthode

public Database ( IDataProvider provider, string connectionString ) : System.Data
provider IDataProvider
connectionString string
Résultat System.Data

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExecuteBulkSql() public méthode

public ExecuteBulkSql ( string call ) : int
call string
Résultat int

ExecuteBulkSqlCommitAndDispose() public méthode

public ExecuteBulkSqlCommitAndDispose ( string call ) : int
call string
Résultat int

ExecuteBulkStoredProcedure() public méthode

public ExecuteBulkStoredProcedure ( string call ) : void
call string
Résultat void

ExecuteBulkStoredProcedureAndDispose() public méthode

public ExecuteBulkStoredProcedureAndDispose ( string call ) : void
call string
Résultat void

ExecuteSql() public méthode

public ExecuteSql ( string call ) : int
call string
Résultat int

ExecuteSqlCommitAndDispose() public méthode

public ExecuteSqlCommitAndDispose ( string call ) : int
call string
Résultat int

ExecuteStoredProcedure() public méthode

public ExecuteStoredProcedure ( string call ) : void
call string
Résultat void

ExecuteStoredProcedureAndDispose() public méthode

public ExecuteStoredProcedureAndDispose ( string call ) : void
call string
Résultat void

Query() public méthode

public Query ( string call ) : ResultSet
call string
Résultat ResultSet

QueryAndDispose() public méthode

public QueryAndDispose ( string call ) : ResultSet
call string
Résultat ResultSet

QueryScalar() public méthode

public QueryScalar ( string call ) : object
call string
Résultat object

QueryScalarAndDispose() public méthode

public QueryScalarAndDispose ( string call ) : object
call string
Résultat object

RollBack() public méthode

public RollBack ( ) : void
Résultat void