示例#1
0
 /// <summary>
 /// retrieves an instance of this class
 /// </summary>
 /// <returns>fakeDBInstance</returns>
 public static FakeDB GetInstance()
 {
     if (fakeDBInstance == null)
     {
         fakeDBInstance = new FakeDB();
         return(fakeDBInstance);
     }
     return(fakeDBInstance);
 }
示例#2
0
 public Pet AddPet(Pet petToAdd)
 {
     return(FakeDB.AddPet(petToAdd));
 }
 public Owner AddOwner(Owner ownerToAdd)
 {
     return(FakeDB.AddOwner(ownerToAdd));
 }
示例#4
0
 public PetType AddPetType(PetType petTypeToAdd)
 {
     return(FakeDB.AddPetTypes(petTypeToAdd));
 }