public static TrackBackEntry Get(Guid TrackbackQueueID) { TrackBackEntry _item = null; using (CarrotCMSDataContext _db = CarrotCMSDataContext.GetDataContext()) { vw_carrot_TrackbackQueue query = CompiledQueries.cqGetTrackbackByID(_db, TrackbackQueueID); _item = new TrackBackEntry(query); } return(_item); }
internal TrackBackEntry(vw_carrot_TrackbackQueue c) { if (c != null) { SiteData site = SiteData.GetSiteFromCache(c.SiteID); this.TrackbackQueueID = c.TrackbackQueueID; this.Root_ContentID = c.Root_ContentID; this.TrackBackURL = c.TrackBackURL; this.TrackBackResponse = c.TrackBackResponse; this.CreateDate = site.ConvertUTCToSiteTime(c.CreateDate); this.ModifiedDate = site.ConvertUTCToSiteTime(c.ModifiedDate); this.TrackedBack = c.TrackedBack; } }
internal TrackBackEntry(vw_carrot_TrackbackQueue c) { if (c != null) { SiteData site = SiteData.GetSiteFromCache(c.SiteID); this.TrackbackQueueID = c.TrackbackQueueID; this.Root_ContentID = c.Root_ContentID; this.TrackBackURL = c.TrackBackURL; this.TrackBackResponse = c.TrackBackResponse; this.CreateDate = site.ConvertUTCToSiteTime(c.CreateDate); this.ModifiedDate = site.ConvertUTCToSiteTime(c.ModifiedDate); this.TrackedBack = c.TrackedBack; } }