This commit is contained in:
28810
2020-02-28 18:45:34 +08:00
parent ce7140783e
commit 86b6608bcc
21 changed files with 163 additions and 25 deletions

View File

@ -38,7 +38,7 @@ namespace FreeSql.Extensions.EfCoreFluentApi
});
cf.Entity<SongType>(eb =>
{
eb.HasMany(a => a.Songs).WithOne(a => a.Type).HasForeignKey( a => a.TypeId)
eb.HasMany(a => a.Songs).WithOne(a => a.Type).HasForeignKey(a => a.TypeId);
});
}