mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Add user case test
This commit is contained in:
@@ -45,6 +45,15 @@ namespace OrmTest
|
||||
Db.CodeFirst.InitTables(type);
|
||||
Db1.CodeFirst.InitTables(type);
|
||||
Console.WriteLine("Hello, World!");
|
||||
var list2 = NewUnitTest.Db.Reportable(new List<Unitguidsda>() {
|
||||
new Unitguidsda()
|
||||
}).ToQueryable().ToList();
|
||||
}
|
||||
|
||||
|
||||
public class Unitguidsda
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
}
|
||||
[SugarTable("Test_Table_{year}{month}{day}")]
|
||||
[SplitTable(SplitType.Month)]
|
||||
|
Reference in New Issue
Block a user