Example #1
0
        public bool MatchWith(DtoLicensePlateInfo toMatch)
        {
            foreach (var predicate in _predicates)
            {
                if (!predicate(toMatch))
                {
                    return(false);
                }
            }

            return(true);
        }
Example #2
0
        public bool MatchWith(DtoLicensePlateInfo toMatch)
        {
            foreach (var predicate in _predicates)
            {
                if (!predicate(toMatch))
                {
                    return false;
                }
            }

            return true;
        }
Example #3
0
 public void Save(DtoLicensePlateInfo licensePlateInfo)
 {
     _db4oContainer.Store(licensePlateInfo);
     _db4oContainer.Commit();
 }
 public void Save(DtoLicensePlateInfo licensePlateInfo)
 {
     _db4oContainer.Store(licensePlateInfo);
     _db4oContainer.Commit();
 }
Example #5
0
        public LicensePlateInfo ToBusinessObject(DtoLicensePlateInfo dtoLicensePlateInfo)
        {
            var biz = AutoMapper.Mapper.Map <DtoLicensePlateInfo, LicensePlateInfo>(dtoLicensePlateInfo);

            return(biz);
        }
Example #6
0
 public LicensePlateInfo ToBusinessObject(DtoLicensePlateInfo dtoLicensePlateInfo)
 {
     var biz = AutoMapper.Mapper.Map<DtoLicensePlateInfo, LicensePlateInfo>(dtoLicensePlateInfo);
     return biz;
 }