I use:
LLBLGen 2.5 - Release 10.05.2007
Firebird 2.0.1
FirebirdClient 2.0.1
I'm not absolutely sure because I don't know if am missing something or doing something wrong, but I think the ExcludeIncludeFieldsList doesn't work.
This is the test:
private void FillCollection()
{
EntityCollection<SomeEntity> someCollection = new EntityCollection<SomeEntity>();
ExcludeIncludeFieldsList myIncludeExcludeFields = new ExcludeIncludeFieldsList();
myIncludeExcludeFields.Add(SomeFields.Country);
myIncludeExcludeFields.Add(SomeFields.City);
using (DataAccessAdapter adapter = new DataAccessAdapter())
{
adapter.FetchEntityCollection(someCollection, null, 0, null, null, myIncludeExcludeFields);
}
dgTest01.SetDataBinding(someCollection, string.Empty);
dgTest01.RetrieveStructure();
}
Always retrieves all the Fields, even if I change ExcludeContainedFields the resulset is the same, all the Fields, like whether ExcludeIncludeFieldsList does nothing.
Regards
Gianfranco