public ExtendedUserData GetCurrentEditUserData()
{
using (CarrotCMSDataContext _db = CarrotCMSDataContext.Create()) {
carrot_RootContentSnippet rc = CompiledQueries.cqGetSnippetDataTbl(_db, this.SiteID, this.Root_ContentSnippetID);
if (rc != null) {
return new ExtendedUserData((Guid)rc.Heartbeat_UserId);
} else {
return null;
}
}
}