public SqlCeAppState(SqlCeConnectionProvider sql_connection_provider, bool supress_dtc = true) { sql_connection_provider_ = sql_connection_provider; update_state_ = new UpdateStateQuery(sql_connection_provider); get_state_ = new GetStateQuery(sql_connection_provider); add_state_ = new AddStateQuery(sql_connection_provider); if_greater_than_query_ = new SetIfGreaterThanQuery(sql_connection_provider); if_less_than_query_ = new SetIfLessThanQuery(sql_connection_provider); SupressTransactions = supress_dtc; }
/// <summary> /// Initializes a new instance of the <see cref="AddIdleTimeQuery"/> /// using the given <param ref="sql_connection_provider" /> /// </summary> /// <param name="sql_connection_provider"> /// A <see cref="SqlCeConnectionProvider"/> object that can be used to /// create connections to the data provider. /// </param> public AddIdleTimeQuery(SqlCeConnectionProvider sql_connection_provider) { sql_connection_provider_ = sql_connection_provider; logger_ = AionLogger.ForCurrentProcess; }
public CreateTableQuery(SqlCeConnectionProvider sql_connection_provider) { sql_connection_provider_ = sql_connection_provider; logger_ = MustLogger.ForCurrentProcess; table_exists_ = new TableExistsQuery(sql_connection_provider); }
/// <summary> /// Initializes a new instance of the <see cref="SetIfGreaterThanQuery"/> /// using the given <param ref="sql_connection_provider" /> /// </summary> /// <param name="sql_connection_provider"> /// A <see cref="SqlCeConnectionProvider"/> object that can be used to /// create connections to the data provider. /// </param> public SetIfLessThanQuery(SqlCeConnectionProvider sql_connection_provider) { sql_connection_provider_ = sql_connection_provider; logger_ = MustLogger.ForCurrentProcess; SupressTransactions = true; }
public TableExistsQuery(SqlCeConnectionProvider sql_connection_provider) { sql_connection_provider_ = sql_connection_provider; logger_ = MustLogger.ForCurrentProcess; }
/// <summary> /// Initializes a new instance of the <see cref="IdleTimeAtTimeQuery"/> /// using the given <param ref="sql_connection_provider" /> /// </summary> /// <param name="sql_connection_provider"> /// A <see cref="SqlCeConnectionProvider"/> object that can be used to /// create connections to the data provider. /// </param> public IdleTimeAtTimeQuery(SqlCeConnectionProvider sql_connection_provider) { sql_connection_provider_ = sql_connection_provider; logger_ = AionLogger.ForCurrentProcess; mapper_ = Mappers.IdleTimeInfo(); }
/// <summary> /// Initializes a new instance of the <see cref="CreateIdleTimeTable"/> /// using the given <param ref="sql_connection_provider" /> /// </summary> /// <param name="sql_connection_provider"> /// A <see cref="SqlCeConnectionProvider"/> object that can be used to /// create connections to the data provider. /// </param> public CreateIdleTimeTable(SqlCeConnectionProvider sql_connection_provider) { sql_connection_provider_ = sql_connection_provider; logger_ = AionLogger.ForCurrentProcess; }
public SqlCeDao(SqlCeConnectionProvider sql_ce_connection_provider) { sql_ce_connection_provider_ = sql_ce_connection_provider; }