This commit is contained in:
28810
2019-04-24 16:35:35 +08:00
parent e2d33e943f
commit ddd5e81a67
3 changed files with 10 additions and 2 deletions

View File

@ -114,7 +114,7 @@ using (var uow = fsql.CreateUnitOfWork()) {
public class SongContext : DbContext {
public DbSet<Song> Songs { get; set; }
public DbSet<Song> Tags { get; set; }
public DbSet<Tag> Tags { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder builder) {
builder.UseFreeSql(fsql);