BUG: Column type does not update
Posted: Thu 29 Nov 2018 11:47
1. Create a entity table, add a column with type GUID and save it! Close Entity Developer and reopen Entity Developer again.
2. Create another entity table, copy and paste the GUID column in step 1
3. Change the column type to "String"
4. add migration via command >> Add-Migration v1 -context "ApplicationDbContext" -OutputDir "Data"
Error: he property 'Example.Column1' is of type 'string' which is not supported by current database provider. Either change the property CLR type or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
2. Create another entity table, copy and paste the GUID column in step 1
3. Change the column type to "String"
4. add migration via command >> Add-Migration v1 -context "ApplicationDbContext" -OutputDir "Data"
Error: he property 'Example.Column1' is of type 'string' which is not supported by current database provider. Either change the property CLR type or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.