标签:art bll space ons tab mod price img text
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using MODEL;
namespace BLL
{
public class ZhpBLL<T>
{
ZhpDAL<T> dal = new ZhpDAL<T>();
//显示+下拉绑定
public List<T> GetList(string TableName)
{
return dal.GetList(TableName);
}
}
}
Model
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MODEL
{
public class ZhpMODEL
{
public int CarID { get; set; }
public String CarTypeName { get; set; }
public int CarType { get; set; }
}
public class CarMODEL
{
public int ID { get; set; }
public String Pai { get; set; }
public String Xi { get; set; }
public String Price { get; set; }
public String Img { get; set; }
public String Age { get; set; }
public String Bian { get; set; }
public String Xing { get; set; }
public String Cheng { get; set; }
public String PaiLiang { get; set; }
public String Zhun { get; set; }
public String Zuo { get; set; }
public String You { get; set; }
public String Cocle { get; set; }
public String PaiDi { get; set; }
}
}
标签:art bll space ons tab mod price img text
原文地址:https://www.cnblogs.com/hianb/p/10145543.html