(Related to #20) It might be required to exclude some fields from a fetch, e.g. because these fields are very big (data wise) and not needed for the use case the data is obtained.
typical syntax:
var employees = ctx.Employees.Where(e=>e.City=="The Hague").ExcludeFields(e=>e.Photo);
ExcludeFields only works on the final projection as it otherwise has little effect.
To avoid long lists of fields to exclude, an IncludeFields is added too, it allows the user to specify only the fields required.
PK and FK fields are always fetched and not excludable, to make sure graph management of the entities is preserved.
(Related to #20) It might be required to exclude some fields from a fetch, e.g. because these fields are very big (data wise) and not needed for the use case the data is obtained.
typical syntax:
ExcludeFields only works on the final projection as it otherwise has little effect.
To avoid long lists of fields to exclude, an IncludeFields is added too, it allows the user to specify only the fields required.
PK and FK fields are always fetched and not excludable, to make sure graph management of the entities is preserved.