public List <StaticContent> LoadByParentInstanceId(int parentId) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { return(factory.InternalLoadByParentInstanceId(parentId)); } }
public StaticContent LoadByFriendlyName(string friendlyName) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { return(factory.InternalLoadByFriendlyName(friendlyName)); } }
public List <StaticContent> LoadByClassDefinitionId(int id) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { return(factory.InternalLoadByClassDefinitionId(id)); } }
public StaticContent LoadByInstanceName(string instanceName) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { return(factory.InternalLoadByInstanceName(instanceName)); } }
public StaticContent LoadById(int id) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { return(factory.InternalLoadByPrimaryKey(id)); } }
public List <StaticContent> LoadAll() { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { return(factory.InternalLoadAll()); } }
void Delete(StaticContent rootCont) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { factory.InternalDelete(rootCont); } }
void Insert(StaticContent rootCont) { using (StaticContentFactory factory = StaticContentFactory.GetInstance()) { factory.InternalInsert(rootCont); } }