예제 #1
0
 public void UpdateStatusInfo(Status_info payInfo)
 {
     context.Entry(payInfo).State = EntityState.Modified;
 }
예제 #2
0
 public void InsertStatusInfo(Status_info statusInfo)
 {
     int id = context.Database.SqlQuery<int>("GetStatusInfoMaxID").Single() + 1;
     context.Status_info.Add(statusInfo);
 }