public Config RefreshIOInfo(DataTable dt) { using (IoMapConfigOperator op = new IoMapConfigOperator()) { this.Config.IomapInfo.IoMapTable = dt; op.RefreshMap(Config); } return(Config); }
public Config RefreshIOInfo(DataTable dt, string fileName) { using (IoMapConfigOperator op = new IoMapConfigOperator()) { this.Config.IomapInfo.IoMapTable = dt; this.Config.IomapInfo.FileName = fileName; op.RefreshMap(Config); } return(Config); }