SqlSugar源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
508 B

using OrmTest.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest.Demo
{
public class Mapper : DemoBase
{
public static void Init()
{
var db = GetInstance();
var x = db.Queryable<Student>()
.Mapper((it, cache) =>
{
it.Name = "xx";
}).ToListAsync();
x .Wait();
}
}
}