mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove explicit key def. which duplicated convention
This commit is contained in:
parent
b8cefcb493
commit
5889d90e3a
1 changed files with 0 additions and 2 deletions
|
|
@ -8,8 +8,6 @@ public class BaseEntityTypeConfiguration<TBase> : IEntityTypeConfiguration<TBase
|
|||
{
|
||||
public virtual void Configure(EntityTypeBuilder<TBase> entityTypeBuilder)
|
||||
{
|
||||
entityTypeBuilder.HasKey(b => b.Id);
|
||||
|
||||
entityTypeBuilder.Property(b => b.Id)
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue