kCura.Data.RowDataGateway.Context
Provides a standard implementation for accessing SQL Server.
public const string CONNECTION_POOL_ERROR_MESSAGE = "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached."
public const string QUERY_HINT_ERROR_MESSAGE = "Query processor could not produce a query plan because of the hints defined in this query. Resubmit the query without specifying any hints and without using SET FORCEPLAN."
public const string ZOMBIE_CHECK_ERROR_MESSAGE = "This SqlTransaction has completed; it is no longer usable."
Gets or sets the current ILogGateway.
public Context()
Initializes a new instance of Context using the configured connection string.
Initializes a new instance of Context using the provided connection data.
Initializes a new instance of Context using the provided connection string.
Initializes a new instance of Context using the provided server name, username, and password.
Initializes a new instance of Context using the provided server name, database name, username, and password.
public static CommandBehavior CalculateCommandBehaviorForReader(IDbCommand command, bool sequentialAccess)
Calculate the value of the CommandBehavior that should be used by ExecuteReader.
Sets the log provider to the provided provider.
Gets the state of the underlying SqlConnection.