コード例 #1
0
        public int InsertPoetryParagraph(PoetryParagraph poetryParagraph)
        {
            //JsonConvert.DeserializeObject<List<Author>>(JsonConvert.SerializeObject(json))
            int a = h.InsertPoetryParagraph(poetryParagraph);

            return(a);
        }
コード例 #2
0
 public int InsertPoetryParagraph(PoetryParagraph poetryParagraph)
 {
     return(DapperService <PoetryParagraph> .ExcuteSqlString("insert into poetryparagraph (TaskID,Number,Paragraph) values(@TaskID,@Number,@Paragraph)", poetryParagraph));
 }