using Microsoft.EntityFrameworkCore;
using Volo.Abp;

namespace ApiA.EntityFrameworkCore
{
    public static class ApiADbContextModelCreatingExtensions
    {
        public static void ConfigureApiA(this ModelBuilder builder)
        {
            Check.NotNull(builder, nameof(builder));

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

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