コード例 #1
0
 public List <StaticContent> LoadByParentInstanceId(int parentId)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         return(factory.InternalLoadByParentInstanceId(parentId));
     }
 }
コード例 #2
0
 public StaticContent LoadByFriendlyName(string friendlyName)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         return(factory.InternalLoadByFriendlyName(friendlyName));
     }
 }
コード例 #3
0
 public List <StaticContent> LoadByClassDefinitionId(int id)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         return(factory.InternalLoadByClassDefinitionId(id));
     }
 }
コード例 #4
0
 public StaticContent LoadByInstanceName(string instanceName)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         return(factory.InternalLoadByInstanceName(instanceName));
     }
 }
コード例 #5
0
 public StaticContent LoadById(int id)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         return(factory.InternalLoadByPrimaryKey(id));
     }
 }
コード例 #6
0
 public List <StaticContent> LoadAll()
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         return(factory.InternalLoadAll());
     }
 }
コード例 #7
0
 void Delete(StaticContent rootCont)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         factory.InternalDelete(rootCont);
     }
 }
コード例 #8
0
 void Insert(StaticContent rootCont)
 {
     using (StaticContentFactory factory = StaticContentFactory.GetInstance())
     {
         factory.InternalInsert(rootCont);
     }
 }