mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-18 14:27:47 +08:00
1481c4d379
This is a branch cleaning up old `#if` clauses, `.csproj` bits, Linux build compatibility, and a few other tid-bits (broken out by commit). In general: we're on 3.0 tooling and all previous cruft has been removed.
17 lines
359 B
C#
17 lines
359 B
C#
#if NET4X
|
|
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; }
|
|
}
|
|
}
|
|
#endif
|