提交 dfe90c40 编写于 作者: N Nick Craver

Dapper.Rainbow CreateTableConstructor: Prevent compiler breaks

上级 1e8011ce
......@@ -197,6 +197,11 @@ public void RollbackTransaction()
transaction = null;
}
protected Action<TDatabase> CreateTableConstructor(Type tableType)
{
return CreateTableConstructor(new Type[] {tableType});
}
protected Action<TDatabase> CreateTableConstructor(params Type[] tableTypes)
{
var dm = new DynamicMethod("ConstructInstances", null, new Type[] { typeof(TDatabase) }, true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册