예제 #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;
 }
예제 #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;
 }
예제 #3
0
 public CreateTableQuery(SqlCeConnectionProvider sql_connection_provider)
 {
     sql_connection_provider_ = sql_connection_provider;
     logger_       = MustLogger.ForCurrentProcess;
     table_exists_ = new TableExistsQuery(sql_connection_provider);
 }
예제 #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;
 }
예제 #5
0
 public TableExistsQuery(SqlCeConnectionProvider sql_connection_provider)
 {
     sql_connection_provider_ = sql_connection_provider;
       logger_ = MustLogger.ForCurrentProcess;
 }
예제 #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;
 }
예제 #7
0
 public TableExistsQuery(SqlCeConnectionProvider sql_connection_provider)
 {
     sql_connection_provider_ = sql_connection_provider;
     logger_ = MustLogger.ForCurrentProcess;
 }
예제 #8
0
 public CreateTableQuery(SqlCeConnectionProvider sql_connection_provider) {
   sql_connection_provider_ = sql_connection_provider;
   logger_ = MustLogger.ForCurrentProcess;
   table_exists_ = new TableExistsQuery(sql_connection_provider);
 }
예제 #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();
 }
예제 #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;
 }
예제 #11
0
파일: SqlCeDao.cs 프로젝트: nohros/aion
 public SqlCeDao(SqlCeConnectionProvider sql_ce_connection_provider)
 {
     sql_ce_connection_provider_ = sql_ce_connection_provider;
 }