Exemple #1
0
        public static CustomerRelationship GetCustomerRelationship(LoginUser loginUser, int customerRelationshipID)
        {
            CustomerRelationships customerRelationships = new CustomerRelationships(loginUser);

            customerRelationships.LoadByCustomerRelationshipID(customerRelationshipID);
            if (customerRelationships.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(customerRelationships[0]);
            }
        }
Exemple #2
0
 public CustomerRelationship(DataRow row, CustomerRelationships customerRelationships) : base(row, customerRelationships)
 {
     _customerRelationships = customerRelationships;
 }