예제 #1
0
        public SA_APPLICATION2COMPANY SholdToX()
        {
            int EnumVal = (int)companyType.SholdTo;
            SA_APPLICATION2COMPANY _SA_APPLICATION2COMPANY = this.SA_APPLICATION2COMPANY.FirstOrDefault(p => p.CompanyType == EnumVal);

            return(_SA_APPLICATION2COMPANY);
        }
예제 #2
0
 public SA_APPLICATION2COMPANY BillToX()
 {
     if (IsHaveBillToX())
     {
         int EnumVal = (int)companyType.BillTo;
         SA_APPLICATION2COMPANY _SA_APPLICATION2COMPANY = this.SA_APPLICATION2COMPANY.FirstOrDefault(p => p.CompanyType == EnumVal);
         return(_SA_APPLICATION2COMPANY);
     }
     return(null);
 }