docs.inedo.com →
inedo.com →
ProGet SDK Reference
Version:
4.3.0
4.0.0
ProGet SDK
Inedo.Data
DatabaseContext
DatabaseContext Class
Inheritance Hierarchy
object
Inedo.Data.DatabaseContext
Inedo.Data.SqlServerDatabaseContext
Syntax
public
class
DatabaseContext
:
System.IDisposable
Constructors
Name
Description
DatabaseContext
DatabaseContext(bool keepConnection)
Properties
Name
Description
Timeout
UserName
Methods
Name
Description
BeginTransaction
CommitTransaction
CreateCommand(string storedProcName, GenericDbParameter[] parameters)
CreateConnection
CreateConnectionAsync
Dispose
Dispose(bool disposing)
EnumerateTable<TRow>(string storedProcName, GenericDbParameter[] parameters)
Execute(string storedProcName, GenericDbParameter[] parameters)
ExecuteAsync(string storedProcName, GenericDbParameter[] parameters)
ExecuteNonQuery(string storedProcName, GenericDbParameter[] parameters)
ExecuteNonQueryAsync(string storedProcName, GenericDbParameter[] parameters)
ExecuteScalarAsync<TResult>(string storedProcName, GenericDbParameter[] parameters, int outParameterIndex)
ExecuteTableAsync<TRow>(string storedProcName, GenericDbParameter[] parameters)
GetConnectionString
RollbackTransaction