Method:1
var rolename= from r in db.Roles
where r.Id == model.RoleId
select r.Name;
Method:2
var rolename= db.Roles.Where(r => r.Id == model.RoleId).FirstOrDefault();
Method:3
var roleStore = new RoleStore<IdentityRole>(db);
var roleManager = new RoleManager<IdentityRole>(roleStore);
var rolename= roleManager.FindById(model.RoleId);
&#34;我只想要rolename。请告诉我正确的方法(查询)其他任何内容。&#34;