Hi Frans,
Is there a method in LinqSupportClasses for converting a lambda to a RelationPredicateBucket? I had a quick look but nothing immediately jumped out at me.
I was hoping to add some extension methods to UnitOfWork2 to do this sort of thing:
var work = new UnitOfWork2();
work.AddDeleteEntitiesDirectlyCall<Customer>(x => x.Country == "UK");
rather than:
var work = new UnitOfWork2();
work.AddDeleteEntitiesDirectlyCall(typeof(Customer),
new RelationPredicateBucket(CustomerFields.Country == "UK")
);
Thanks