/// <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; }
/// <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; }
public DBHelper(Context context, string name, SQLiteDatabase.ICursorFactory factory, int version, IDatabaseErrorHandler errorHandler) : base(context, name, factory, version, errorHandler) { }