mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 16:30:52 +08:00
update
@@ -3,12 +3,12 @@
|
|||||||
```csharp
|
```csharp
|
||||||
fsql.CodeFirst
|
fsql.CodeFirst
|
||||||
.ConfigEntity<TestFluenttb1>(a => {
|
.ConfigEntity<TestFluenttb1>(a => {
|
||||||
a.Name("xxdkdkdk1").SelectFilter("a.Id22 > 0");
|
a.Name("xxdkdkdk1");
|
||||||
a.Property(b => b.Id).Name("Id22").IsIdentity(true);
|
a.Property(b => b.Id).Name("Id22").IsIdentity(true);
|
||||||
a.Property(b => b.name).DbType("varchar(100)").IsNullable(true);
|
a.Property(b => b.name).DbType("varchar(100)").IsNullable(true);
|
||||||
})
|
})
|
||||||
.ConfigEntity<TestFluenttb2>(a => {
|
.ConfigEntity<TestFluenttb2>(a => {
|
||||||
a.Name("xxdkdkdk2").SelectFilter("a.Idx > 0");
|
a.Name("xxdkdkdk2");
|
||||||
a.Property(b => b.Id).Name("Id22").IsIdentity(true);
|
a.Property(b => b.Id).Name("Id22").IsIdentity(true);
|
||||||
a.Property(b => b.name).DbType("varchar(100)").IsNullable(true);
|
a.Property(b => b.name).DbType("varchar(100)").IsNullable(true);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user