LLBLGEN 3.1
Release date:17-Jun-2011
.NET Framework 2.0
Oracle 9i/10g (MSORACLE)
I have a table CITY with 36000 records which I am fetching by following means.
var datasourcecity = new EntityCollection(new CityEntityFactory());
var bucketcity = new RelationPredicateBucket();
bucketcity.PredicateExpression.Add(CityFields.Flag == StandardFlag.recordvalidflag);
adaptercity.FetchEntityCollection(datasourcecity, bucketcity, 0,
new SortExpression(CityFields.Description |
SortOperator.Ascending));
There are only few field in DB which are CityId, CountryId, Createddate, CreateduserId, Description, Flag, Modifieddate, ModifieduserId, StateId.
I even tried including only CityID, CountryId, StateId and description.
The performance is too slow. It takes around 12 seconds to execute where as if i execute the same directly on DB without LLBLGEN it takes less than a second. Is there a way to resolve this since it leads to perofmance bottlenecks.