Model添加类 Customers
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 6 namespace WebApplication2.Models 7 { 8 public class Customers 9 { 10 public string CustomerID { get; set; } 11 public string CompanyName { get; set; } 12 public string ContactName { get; set; } 13 public string ContactTitle { get; set; } 14 public string Address { get; set; } 15 public string City { get; set; } 16 } 17 }