最簡單的方法可以直接使用DbSet的sqlQuery var product = context.Product.SqlQuery("select * from Product Where ProductID = 1 ");.
確定! 回上一頁