コード例 #1
0
ファイル: DbHelper.cs プロジェクト: etking19/icon600
 public bool AddData(ISqlData data)
 {
     try
     {
         SQLiteCommand command = new SQLiteCommand(data.GetAddCommand(), m_dbConnection);
         command.ExecuteNonQuery();
     }
     catch (Exception e)
     {
         Trace.WriteLine(e);
         return(false);
     }
     return(true);
 }