示例#1
0
 public BE.Click GetClickByClickGuid(Guid clickGuid)
 {
     try
     {
         DA.ClickGateway gateway = new DA.ClickGateway();
         BE.Click result = new BE.Click();
         result = gateway.GetByPK(clickGuid).ToBusinessEntity();
         return result;
     }
     catch (Exception ex) { throw ex; }
 }
示例#2
0
        public static BE.Click ToBusinessEntity(this DC.Click dcClick)
        {
            BE.Click clickResult = new BE.Click()
            {
                ClickGuid = dcClick.ClickGuid,
                FacilityGuid = dcClick.FacilityGuid,
                ListingTypeGuid = dcClick.ListingTypeGuid,
                TimeStamp = dcClick.TimeStamp,
            };

            return clickResult;
        }