mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update mongodb
This commit is contained in:
@@ -189,6 +189,10 @@ namespace MongoDbTest
|
||||
var list22= db.Queryable<Student>()
|
||||
.Select(it=>it.Name).ToList();
|
||||
if (list22.First() != "a") Cases.ThrowUnitError();
|
||||
|
||||
var list23 = db.Queryable<Student>()
|
||||
.Select(it => it.Name.ToUpper()).ToList();
|
||||
if (list23.First() != "A") Cases.ThrowUnitError();
|
||||
}
|
||||
[SqlSugar.SugarTable("UnitStudent1231sds3z1")]
|
||||
public class Student : MongoDbBase
|
||||
|
Reference in New Issue
Block a user