Method | Description | |
---|---|---|
CommandAsync ( Func, command ) : Task |
||
CreateConnection ( ) : bool | ||
Db ( ) | ||
Db ( Func, dbConnectionFactory ) | ||
Db ( bool disableBatching ) | ||
Db ( string connectionString ) | ||
ExecuteAsync ( string sql, object parameters ) : Task | ||
GetAsync ( Func command ) : Task |
||
GetAsync ( string sql, object parameters ) : Task |
||
GetData ( ) : DbDataReader | ||
SelectAsync ( Func command ) : Task |
||
SelectAsync ( string sql, object parameters ) : Task |
Method | Description | |
---|---|---|
OnConfiguring ( DbContextOptionsBuilder optionsBuilder ) : void |
public ExecuteAsync ( string sql, object parameters ) : Task | ||
sql | string | |
parameters | object | |
return | Task |
public GetAsync ( string sql, object parameters ) : Task |
||
sql | string | |
parameters | object | |
return | Task |
protected OnConfiguring ( DbContextOptionsBuilder optionsBuilder ) : void | ||
optionsBuilder | DbContextOptionsBuilder | |
return | void |
public SelectAsync ( string sql, object parameters ) : Task |
||
sql | string | |
parameters | object | |
return | Task |