CodeFirst adds database index and default value

This commit is contained in:
sunkaixuan
2019-05-26 17:07:09 +08:00
parent 70f7c85e46
commit 7ef0bce3d4
18 changed files with 398 additions and 132 deletions

View File

@@ -25,6 +25,7 @@ namespace OrmTest
});
public static void Init()
{
CodeFirst();
Updateable();
Json();
Ado();