ZZZ Code AI
Seed Data Generator
Stored Procedure Generator
Entity to Table Converter
Table to Entity Converter
Sql Injection Detector
How can I set queries to be unbuffered by default in Dapper?
<p>Unfortunately, Dapper doesn't have any options to change this behavior. If you want to use an unbuffered query, you must explicitly set the <code>buffered</code> parameter to <code>false</code> when executing the query.</p> <pre><code class="language-csharp">var customers = connection.Query<Customer>(sql, buffered: false); </code></pre>
This field is required
A text with a minimum of 10 characters is required
Legal & Licensing
Answer generated by AI may produce inaccurate information about code, people, facts, and more.
Did you know...
That you can now sponsor this project on
Entity Framework Extensions