Commit dfe90c40 authored by Nick Craver's avatar Nick Craver

Dapper.Rainbow CreateTableConstructor: Prevent compiler breaks

parent 1e8011ce
...@@ -197,6 +197,11 @@ public void RollbackTransaction() ...@@ -197,6 +197,11 @@ public void RollbackTransaction()
transaction = null; transaction = null;
} }
protected Action<TDatabase> CreateTableConstructor(Type tableType)
{
return CreateTableConstructor(new Type[] {tableType});
}
protected Action<TDatabase> CreateTableConstructor(params Type[] tableTypes) protected Action<TDatabase> CreateTableConstructor(params Type[] tableTypes)
{ {
var dm = new DynamicMethod("ConstructInstances", null, new Type[] { typeof(TDatabase) }, true); var dm = new DynamicMethod("ConstructInstances", null, new Type[] { typeof(TDatabase) }, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment