This repository was archived by the owner on Jan 16, 2024. It is now read-only.
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
EFCore indexed column not generated and support for multi column indexing ? #62
Closed
Description
Hi,
Waiting for the 2019 relase (#61 ), I'm trying your extension in VS 2017 and your extension is very useful and nice.
But, I think there is a bug in EFCore model: if your set a non Identity column do "indexed", there is absolutely no "hasIndex" generated in the final context.
I don't understand because it's seems to be developed in this source. (line 305).
And, another question, when I saw the code below, I wonder how to generate a multi-column index in EFCore model ? Like this :
modelBuilder.Entity<Item>()HasIndex((Item b) => new { b.column1, b.column2, b.column3 });
Is it planned ?