1、建立model
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class Users
{
private int id;
private string name;
private string email;
public int Id
{
get { return id; }
set { id = value; }
}
public string Name
{
get { return name; }
set { name = value; }
}
public string Email
{
get { return email; }
set { email = value; }
}
}
}