public di_operation NewOperation(int ExecutionId, string Description) { var o = new di_operation(); o.operation_desc = Description; o.start_time = DateTime.Now; o.operation_status = "Running"; o.execution_id = ExecutionId; GetConnection().Insert(o); return(o); }
public bool Update(di_operation op) { return(GetConnection().Update(op)); }