GIT练习

This commit is contained in:
fengjiayi
2024-08-05 10:11:58 +08:00
parent 1b7d61c390
commit 75333e621f
84 changed files with 11677 additions and 0 deletions

View 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);
}
}