Example #1
0
 public int Delete(int id, string userId)
 {
     return(DapperFactoy.CreateDapper().Execute("CustomerDB_MemberBaseInfo_Delete", new { LastUpdateUser = userId, Id = id }));
 }
Example #2
0
 public int Add(MemberBaseInfo model)
 {
     return(DapperFactoy.CreateDapper().Execute("CustomerDB_MemberBaseInfo_Add", model));
 }
Example #3
0
 public int Update(MemberBaseInfo model)
 {
     return(return DapperFactoy.CreateDapper().Execute("CustomerDB_MemberBaseInfo_Update", model));
 }
Example #4
0
 public List <MemberBaseInfo> PageListQuery(string condition)
 {
     return(DapperFactoy.CreateDapper().Query <MemberBaseInfo>("CustomerDB_MemberBaseInfo_Query", new { MemberId = modelID }).ToList());
 }