diff --git a/samples/IronHook.Web/Context/SampleDbContext.cs b/samples/IronHook.Web/Context/SampleDbContext.cs index 4115ec9..1da896a 100644 --- a/samples/IronHook.Web/Context/SampleDbContext.cs +++ b/samples/IronHook.Web/Context/SampleDbContext.cs @@ -45,8 +45,8 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity .Property(p => p.UpdateDate) - .HasValueGenerator() - .ValueGeneratedOnAddOrUpdate(); + .HasValueGenerator() + .ValueGeneratedOnAdd(); }); }