asp net core entity framework customize dbcontext class code example
Example: generic dbcontext entity framework core
public class SampleContext : GuidDbContext
{
public IDbSet<Foo> Foos { get; set; }
public IDbSet<Bar> Bars { get; set; }
}