You can use nullable boolean (bool?
) field. Then the old records in the database will get a NULL value in that column instead of a zero. This way you will be able to distinguish between records from version 1 and 2. If you do not want to use nullables, you can create a custom script and have a table column that allows nulls (so the old records will have null there), but in that case the loaded objects will have value false
instead of NULL
. I think it is better to use nullable booleans.
the Telerik team