This commit is contained in:
sunkaixuan 2025-01-18 15:42:45 +08:00
parent 2f6c60885c
commit bb2876593d

View File

@ -50,8 +50,13 @@ namespace OrmTest
.AsType(typeof(UserInfo001))
.Select<IUserInfo001>().ToListAsync().GetAwaiter().GetResult();
//Update
var userInfo3 = db.Queryable<UserInfo001>()
.Select<IUserInfo001>().ToList();
var userInfo4 = db.Queryable<UserInfo001>()
.Select<IUserInfo001>().ToSqlString();
}
public interface IUserInfo001
{