Initial Commit ...
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Threading.Tasks;
|
||||
using xDataService.Configuration;
|
||||
|
||||
namespace xDataService.Interfaces {
|
||||
/// <summary>
|
||||
/// Db Seeder used to seed data on Database on startup time ...
|
||||
/// </summary>
|
||||
public interface IXDbSeeder {
|
||||
IXDbSeederConfig Config { get; }
|
||||
XDataServiceConfiguration DataServiceConfiguration { get; }
|
||||
|
||||
/// <summary>
|
||||
/// do all seeding action by helping of Repositories here ...
|
||||
/// don't forget to check UpdateExists value on IXDbSeederConfig for prevent system of duplicate Entity adding on startups ...
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task Seed ();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user