SqlServerOptimisticConcurrencyTests fail if run without an existing database, being unable to insert values in the Id columns when seeding the database, because they are marked with IDENTITY.
The fix replicates code from SqlServerValueGeneratorSelector to determine if the column corresponding to a property must be marked with IDENTITY.