This question is locked. New answers and comments are not allowed.
Hi,
I want to use OpenAccess (not the classical version) and have a question about deleting objects from a list or clearing the complete list.
I've found that How to: Delete Objects in documentation. I've tried this and it works for me.
OpenAccess generates a list of objects (IList<Object>) if there is a 1..n relationship between tables. These lists know Remove() and Clear() methods, I would prefer to use to achieve e.g. clearance the whole list and persist with SaveChanges() in database. Is there a best practice for that or what would you suggest?
I want to use OpenAccess (not the classical version) and have a question about deleting objects from a list or clearing the complete list.
I've found that How to: Delete Objects in documentation. I've tried this and it works for me.
OpenAccess generates a list of objects (IList<Object>) if there is a 1..n relationship between tables. These lists know Remove() and Clear() methods, I would prefer to use to achieve e.g. clearance the whole list and persist with SaveChanges() in database. Is there a best practice for that or what would you suggest?