internal ContentCategory(vw_carrot_CategoryCounted c) {
			if (c != null) {
				this.ContentCategoryID = c.ContentCategoryID;
				this.SiteID = c.SiteID;
				this.CategorySlug = c.CategorySlug;
				this.CategoryText = c.CategoryText;
				this.UseCount = c.UseCount;
				this.IsPublic = c.IsPublic;
			}
		}
 internal ContentCategory(vw_carrot_CategoryCounted c)
 {
     if (c != null)
     {
         this.ContentCategoryID = c.ContentCategoryID;
         this.SiteID            = c.SiteID;
         this.CategorySlug      = c.CategorySlug;
         this.CategoryText      = c.CategoryText;
         this.UseCount          = c.UseCount;
         this.IsPublic          = c.IsPublic;
     }
 }
		internal ContentCategory(vw_carrot_CategoryCounted c) {
			if (c != null) {
				this.ContentCategoryID = c.ContentCategoryID;
				this.SiteID = c.SiteID;
				this.CategorySlug = ContentPageHelper.ScrubSlug(c.CategorySlug);
				this.CategoryText = c.CategoryText;
				this.UseCount = c.UseCount;
				this.PublicUseCount = 1;
				this.IsPublic = c.IsPublic;

				SiteData site = SiteData.GetSiteFromCache(c.SiteID);
				if (site != null) {
					this.CategoryURL = ContentPageHelper.ScrubFilename(c.ContentCategoryID, String.Format("/{0}/{1}", site.BlogCategoryPath, c.CategorySlug));
				}
			}
		}
        internal ContentCategory(vw_carrot_CategoryCounted c)
        {
            if (c != null) {
                this.ContentCategoryID = c.ContentCategoryID;
                this.SiteID = c.SiteID;
                this.CategorySlug = ContentPageHelper.ScrubSlug(c.CategorySlug);
                this.CategoryText = c.CategoryText;
                this.UseCount = c.UseCount;
                this.PublicUseCount = 1;
                this.IsPublic = c.IsPublic;

                SiteData site = SiteData.GetSiteFromCache(c.SiteID);
                if (site != null) {
                    this.CategoryURL = ContentPageHelper.ScrubFilename(c.ContentCategoryID, String.Format("/{0}/{1}.aspx", site.BlogCategoryPath, c.CategorySlug.Trim()));
                }
            }
        }