Esempio n. 1
0
 public static DbContextOptionsBuilder <TContext> UseDataStorage <TContext>(
     this DbContextOptionsBuilder <TContext> builder, IConnectionFactory connectionFactory, DbConnection connection)
     where TContext : DbContext
 {
     return(connectionFactory.AddConnection(builder, connection));
 }