/// <summary> /// Initializes a new instance of the <see cref="Database"/> class. /// </summary> /// <param name="adapter">The adapter to use for data access.</param> internal Database(Adapter adapter) { _adapter = adapter; _databaseRunner = new DatabaseRunner(_adapter); }
private Database(Database copy) : base(copy) { _adapter = copy._adapter; _databaseRunner = copy._databaseRunner; }
/// <summary> /// Initializes a new instance of the <see cref="Database"/> class. /// </summary> /// <param name="adapter">The adapter to use for data access.</param> public Database(Adapter adapter) { _adapter = adapter; _databaseRunner = new DatabaseRunner(_adapter); }