执行sql方法

This commit is contained in:
chenchun
2022-04-14 20:44:28 +08:00
parent d780529313
commit 3ed42384af
4 changed files with 47 additions and 4 deletions

View File

@@ -21,5 +21,8 @@ namespace Yi.Framework.Repository
public Task<List<T>> GetListAsync(QueryCondition pars);
public Task<bool> DeleteByLogicAsync(List<long> ids);
public Task<bool> UpdateIgnoreNullAsync(T entity);
public Task<List<S>> UseSqlAsync<S>(string sql);
public Task<bool> UseSqlAsync(string sql);
}
}