public static DqliteDataRecord ExecuteQuery(this DqliteConnector connector, PreparedStatement preparedStatement)
 => connector.ExecuteQuery(preparedStatement, PARAMETER_EMPTY);
Пример #2
0
 public DqliteClient(DqliteConnectionStringBuilder settings, bool ConnectLeader = false)
 {
     this.connector = new DqliteConnector(settings, ConnectLeader);
 }
 public static DqliteDataRecord ExecuteQuery(this DqliteConnector connector, DatabaseRecord database, string commandText)
 => connector.ExecuteQuery(database, commandText, PARAMETER_EMPTY);
 public static StatementResult ExecuteNonQuery(this DqliteConnector connector, PreparedStatement preparedStatement)
 => connector.ExecuteNonQuery(preparedStatement, PARAMETER_EMPTY);
 public static StatementResult ExecuteNonQuery(this DqliteConnector connector, DatabaseRecord database, string commandText)
 => connector.ExecuteNonQuery(database, commandText, PARAMETER_EMPTY);
 public static Task <DqliteDataRecord> ExecuteQueryAsync(this DqliteConnector connector, PreparedStatement preparedStatement, CancellationToken cancellationToken = default(CancellationToken))
 => connector.ExecuteQueryAsync(preparedStatement, PARAMETER_EMPTY, cancellationToken);
 public static Task <DqliteDataRecord> ExecuteQueryAsync(this DqliteConnector connector, DatabaseRecord database, string commandText, CancellationToken cancellationToken = default(CancellationToken))
 => connector.ExecuteQueryAsync(database, commandText, PARAMETER_EMPTY, cancellationToken);