1
Vote

Truncate strings bigger than max length (Tui & Kea)

description

When a SqlCeResult trys to save a string into a column that is too small for it, it throws an exception. We can find the max length at runtime, cache it, and check each 'string' column, before saving, for length, truncating it if needed.

comments