예제 #1
0
        //Contstructor creates reference to address repository

        public CustomerRepository()
        {
            addressRepository = new AddressRepository();
        }
예제 #2
0
        //When constructor fires a reference to address repository is established

        public VendorRepository()
        {
            addressRepository = new AddressRepository();
        }