Пример #1
0
 /// <summary>
 /// Adoptive manager constructor, creates pet context
 /// </summary>
 public AdoptiveManager()
 {
     Pet = new PetContext();
     Pet.Database.EnsureCreated();
 }
Пример #2
0
 /// <summary>
 /// Users manager constructor
 /// </summary>
 public UsersManager()
 {
     Pet = new PetContext();
     Pet.Database.EnsureCreated();
 }
 /// <summary>
 /// Expiring vaccination manager constructor, creates pet context
 /// </summary>
 public ExpiringVaccinationsManager()
 {
     Pet = new PetContext();
     Pet.Database.EnsureCreated();
 }