mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-17 21:49:33 +08:00
Update mongodb
This commit is contained in:
parent
f32f86ad35
commit
6f3e210f75
@ -20,6 +20,13 @@ namespace MongoDbTest
|
||||
var Order = new Order() { Id = 1 };
|
||||
Expression<Func<Order, bool>> exp2 = it => it.Id == Order.Id || it.Name == "a";
|
||||
var json2 = MongoNestedTranslator.Translate(exp2);
|
||||
|
||||
|
||||
Expression<Func<Order, bool>> exp3 = it=> it.IsValidate==true;
|
||||
var json23 = MongoNestedTranslator.Translate(exp3);
|
||||
|
||||
Expression<Func<Order, bool>> exp4 = it => it.IsValidate != true;
|
||||
var json24 = MongoNestedTranslator.Translate(exp4);
|
||||
}
|
||||
}
|
||||
public class Order
|
||||
|
Loading…
Reference in New Issue
Block a user