15 lines
420 B
C#
15 lines
420 B
C#
using System.Data.SqlClient;
|
|
using System.Reflection;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface ISqlRepository
|
|
{
|
|
void ExecuteScript(Tenant tenant, string script);
|
|
bool ExecuteScript(Tenant tenant, Assembly assembly, string filename);
|
|
int ExecuteNonQuery(Tenant tenant, string query);
|
|
SqlDataReader ExecuteReader(Tenant tenant, string query);
|
|
}
|
|
}
|