コード例 #1
0
 public int AddTableFieldInfo(TableFieldInfo tableFieldInfo)
 {
     using (DbConnection conn = new DbConnection())
     {
         return(tableFieldInfo.Save());
     }
 }
コード例 #2
0
 public bool UpdateTableFieldInfo(TableFieldInfo tableFieldInfo)
 {
     using (DbConnection conn = new DbConnection())
     {
         if (tableFieldInfo.Save() > 0)
         {
             return(true);
         }
         return(false);
     }
 }