Property ReadOnly
Runs the statement on the data source's read replica (),
in , and . False, the default: the
primary database, whatever the statement. Only the endpoint's author knows that a statement does not write — a SELECT
can call a function that writes, advance a sequence or take a lock — so nothing is guessed from the SQL text. A replica
may lag behind the primary.
Refused with above zero, and for a poll with , ,
or : rows read on a lagging replica and marked on the primary would
be delivered again.
public bool ReadOnly { get; set; }