Skip to content

Commit d26ad21

Browse files
committed
- 调整DynamicEntity单元测试
1 parent c761e45 commit d26ad21

File tree

2 files changed

+1
-45
lines changed

2 files changed

+1
-45
lines changed

FreeSql.Tests/FreeSql.Tests/DynamicEntity/DynamicEntityTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ public class DynamicEntityTest
1515
"Host=192.168.0.36;Port=5432;Username=postgres;Password=123; Database=test;ArrayNullabilityMode=Always;Pooling=true;Minimum Pool Size=1")
1616
.UseMonitorCommand(d => Console.WriteLine(d.CommandText)).Build();
1717

18-
1918
[Fact]
2019
public void NormalTest()
2120
{
@@ -68,7 +67,7 @@ public void SuperClassTest()
6867
Type type = DynamicCompileHelper.DynamicBuilder()
6968
.Class("Roles", new TableAttribute() { Name = "T_Role" },
7069
new IndexAttribute("Name_Index", "Name", false))
71-
.SuperClass(typeof(BaseModel))
70+
.Extend(typeof(BaseModel))
7271
.Property("Id", typeof(int),
7372
new ColumnAttribute() { IsPrimary = true, IsIdentity = true, Position = 1 })
7473
.Property("Name", typeof(string),

FreeSql/FreeSql.xml

Lines changed: 0 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)