using Microsoft.EntityFrameworkCore;
using Volo.Abp;

namespace ApiB.EntityFrameworkCore
{
    public static class ApiBDbContextModelCreatingExtensions
    {
        public static void ConfigureApiB(this ModelBuilder builder)
        {
            Check.NotNull(builder, nameof(builder));

            /* Configure your own tables/entities inside here */

            //builder.Entity<YourEntity>(b =>
            //{
            //    b.ToTable(ApiBConsts.DbTablePrefix + "YourEntities", ApiBConsts.DbSchema);
            //    b.ConfigureByConvention(); //auto configure for the base class props
            //    //...
            //});
        }
    }
}