mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 02:32:50 +08:00
测试DynamicCompileBuilder - SuperClassVirtualOverride
This commit is contained in:
parent
a55531b112
commit
c1a4ac705d
@ -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>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user