Esempio n. 1
0
        public ImportJobDomainEntity AdaptItemReport(DataRow rw, DataTable dt)
        {
            ImportJobDomainEntity results = new ImportJobDomainEntity();

            results.ApplicationSubDomain   = SafeHelper.GetSafestring(rw["AppicationSubDomain"]);
            results.MatchRefreshInProgress = SafeHelper.GetSafestring(rw["MatchRefreshInProgress"]);
            results.MatchRefreshReady      = SafeHelper.GetSafestring(rw["MatchRefreshReady"]);
            results.MatchRefreshFailed     = SafeHelper.GetSafestring(rw["MatchRefreshFailed"]);
            return(results);
        }
Esempio n. 2
0
        public List <ImportJobDomainEntity> AdaptLists(DataTable dt)
        {
            List <ImportJobDomainEntity> results = new List <ImportJobDomainEntity>();

            foreach (DataRow rw in dt.Rows)
            {
                ImportJobDomainEntity clientlist = new ImportJobDomainEntity();
                clientlist = AdaptItemReport(rw, dt);
                results.Add(clientlist);
            }
            return(results);
        }