public static CompanyParentsViewItem GetCompanyParentsViewItem(LoginUser loginUser, int childID)
        {
            CompanyParentsView companyParentsView = new CompanyParentsView(loginUser);

            companyParentsView.LoadByChildID(childID);
            if (companyParentsView.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(companyParentsView[0]);
            }
        }
 public CompanyParentsViewItem(DataRow row, CompanyParentsView companyParentsView) : base(row, companyParentsView)
 {
     _companyParentsView = companyParentsView;
 }