Пример #1
0
 public static PersonaDataService GetInstance(string connectionString)
 {
     if (_instance == null)
     {
         _instance = new PersonaDataService(connectionString);
     }
     return(_instance);
 }
Пример #2
0
 public DataService(string connectionString)
 {
     _dataService = PersonaDataService.GetInstance(connectionString);
 }