Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
 public CreateTableQuery(SqlCeConnectionProvider sql_connection_provider)
 {
     sql_connection_provider_ = sql_connection_provider;
     logger_       = MustLogger.ForCurrentProcess;
     table_exists_ = new TableExistsQuery(sql_connection_provider);
 }
Esempio n. 4
0
 /// <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;
 }
Esempio n. 5
0
 public TableExistsQuery(SqlCeConnectionProvider sql_connection_provider)
 {
     sql_connection_provider_ = sql_connection_provider;
       logger_ = MustLogger.ForCurrentProcess;
 }
Esempio n. 6
0
 /// <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;
 }
Esempio n. 7
0
 public TableExistsQuery(SqlCeConnectionProvider sql_connection_provider)
 {
     sql_connection_provider_ = sql_connection_provider;
     logger_ = MustLogger.ForCurrentProcess;
 }
Esempio n. 8
0
 public CreateTableQuery(SqlCeConnectionProvider sql_connection_provider) {
   sql_connection_provider_ = sql_connection_provider;
   logger_ = MustLogger.ForCurrentProcess;
   table_exists_ = new TableExistsQuery(sql_connection_provider);
 }
Esempio n. 9
0
 /// <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();
 }
Esempio n. 10
0
 /// <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;
 }
Esempio n. 11
0
 public SqlCeDao(SqlCeConnectionProvider sql_ce_connection_provider)
 {
     sql_ce_connection_provider_ = sql_ce_connection_provider;
 }