using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using xModels.Base;
namespace xDataService.Interfaces
{
///
/// an Interface to Intruduce Entities for Dynamic Registration ...
///
public interface IXEntityRegisterar
{
///
/// Database Name ...
///
string Name { get; }
///
/// Returns all entity types this plugin wants registered in the DbContext
///
IEnumerable GetEntityTypes();
///
/// Optional: Apply additional per-entity configuration
///
void ConfigureEntities(ModelBuilder modelBuilder);
///
/// Add XDataService Based Entity to List ...
///
///
///
void AddEntity()
where TEntity : XBaseEntity;
}
}