mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
update
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user