Skip to content

Commit 15d59a4

Browse files
Update assembly version
1 parent 3791331 commit 15d59a4

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

EntityFrameworkExtras.EFCore3.NetStandard20/EntityFrameworkExtras.EFCore3.NetStandard20.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>EntityFrameworkExtras.EFCore</AssemblyName>
66
<SignAssembly>true</SignAssembly>
77
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
8-
<Version>3.0.5</Version>
8+
<Version>3.0.6</Version>
99
<Description>EntityFrameworkExtras provides some useful additions to EntityFramework such as executing Stored Procedures with User-Defined Table Types and Output Parameters.</Description>
1010
<RootNamespace>EntityFrameworkExtras.EFCore</RootNamespace>
1111
<Authors>ZZZ Projects &amp; Michael Rodda &amp; Craig Bovis</Authors>

EntityFrameworkExtras.EFCore3.NetStandard21/EntityFrameworkExtras.EFCore3.NetStandard21.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>EntityFrameworkExtras.EFCore</AssemblyName>
66
<SignAssembly>true</SignAssembly>
77
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
8-
<Version>3.0.5</Version>
8+
<Version>3.0.6</Version>
99
<Description>EntityFrameworkExtras provides some useful additions to EntityFramework such as executing Stored Procedures with User-Defined Table Types and Output Parameters.</Description>
1010
<RootNamespace>EntityFrameworkExtras.EFCore</RootNamespace>
1111
<Company>EntityFrameworkExtras.EFCore</Company>

EntityFrameworkExtras.EFCore3.lab/Request_storeProcedure_Transaction.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ update EntitySimples
115115

116116
var transaction = context.Database.BeginTransaction();
117117

118+
var list2 = context.Database.ExecuteStoredProcedure<EntitySimple>(proc_Get_EntitySimple);
119+
118120
context.Database.ExecuteStoredProcedure(proc_Get_EntitySimple);
119121

120122
transaction.Rollback();

EntityFrameworkExtras.Shared/DatabaseExtensions.EFCore3x.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public static IEnumerable<T> ExecuteStoredProcedure<T>(this DatabaseFacade datab
7373

7474
var entityType = FindModelEntityType(context, typeof(T));
7575

76-
if (entityType == null)
76+
// TODO: Review this code which can make some existing code crashing
77+
if (entityType == null || true)
7778
{
7879
return database.InternalExecuteStoredProcedure<T>(storedProcedure);
7980
}
@@ -158,7 +159,8 @@ public static async Task<IEnumerable<T>> ExecuteStoredProcedureAsync<T>(this Dat
158159

159160
var entityType = FindModelEntityType(context, typeof(T));
160161

161-
if (entityType == null)
162+
// TODO: Review this code which can make some existing code crashing
163+
if (entityType == null || true)
162164
{
163165
return await database.InternalExecuteStoredProcedureAsync<T>(storedProcedure).ConfigureAwait(false);
164166
}

0 commit comments

Comments
 (0)