Merge AppVersions information into EFMigrationsHistory table
This commit is contained in:
		| @ -14,6 +14,10 @@ namespace Oqtane.Repository | ||||
|  | ||||
|         int ExecuteNonQuery(Tenant tenant, string query); | ||||
|  | ||||
|         int ExecuteNonQuery(string connectionString, string databaseType, string query); | ||||
|  | ||||
|         IDataReader ExecuteReader(Tenant tenant, string query); | ||||
|  | ||||
|         string GetScriptFromAssembly(Assembly assembly, string fileName); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -78,13 +78,13 @@ namespace Oqtane.Repository | ||||
|             return db.ExecuteReader(tenant.DBConnectionString, query); | ||||
|         } | ||||
|  | ||||
|         private int ExecuteNonQuery(string connectionString, string databaseType, string query) | ||||
|         public int ExecuteNonQuery(string connectionString, string databaseType, string query) | ||||
|         { | ||||
|             var db = GetActiveDatabase(databaseType); | ||||
|             return db.ExecuteNonQuery(connectionString, query); | ||||
|         } | ||||
|  | ||||
|         private string GetScriptFromAssembly(Assembly assembly, string fileName) | ||||
|         public string GetScriptFromAssembly(Assembly assembly, string fileName) | ||||
|         { | ||||
|             // script must be included as an Embedded Resource within an assembly | ||||
|             var script = ""; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Charles Nurse
					Charles Nurse