1 使用原生SQL语句更新--Database.ExecuteSqlCommand
假设你有一张如图9-1所示的Payment数据库表。
图9-1
1.1 实体类型:
1 public class Payment 2 { 3 public int PaymentId { get; set; } 4 public decimal Amount { get; set; } 5 6 public string Vendor { get; set; } 7 }
假设你有一张如图9-1所示的Payment数据库表。
图9-1
1.1 实体类型:
1 public class Payment 2 { 3 public int PaymentId { get; set; } 4 public decimal Amount { get; set; } 5 6 public string Vendor { get; set; } 7 }
相关文章: