mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Add demo
This commit is contained in:
parent
a0c648f4cc
commit
822749f17b
@ -32,6 +32,7 @@ namespace OrmTest
|
||||
}
|
||||
public static void Init()
|
||||
{
|
||||
Unitsdfasyss.Init();
|
||||
Unitdfaysss.Init();
|
||||
Unitadfafasfa1.Init();
|
||||
Unita1ddys.Init();
|
||||
|
24
Src/Asp.NetCore2/PgSqlTest/UserTestCases/Unitdsafasyss.cs
Normal file
24
Src/Asp.NetCore2/PgSqlTest/UserTestCases/Unitdsafasyss.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrmTest
|
||||
{
|
||||
|
||||
public class Unitsdfasyss
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
var db = NewUnitTest.Db;
|
||||
|
||||
db.QueryableByObject(typeof(Order)).AS("Order").ToList();
|
||||
db.QueryableByObject(typeof(Order)).AS("\"public\".Order").ToList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user