From e1ef5e789cdd6bb33179df77b2b955b715caf5e5 Mon Sep 17 00:00:00 2001 From: lastlink Date: Thu, 14 Jul 2016 12:48:18 -0700 Subject: [PATCH] updated to support DbGeography type I can't take credit for this work from DJ, but this will add support for dbgeography type. Note: Microsoft.SqlServer.Types will have to be added from nuget to add this support and one other file that reads efdata reader as it no longer needs the 2nd parameter. --- .../EntityFramework.Utilities/SqlQueryProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EntityFramework.Utilities/EntityFramework.Utilities/SqlQueryProvider.cs b/EntityFramework.Utilities/EntityFramework.Utilities/SqlQueryProvider.cs index ca85d23..64639a1 100644 --- a/EntityFramework.Utilities/EntityFramework.Utilities/SqlQueryProvider.cs +++ b/EntityFramework.Utilities/EntityFramework.Utilities/SqlQueryProvider.cs @@ -49,7 +49,7 @@ public string GetUpdateQuery(QueryInformation predicateQueryInfo, QueryInformati public void InsertItems(IEnumerable items, string schema, string tableName, IList properties, DbConnection storeConnection, int? batchSize) { - using (var reader = new EFDataReader(items, properties)) + using (var reader = new EFDataReader(items)) { var con = storeConnection as SqlConnection; if (con.State != System.Data.ConnectionState.Open)