mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-15 04:11:38 +00:00
20 lines
522 B
C#
20 lines
522 B
C#
using System.Data;
|
|
using System.Reflection;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface ISqlRepository
|
|
{
|
|
void ExecuteScript(Tenant tenant, string script);
|
|
|
|
bool ExecuteScript(string connectionString, string databaseType, Assembly assembly, string filename);
|
|
|
|
bool ExecuteScript(Tenant tenant, Assembly assembly, string filename);
|
|
|
|
int ExecuteNonQuery(Tenant tenant, string query);
|
|
|
|
IDataReader ExecuteReader(Tenant tenant, string query);
|
|
}
|
|
}
|