Class SqlComponent
SQL component. Scheme: sql.
Provides database polling (consumer) and query execution (producer)
over any ADO.NET provider via .
URI examples:
sql:SELECT * FROM orders?mode=Poll&dataSource=main&delay=5000sql:INSERT INTO audit(msg) VALUES(:#msg)?dataSource=mainsql:sp_Calculate?mode=Procedure&dataSource=main
public class SqlComponent : ComponentBase, IComponent, IAsyncDisposable
Inheritance
Implements
Inherited Members
Properties
PathIsText
The path of a sql: URI IS the query text — the structured XML form takes it from CDATA content.
public override bool PathIsText { get; }
Scheme
The URI scheme this component handles (e.g., "kafka", "rabbitmq").
public override string Scheme { get; }
Methods
CreateEndpoint(EndpointUri)
Creates an endpoint from a parsed URI.
public override IEndpoint CreateEndpoint(EndpointUri uri)