mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-26 14:15:50 +08:00
Update Code First
This commit is contained in:
@@ -21,6 +21,17 @@ namespace OrmTest
|
||||
Console.WriteLine(s);
|
||||
};
|
||||
Db.CodeFirst.InitTables<UnitCodeFirstpks3>();
|
||||
Db.CodeFirst.InitTables<UnitCodeFirstpks32>();
|
||||
}
|
||||
|
||||
[SqlSugar.SugarTable("[dbo].[UnitCodeFirstpks3aaa122]")]
|
||||
public class UnitCodeFirstpks32
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name2 { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
[SqlSugar.SugarTable("UnitCodeFirstpks31","备注" )]
|
||||
public class UnitCodeFirstpks3
|
||||
|
||||
Reference in New Issue
Block a user