Skip to content

EfSchemaCompare limitations

Jon P Smith edited this page Apr 22, 2019 · 6 revisions

There are a few limitations on what the EfSchemaCompare feature can check.

Checks that the system can't do

  1. Because I use EF Core's scaffolder I cannot check if an index is applied to a foreign key (the scaffolder assumes EF Core will do that by default). EF Core adds indexes to foreign keys.

Checks that my software doesn't currently do

  1. I have not included code to find/check alternate keys. I have added an issue (#1) to track this.
  2. I have not included code to find/check sequences.

DbQuery cannot be checked

I cannot (currently) check DbQuery types. I output one warning with all the DbQuery types in so that you know that haven't been checked. You need to ignoreTheseErrors to ignore the error.

Clone this wiki locally