|
|
|
@ -62,7 +62,6 @@ namespace Yavsc.Models
|
|
|
|
if (et.ClrType.GetInterface("IBaseTrackedEntity")!=null)
|
|
|
|
if (et.ClrType.GetInterface("IBaseTrackedEntity")!=null)
|
|
|
|
et.FindProperty("DateCreated").IsReadOnlyAfterSave = true;
|
|
|
|
et.FindProperty("DateCreated").IsReadOnlyAfterSave = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
|
|
|