mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
重写了节点的view、viewmodel关系,实现了对画布元素的选取功能,重构了底层依赖,添加了对net .Framework4.6.1以上的Framework类库支持
This commit is contained in:
19
Library.Core/DbSql/IRepositoryBase.cs
Normal file
19
Library.Core/DbSql/IRepositoryBase.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Serein.DbSql
|
||||
{
|
||||
public interface IRepositoryBase<TEntity> where TEntity : class, new()
|
||||
{
|
||||
TEntity GetModelByID(dynamic ID);
|
||||
|
||||
int Add(TEntity Model);
|
||||
|
||||
int Update(TEntity Model);
|
||||
|
||||
bool DeleteByID(dynamic ID);
|
||||
|
||||
bool Delete(Expression<Func<TEntity, bool>> where);
|
||||
|
||||
int UpdateColumns(TEntity model, Expression<Func<TEntity, object>> expression);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user