- FreeSql.Repository 增加 filter 参数,现实数据过滤 + 验证;

如:var postRepos = fsql.GetGuidRepository<Post>(a => a.TopicId == 1); postRepos CURD 方法都会以 lambad 条件作为查询或验证,Update/Insert验证错误时会抛出异常。
- ISelect 增加 First/FirstAsync;
This commit is contained in:
28810
2019-03-02 20:46:26 +08:00
parent a2f4a8bcd8
commit 30385d2e91
10 changed files with 84 additions and 34 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.1.6</Version>
<Version>0.1.7</Version>
<Authors>YeXiangQin</Authors>
<Description>FreeSql 通用仓库层现实,支持 MySql/SqlServer/PostgreSQL/Oracle/Sqlite 数据库。</Description>
<PackageProjectUrl>https://github.com/2881099/FreeSql</PackageProjectUrl>