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