mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
add unit test
This commit is contained in:
@@ -327,6 +327,10 @@ namespace OrmTest
|
|||||||
EntryDate = a.EntryDate
|
EntryDate = a.EntryDate
|
||||||
|
|
||||||
} ).ToList();
|
} ).ToList();
|
||||||
|
var x1 = 0;
|
||||||
|
var x2 = 0;
|
||||||
|
var x3 = 0;
|
||||||
|
db.Queryable<Order>().Where(it => SqlFunc.IF(true).Return(-x1).ElseIF(it.Id==1).Return(-x2).End(-x3) == 1).ToArray();
|
||||||
}
|
}
|
||||||
public class UnitPeople
|
public class UnitPeople
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user