Walaa wrote:
(Of course the string overload version works too for now)
Should we consider this solved?
Well that's up to you of course.
However, personally, I don't like hard-coding strings in code and since the generated code doesn't provide a constant, I would prefer to be able to use the overload with Type for which I have provided a solution which should just work.
Then again, I also prefer generic methods and optional parameters, so I actually prefer
public virtual void DeleteEntitiesDirectly<T>(IRelationPredicateBucket filterBucket = null) where T: CommonBaseEntity
making my code
adapter.DeleteEntitiesDirectly<LegalBodyEntity>();
Incidentally, why aren't optional parameter used? They would make code a lot cleaner.