Wondering if there is a simple way to do this...
I add an object to my entity context but I have not saved changes yet. Therefore there is no ID or key associated to the entity.
I do however bind the grids datasource to the entities context. The data appears in the grid in the appropriate file.
However, if I want to modify or delete a row whereas the entity hasn't been saved, I can't execute a LINQ query or something to get the record; again because it hasn't been saved yet.
Is there a way to get and assign the entity based upon the row selected?
dim detail as Invoice_Detail = gridview.selectedrow(0).... Or something to that extent.
Thanks
Bob
I add an object to my entity context but I have not saved changes yet. Therefore there is no ID or key associated to the entity.
I do however bind the grids datasource to the entities context. The data appears in the grid in the appropriate file.
However, if I want to modify or delete a row whereas the entity hasn't been saved, I can't execute a LINQ query or something to get the record; again because it hasn't been saved yet.
Is there a way to get and assign the entity based upon the row selected?
dim detail as Invoice_Detail = gridview.selectedrow(0).... Or something to that extent.
Thanks
Bob