Update to latest version and show additional features
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using GerstITS.Data.EntityFramework;
|
||||
using GerstITS.Examples.Transactions.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace GerstITS.Examples.Transactions;
|
||||
|
||||
public sealed class ProductDbContext : EntityFrameworkDbContextBase, IDbContext
|
||||
{
|
||||
#region Properties
|
||||
|
||||
public DbSet<ProductEntity> Products => Set<ProductEntity>();
|
||||
|
||||
protected override string ConnectionStringName => "ProductDbContext";
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
public ProductDbContext(IDatabaseConfigurator databaseConfigurator,
|
||||
DbContextOptions<ProductDbContext> dbContextOptions)
|
||||
: base(databaseConfigurator, dbContextOptions)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user