I have created a new page type called "HeroHeader". I can see that in the database it created a table for that new page type.
Is there a way I can access this table data from a webpart code behind?
Some thing like
var record = GetPageTypeData("HeroHeader");
var colValueById = record["HeaderId"][1];