/// <summary> /// 得到一个对象实体 /// </summary> public static T GetModel(string zj) { Bridge <T> bll = new Bridge <T>(); return(bll.GetModel(zj)); }
/// <summary> /// 更新一条数据 /// </summary> public static bool Update(T model) { Bridge <T> bll = new Bridge <T>(); return(bll.Update(model)); }
/// <summary> /// 删除一条数据 /// </summary> public static bool Delete(string zj) { Bridge <T> bll = new Bridge <T>(); return(bll.Delete(zj)); }
/// <summary> /// 增加一条数据 /// </summary> public static void Add(T model) { Bridge <T> bll = new Bridge <T>(); bll.Add(model); }