I use the modifications to the adapter to have paging support (found in 3rd party section).
But I've a "ORMQueryExecutionException" when I use it :
SD.LLBLGen.Pro.ORMSupportClasses.ORMQueryExecutionException: An exception was caught during the execution of a retrieval query: The size (1073741823) given to the column 'ENote' exceeds the maximum allowed for any data type (8000).. Check InnerException, QueryExecuted and Parameters of this exception to examine the cau
se of this exception.
The field "ENote" is a ntext(16) field.
When I take a look in DataBaseSpecific/PersistenceInfoFactory.cs for this entity I see :
toReturn.AddFieldPersistenceInfo("ENote", new FieldPersistenceInfo("HRANew", "dbo", "EMPLOYEE", "E_NOTE", true, (int)SqlDbType.NText, 1073741823, 0, 0, false, ""));
so .. I see '1073741823' instead of '16'
It's a bug or I made an error ? How to retrieve the real SQL length (16) ?
Info : ORMSupportClasses version 1.0.2003.3