Beispiel #1
0
 public int InsertOrderInfo(OrderInfoModel mOrder)
 {
     ORDER_INFO oi = new ORDER_INFO();
     oi.CREATE_DATE = GetDBTime;
     oi.CREATE_USERID = mOrder.CommonInfo.CreateUserId;
     oi.END_DATE = mOrder.CommonInfo.EndDate;
     oi.ID_CARD = mOrder.IdCardNo;
     oi.KEEP_DATE = mOrder.KeepDate;
     oi.NAME = mOrder.Name;
     oi.NOTICE = mOrder.Notice;
     oi.PHONE = mOrder.Phone;
     oi.STATUS = mOrder.Status;
     oi.ROOM_ID = mOrder.RoomInfo.RoomId;
     oi.ROOM_RATE = mOrder.OrderRoomRate;
     oi.START_DATE = mOrder.CommonInfo.StartDate;
     oi.UPDATE_DATE = oi.CREATE_DATE;
     oi.UPDATE_USERID = mOrder.CommonInfo.UpdateUserId;
     dc.ORDER_INFO.InsertOnSubmit(oi);
     dc.SubmitChanges();
     return oi.ORDER_ID;
 }
Beispiel #2
0
 partial void UpdateORDER_INFO(ORDER_INFO instance);
Beispiel #3
0
 partial void DeleteORDER_INFO(ORDER_INFO instance);
Beispiel #4
0
 partial void InsertORDER_INFO(ORDER_INFO instance);