public static bool UpdateUser(LinkAddressInfo linkAddress)
 {
     using (DapperDb db = DapperDbFactory.CreateDb())
     {
         return(db.Update <LinkAddressInfo>(linkAddress));
     }
 }
示例#2
0
 public static bool UpdateUser(FateUserInfo user)
 {
     using (DapperDb db = DapperDbFactory.CreateDb())
     {
         return(db.Update <FateUserInfo>(user));
     }
 }