public di_execution NewExecution(string Description) { var o = new di_execution(); o.execution_desc = Description; o.start_time = DateTime.Now; o.executed_as = Environment.UserName; o.status = "Running"; GetConnection().Insert(o); return(o); }
public bool Update(di_execution exec) { return(GetConnection().Update(exec)); }