public void UpdateConfiguration(ConfigurationItem item) { RepositoryAction.Transaction((c, t) => { var dao = new ConfigDao(c, t); dao.DeleteInsert(ConfigTableRow.FromDomainObject(item)); }); }
public ConfigTableRow AddConfigTableRow(string Application, string PCName, string Key, string Value, string Security) { ConfigTableRow rowConfigTableRow = ((ConfigTableRow)(this.NewRow())); object[] columnValuesArray = new object[] { Application, PCName, Key, Value, Security }; rowConfigTableRow.ItemArray = columnValuesArray; this.Rows.Add(rowConfigTableRow); return(rowConfigTableRow); }
public ConfigTableRowChangeEvent(ConfigTableRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveConfigTableRow(ConfigTableRow row) { this.Rows.Remove(row); }
public void AddConfigTableRow(ConfigTableRow row) { this.Rows.Add(row); }