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