mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-18 22:31:08 +08:00
78ed4b2077
One of several moves to make this something we can dev on all platforms and build on Actions for v3 onwards.
15 lines
340 B
C#
15 lines
340 B
C#
using System.Data.Common;
|
|
using System.Data.Entity;
|
|
|
|
namespace Dapper.Tests.Performance.EntityFramework
|
|
{
|
|
public class EFContext : DbContext
|
|
{
|
|
public EFContext(DbConnection connection, bool owned = false) : base(connection, owned)
|
|
{
|
|
}
|
|
|
|
public DbSet<Post> Posts { get; set; }
|
|
}
|
|
}
|