Example #1
0
 public int Update <T>(T entity) where T : class
 {
     return(ExecuteBySql(DatabaseCommon.UpdateSql <T>(entity).ToString(), DatabaseCommon.GetParameter <T>(entity)));
 }