public PreparedSqlLiteInsertCommand GetInsertCommand(SQLiteConnection conn, string extra) { if (this._insertCommand == null || this._insertCommandExtra != extra) { var insertSql = this.InsertSql(extra); this._insertCommand = new PreparedSqlLiteInsertCommand(conn); this._insertCommand.CommandText = insertSql; this._insertCommandExtra = extra; } return(this._insertCommand); }
public PreparedSqlLiteInsertCommand GetInsertCommand(SQLiteConnection conn, string extra) { if (this._insertCommand == null || this._insertCommandExtra != extra) { var insertSql = this.InsertSql(extra); this._insertCommand = new PreparedSqlLiteInsertCommand(conn); this._insertCommand.CommandText = insertSql; this._insertCommandExtra = extra; } return this._insertCommand; }