CodeFirst BUG

This commit is contained in:
sunkaixuna
2021-05-15 22:17:39 +08:00
parent d51cd36e98
commit dda289c7cc
3 changed files with 29 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using System;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -34,6 +35,13 @@ namespace OrmTest
id=it.a,
b=it.b
}).ToList();
Db.CodeFirst.InitTables<UnitTest012213>();
}
public class UnitTest012213
{
[SugarColumn(ColumnDataType = "image,longblob")]
public byte[] x { get; set; }
}
public class UnitCodeTest1
{