Basics setup, going to change how repos work
This commit is contained in:
12
DBConnection/Seeders/ISeeder.cs
Normal file
12
DBConnection/Seeders/ISeeder.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace DBConnection.Seeders;
|
||||
|
||||
/// <summary>
|
||||
/// Used for seeding the database with pre-existing data
|
||||
/// </summary>
|
||||
public interface ISeeder
|
||||
{
|
||||
public static string SeedDataDirectory = @"Data/SeedData/";
|
||||
public ModelBuilder SeedData(ModelBuilder builder);
|
||||
}
|
||||
Reference in New Issue
Block a user