public static DatabaseBroker Session()
 {
     if (Broker == null)
     {
         Broker = new DatabaseBroker();
     }
     return(Broker);
 }
Exemple #2
0
 public PlaceRepository()
 {
     broker = DatabaseBroker.Session();
 }
Exemple #3
0
 public PersonRepository()
 {
     broker = DatabaseBroker.Session();
 }