public bool Add() { if (this.TableNumber < 1) { return(false); } return(TableDAL.Add(this.TableNumber)); }
/// <summary> /// 增加一条数据 /// </summary> public int Add(TableEntity model) { return(dal.Add(model)); }
/// <summary> /// 增加一条数据 /// </summary> public int Add(TableModel model) { return(dal.Add(model)); }