示例#1
0
        public static CustomerHubCustomView GetCustomerHubCustomView(LoginUser loginUser, int customerHubCustomViewID)
        {
            CustomerHubCustomViews customerHubCustomViews = new CustomerHubCustomViews(loginUser);

            customerHubCustomViews.LoadByCustomerHubCustomViewID(customerHubCustomViewID);
            if (customerHubCustomViews.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(customerHubCustomViews[0]);
            }
        }
示例#2
0
 public CustomerHubCustomView(DataRow row, CustomerHubCustomViews customerHubCustomViews) : base(row, customerHubCustomViews)
 {
     _customerHubCustomViews = customerHubCustomViews;
 }