public static void ConfigureReactivatedDate <TEntity, TDependentEntity, TKey>(this OwnedNavigationBuilder <TEntity, TDependentEntity> @this)
            where TEntity : class, IAggregateRoot
            where TDependentEntity : class, IHasReactivatedDate <TKey>
        {
            @this.ConfigureReactivatedDate();

            @this.Property(e => e.DeactivatedBy)
            .IsRequired(false);

            @this.Property(e => e.ReactivatedBy)
            .IsRequired(false);
        }
 public static void ConfigureEntity <TEntity, TDependentEntity, TKey>(this OwnedNavigationBuilder <TEntity, TDependentEntity> @this)
     where TEntity : class, IAggregateRoot
     where TDependentEntity : class, IEntity <TKey>
 {
     @this.HasKey(nameof(IEntity <object> .Id));
 }