Search code examples
c#dappersqlbuilder

How to use SqlBuilder


This SqlBuilder:

var builder = new SqlBuilder(); 
var sql = builder.AddTemplate( /*...

Intensely dumb question but, how do I use this? I know it's in Dapper.Contrib, but that using statement isn't enough. What references or other using statements do I need to add?


Solution

  • Don't know if no one knew or if it was just too silly to answer, but this is the correct statement:

    using StackExchange.Profiling.Helpers.Dapper;