码迷,mamicode.com
首页 > 其他好文 > 详细

5_添加购物车 B+M

时间:2018-12-19 20:54:11      阅读:161      评论:0      收藏:0      [点我收藏+]

标签: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; }
}
}

5_添加购物车 B+M

标签:art   bll   space   ons   tab   mod   price   img   text   

原文地址:https://www.cnblogs.com/hianb/p/10145543.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!