mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update NANA
This commit is contained in:
parent
1c25d6eef8
commit
7e5e30c99c
@ -11,6 +11,7 @@ namespace GbaseTest
|
||||
InstanceFactory.CustomAssemblies = new System.Reflection.Assembly[] {
|
||||
typeof(SqlSugar.HANAConnector.HANAProvider).Assembly };
|
||||
|
||||
//创建DB
|
||||
var db = new SqlSugarClient(new ConnectionConfig()
|
||||
{
|
||||
ConnectionString = "DRIVER={HANAQAS64};SERVERNODE=172.16.10.12:32015;UID=WLH_BPM_TASK;PWD=BPM4pass1;DATABASENAME=Q00",
|
||||
@ -27,7 +28,6 @@ namespace GbaseTest
|
||||
|
||||
});
|
||||
|
||||
|
||||
db.Open();
|
||||
db.Close();
|
||||
|
||||
@ -35,6 +35,9 @@ namespace GbaseTest
|
||||
|
||||
var list = db.Queryable<DF_MM_POINFO>().Where(IT => IT.ID > 0).ToList();
|
||||
|
||||
int count = 0;
|
||||
var listPage = db.Queryable<DF_MM_POINFO>().Where(IT => IT.ID > 0).ToPageList(2, 2, ref count);
|
||||
|
||||
Console.WriteLine("Hello, World!");
|
||||
}
|
||||
public class DF_MM_POINFO
|
||||
|
Loading…
Reference in New Issue
Block a user