Lots of data and model setup
This commit is contained in:
8
DCGEngine.Database/Interfaces/IDataSeeder.cs
Normal file
8
DCGEngine.Database/Interfaces/IDataSeeder.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace DCGEngine.Database.Interfaces;
|
||||
|
||||
public interface IDataSeeder
|
||||
{
|
||||
void Seed(ModelBuilder builder);
|
||||
}
|
||||
@@ -5,7 +5,7 @@ public interface ITimeTrackedEntity
|
||||
/// <summary>
|
||||
/// The <see cref="DateTime"/> this entity was first added to the database.
|
||||
/// </summary>
|
||||
public DateTime? DateCreated { get; set; }
|
||||
public DateTime DateCreated { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="DateTime"/> this entity was last updated.
|
||||
|
||||
Reference in New Issue
Block a user