DapperExtensions and Dapper.Contrib with non-dbo Schema
You can use Table
attribute to show schema
and table
name together with a dot in between:
using Dapper.Contrib.Extensions;
[Table ("vehicles.YourTables")]
public class YourClass
{
public int Id { get; set; }
public string Name { get; set; }
}