- 博客(8)
- 收藏
- 关注
原创 BLL
IBaseBll.cs public class IBaseBll where T:class,new() { public IBaseDal obj;//定义一个obj的泛型接口 /// <summary> /// 构造函数 /// </summary> /// <param name="typeN...
2018-07-29 16:33:32 1314
原创 DAL
SQLSERVER类库 CityDal.cs public class CityDal : CityType { public int DeleteInfos(string id) { throw new NotImplementedException(); } public List<...
2018-07-29 16:31:16 220
原创 Factory
DataAssess.cs public class DataAssess { static string assemblyName = ConfigurationManager.AppSettings["DbName"].ToString();//获取根节点 public static T GetFactory(string typeName)//typeNa...
2018-07-29 16:28:55 435
原创 IDAL
IBaseDal.cs public interface IBaseDal where T:class,new() { /// /// 添加信息 /// /// /// int InsertInfos(T model); /// /...
2018-07-29 16:16:31 921
原创 Model
DataModel.cs public class DataModel { public int tCount { get; set; } public int tPage { get; set; } public DataTable proinfos { get; set; } } FenPage.cs ...
2018-07-29 16:14:10 128
原创 GCMS
Model,DB,IDAL,Factory,DAL,BLL,MVC Model,DB(DbHelperSQL.cs),IDAL(Model),Factory(IDAL),DAL(Model,DB,IDAL),BLL(Model,Factory,IDAL),MVC(Model,BLL,SQLSERVER) Web.config
2018-07-29 15:04:02 193
原创 ZSGC
图片上传(ProductInfos model,HttpPostedFileBase ProductImage) string path = Path.Combine(Request.MapPath(“/Img/”),ProductImage.FileName);ProductImage.SaveAs(path);model.ProductImage = “/Img/” + ProductI...
2018-07-29 14:23:34 367
原创 存储过程
–判断存储过程是否存在 if exists(select * from sysobjects where name=’up_CCGCName’) drop proc up_CCGCName go 添加存储过程 –创建添加产品信息的存储过程up_AddProductInfos create proc [dbo].[up_AddProductInfos] @proname varchar...
2018-07-29 14:16:01 209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人