示例#1
0
        public UnitOfWork(AdoptionContext context)
        {
            Person              = new PersonRepository(context);
            PersonType          = new PersonTypeRepository(context);
            Address             = new AddressRepository(context);
            Province            = new ProvinceRepository(context);
            County              = new CountyRepository(context);
            District            = new DistrictRepository(context);
            JobInformation      = new JobInformationRepository(context);
            StateFile           = new StateFileRepository(context);
            RoomHouse           = new RoomHouseRepository(context);
            WorkerType          = new WorkerTypeRepository(context);
            MarriageInformation = new MarriageInformationRepository(context);
            MaritalState        = new MaritalStateRepository(context);
            AdoptionProcess     = new AdoptionProcessRepository(context);
            User = new UserRepository(context);

            this.context = context;
        }
 public UserRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
示例#3
0
 public JobInformationRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
 public AddressRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
 public StateFileRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
示例#6
0
 public RoomHouseRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
示例#7
0
 public WorkerTypeRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
 public PersonTypeRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
示例#9
0
 public ProvinceRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
 public DistrictRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
 public MaritalStateRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }
 public CountyRepository(AdoptionContext context) : base(context)
 {
     this.context = context;
 }