GLRISCRMContext context = new GLRISCRMContext(); var b1 = new { RoleCode = string.Empty, RoleName = string.Empty }; var query = "SELECT RoleCode,RoleName " + "FROM Base_tUserRole "; IEnumerable data = context.Database.SqlQuery(b1.GetType(), query);
怎么取到data的值????