Exemplo n.º 1
0
 public static PostgresInteraction GetInstance()
 {
     if (instance == null)
     {
         instance = new PostgresInteraction(PostgresConnection.GetConnection());
     }
     return(instance);
 }
Exemplo n.º 2
0
 public static PostgresInteraction GetInstance(DBConnection connection)
 {
     if (instance == null)
     {
         instance = new PostgresInteraction(connection);
     }
     return(instance);
 }