mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update TDengine Demo
This commit is contained in:
parent
6c961c3d46
commit
0225acd80c
@ -9,8 +9,13 @@ namespace TDengineTest
|
||||
{
|
||||
public static void CodeFirst(SqlSugarClient db)
|
||||
{
|
||||
//建库
|
||||
db.DbMaintenance.CreateDatabase();
|
||||
|
||||
//简单建表
|
||||
CodeFirst1(db);
|
||||
|
||||
//更多建表用例
|
||||
db.CodeFirst.InitTables<CodeFirst03>();
|
||||
db.Insertable(new CodeFirst03()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user