测试DynamicCompileBuilder - SuperClassVirtualOverride

This commit is contained in:
Daily 2024-04-09 17:24:24 +08:00
parent a55531b112
commit c1a4ac705d

View File

@ -106,7 +106,7 @@ namespace FreeSql.Tests.DynamicEntity
new ColumnAttribute() { IsPrimary = true, IsIdentity = true, Position = 1 }) new ColumnAttribute() { IsPrimary = true, IsIdentity = true, Position = 1 })
.Property("Name", typeof(string), .Property("Name", typeof(string),
new ColumnAttribute() { StringLength = 20, Position = 2 }) new ColumnAttribute() { StringLength = 20, Position = 2 })
.Property("Operators", typeof(string), true) //重写 virtual 属性 .Property("Operators", typeof(string), true,new ColumnAttribute() { StringLength = 20} ) //重写 virtual 属性
.Build(); .Build();
var dict = new Dictionary<string, object> var dict = new Dictionary<string, object>
{ {