예제 #1
0
        public void Sync(PSmartStoreInfo info)
        {
            var pSmartStore = PSmartStore.Create(info);

            _pSmartStoreRepository.InsertOrUpdate(pSmartStore);
            _pSmartStoreRepository.Save();
        }
예제 #2
0
 public static PSmartStore Create(PSmartStoreInfo pSmartStoreInfo)
 {
     return(new PSmartStore(pSmartStoreInfo.Id, pSmartStoreInfo.Shr, pSmartStoreInfo.Date_Created, pSmartStoreInfo.Status, pSmartStoreInfo.Status_Date, pSmartStoreInfo.Uuid));
 }