Exemplo n.º 1
0
        public static void HasTemporalTable(
            this EntityTypeBuilder builder,
            Action <TemporalConfiguration> configuration)
        {
            TemporalConfiguration temporalConfiguration = new TemporalConfiguration(builder);

            configuration?.Invoke(temporalConfiguration);
        }
Exemplo n.º 2
0
        public static void HasTemporalTable <TEntity>(
            this EntityTypeBuilder <TEntity> builder,
            Action <TemporalConfiguration <TEntity> > configuration)
            where TEntity : class
        {
            TemporalConfiguration <TEntity> temporalConfiguration = new TemporalConfiguration <TEntity>(builder);

            configuration?.Invoke(temporalConfiguration);
        }
Exemplo n.º 3
0
 public static void HasTemporalTable(this EntityTypeBuilder builder)
 {
     TemporalConfiguration temporalConfiguration = new TemporalConfiguration(builder);
 }
Exemplo n.º 4
0
 public static void HasTemporalTable <TEntity>(this EntityTypeBuilder <TEntity> builder)
     where TEntity : class
 {
     TemporalConfiguration temporalConfiguration = new TemporalConfiguration(builder);
 }