public void Update(WorkOrder workOrder) { var table = new WorkOrderDynamic(); table.Update(workOrder, "WHERE WorkOrderID = @0", workOrder.WorkOrderId.ToString()); }
public void Delete(WorkOrder workOrder) { var table = new WorkOrderDynamic(); table.Delete("WHERE WorkOrderID = @0", workOrder.WorkOrderId.ToString()); }
public void Add(WorkOrder workOrder) { var table = new WorkOrderDynamic(); table.Insert(workOrder); }