示例#1
0
        private DataTableRow CreateDataTableRow(Person person)
        {
            var newDataTableRow = new DataTableRow
            {
                DeleteAction = DeleteTableRow,
                Data         = person
            };

            return(newDataTableRow);
        }
示例#2
0
 private void DeleteTableRow(DataTableRow tableRow)
 {
     Db.Transact(() => { tableRow.Data.Delete(); });
     this.DataTable.LoadRows();
 }