Ejemplo n.º 1
0
 public FamilyCrudModel(IConversationsContainerAccessor cca, IConversationFactory cf, IDaoFactory factory)
     : base(cca, cf)
 {
     animalDao = factory.GetDao <IAnimalReadOnlyDao <TAnimal> >();
     familyDao = factory.GetDao <IFamilyDao <TAnimal> >();
 }
 public FamilyCrudModel(IDaoFactory factory)
 {
     animalDao = factory.GetDao <IAnimalReadOnlyDao <TAnimal> >();
     familyDao = factory.GetDao <IFamilyDao <TAnimal> >();
 }
Ejemplo n.º 3
0
 public MarcaCrudService(IDaoFactory daoFactory, IEntityValidator entityValidator)
     : this(daoFactory.GetDao <IEntityDao <Marca> >(), entityValidator)
 {
     _daoFactory = daoFactory;
 }