File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
EntityFrameworkExtras.EFCore3.NetStandard20
EntityFrameworkExtras.EFCore3.NetStandard21 Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 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 & Michael Rodda & Craig Bovis</Authors >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments