public DynamicBackingItem(int Id, DynamicBackingItemType Type)
 {
     if (Type == DynamicBackingItemType.Media)
     {
         this.media = ExamineBackedMedia.GetUmbracoMedia(Id);
         this.Type  = Type;
     }
     else
     {
         this.content = CompatibilityHelper.ConvertToNode(UmbracoContext.Current.ContentCache.GetById(Id));
         this.Type    = Type;
     }
 }
        public DynamicBackingItem(int Id)
        {
            var n = CompatibilityHelper.ConvertToNode(UmbracoContext.Current.ContentCache.GetById(Id));

            this.content = n;
            this.Type    = DynamicBackingItemType.Content;
            if (n.Id == 0 && Id != 0)
            {
                this.media = ExamineBackedMedia.GetUmbracoMedia(Id);
                this.Type  = DynamicBackingItemType.Media;
                if (this.media == null)
                {
                    this.Type = DynamicBackingItemType.Content;
                }
                return;
            }
        }