mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
6a8e49623a
commit
6149033b0e
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using SqlSugar;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@ -15,6 +16,8 @@ namespace OrmTest
|
|||||||
x=it.Id==1
|
x=it.Id==1
|
||||||
}).ToList();
|
}).ToList();
|
||||||
Test(new UnitbModel());
|
Test(new UnitbModel());
|
||||||
|
|
||||||
|
var sql=db.Queryable<Order>().Where(it => SqlFunc.FullTextContains(new string[] {it.Name, it.Name }, "a")).ToSql();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Test(UnitbModel model)
|
public static void Test(UnitbModel model)
|
||||||
|
Loading…
Reference in New Issue
Block a user