示例#1
0
        public Customer FindBy(Guid id)
        {
            Customer customer = new CustomerProxy();
            customer.Id = Guid.NewGuid();
            customer.Name = "Tom";

            ((CustomerProxy)customer).OrderRepository = _orderRepository;

            return customer;
        }
示例#2
0
        public Customer FindBy(Guid id)
        {
            Customer customer = new CustomerProxy();

            customer.Id   = Guid.NewGuid();
            customer.Name = "Tom";

            ((CustomerProxy)customer).OrderRepository = _orderRepository;

            return(customer);
        }