If you want to minimize the number of roundtrips to the database, here is a quick code snippet to remove an entity without having to fetch it first:
Another option is to use a stub:
If you want to minimize the number of roundtrips to the database, here is a quick code snippet to remove an entity without having to fetch it first:
Another option is to use a stub: