//查询某一条数据
[Route(“SelectTable”)]
[HttpGet]
public async Task<List> GetTable()
{
var linq = from m in db.ModelsTable
join r in db.Student on m.Id equals r.Sid
select m;
return await linq.ToListAsync();
}
//查询某一条数据
[Route(“SelectTable”)]
[HttpGet]
public async Task<List> GetTable()
{
var linq = from m in db.ModelsTable
join r in db.Student on m.Id equals r.Sid
select m;
return await linq.ToListAsync();
}