Fixed the error: Implementation limit exceeded by gilsonjoanelo · Pull Request #1228 · FirebirdSQL/NETProvider

Suggestion for fixing the error "SQL error code = -204
Implementation limit exceeded
block size exceeds implementation restriction" reported some time ago in an issue, I managed to find the point where I needed a test to know the field type and field size.

Test case, I have fields in the Firebird 2.5 database of type CHAR, when I connect via net 8.0 or higher, doing a Where with these fields, I noticed that the code always returned a Cast to Varchar(maxlength), this caused the exception.

Example: Where(p=> p.Field == "Value")