public FamilyCrudModel(IDaoFactory factory)
 {
     animalDao = factory.GetDao <IAnimalReadOnlyDao <TAnimal> >();
     familyDao = factory.GetDao <IFamilyDao <TAnimal> >();
 }
예제 #2
0
 public FamilyCrudModel(IConversationsContainerAccessor cca, IConversationFactory cf, IDaoFactory factory)
     : base(cca, cf)
 {
     animalDao = factory.GetDao <IAnimalReadOnlyDao <TAnimal> >();
     familyDao = factory.GetDao <IFamilyDao <TAnimal> >();
 }