From aa2d52da6c10282977d5b44c960677b70f14a5e9 Mon Sep 17 00:00:00 2001 From: Ed Ball Date: Sat, 22 Apr 2017 13:23:22 -0700 Subject: [PATCH] Fix link to docs. --- src/Faithlife.Utility.Dapper/BulkInsertUtility.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Faithlife.Utility.Dapper/BulkInsertUtility.cs b/src/Faithlife.Utility.Dapper/BulkInsertUtility.cs index 841ff21..2ac445a 100644 --- a/src/Faithlife.Utility.Dapper/BulkInsertUtility.cs +++ b/src/Faithlife.Utility.Dapper/BulkInsertUtility.cs @@ -16,7 +16,7 @@ namespace Faithlife.Utility.Dapper /// /// Methods for bulk insert with Dapper. /// - /// https://github.com/Faithlife/DapperUtility/blob/master/docs/BulkInsert.md + /// https://faithlife.github.io/DapperUtility/BulkInsert public static class BulkInsertUtility { /// @@ -209,7 +209,7 @@ private static Func TryCreateGetter(PropertyInfo property) return null; var dynamicGetMethod = new DynamicMethod(name: $"_Get{property.Name}_", - returnType: typeof(T), parameterTypes: new Type[] { typeof(object) }, owner: ownerType); + returnType: typeof(T), parameterTypes: new[] { typeof(object) }, owner: ownerType); var generator = dynamicGetMethod.GetILGenerator(); generator.DeclareLocal(typeof(object)); generator.Emit(OpCodes.Ldarg_0);