hiya,
Thanks for that.
I am struggling to see where this would fit in with a datagridView_RowsRemoved eventHandler....I can't see how I can grab the Id of the selected row from the event args.
This the code I have so far..far from complete but I am hoping that it can show where I am going wrong.
private void dgvDeliveryProducts_RowsRemoved(object sender, DataGridViewRowsRemovedEventArgs e)
{
//at the moment, I have hard-coded the args..but I have to somehow apply these args to the entityCollection
TblDeliveryProductsEntity deliveryProductToBeDeleted = new TblDeliveryProductsEntity(0, "12344");
UnitOfWork uow = new UnitOfWork();
uow.AddForDelete(deliveryProductToBeDeleted);
uow.Commit(new Transaction(IsolationLevel.ReadCommitted, "UOW"), true);
//ERROR: isolationLevel does not exist in this context.
Does anyone know why I get the "isloationLevel" error?
many thanks,
yogi