Example #1
0
 /// <summary>
 /// Creates new instance of type <see cref="ItemDao"/>.
 /// </summary>
 /// <param name="databaseAlias">Alias of the database that should be used
 /// by this data access object.</param>
 protected ItemDao(string databaseAlias)
 {
     _databaseAlias = databaseAlias;
     _errorHandler  = null;
 }
Example #2
0
 /// <summary>
 /// Creates new instance of type <see cref="ItemDao"/>.
 /// </summary>
 /// <param name="databaseAlias">Alias of the database that should be used
 /// by this data access object.</param>
 /// <param name="errorHandler">Object that can transform SqlException to
 /// meaningful back-end exception.</param>
 protected ItemDao(string databaseAlias, IDatabaseErrorHandler errorHandler)
 {
     _databaseAlias = databaseAlias;
     _errorHandler  = errorHandler;
 }
Example #3
0
 public DBHelper(Context context, string name, SQLiteDatabase.ICursorFactory factory, int version, IDatabaseErrorHandler errorHandler) : base(context, name, factory, version, errorHandler)
 {
 }