Exemple #1
0
 /// <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);
 }
Exemple #2
0
 private Database(Database copy) : base(copy)
 {
     _adapter        = copy._adapter;
     _databaseRunner = copy._databaseRunner;
 }
Exemple #3
0
 /// <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);
 }
Exemple #4
0
 private Database(Database copy) : base(copy)
 {
     _adapter = copy._adapter;
     _databaseRunner = copy._databaseRunner;
 }
Exemple #5
0
 /// <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);
 }