Skip to content

Commit 0b924c0

Browse files
committed
Update test comparisons
1 parent 4e52e1b commit 0b924c0

File tree

4 files changed

+160
-0
lines changed

4 files changed

+160
-0
lines changed

Generator.Tests.Integration/TestComparison/EfrpgTest_SqlServer_EfCore2_FkLegacy.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ public interface IEfrpgTestDbContext : IDisposable
199199
// C182Test2ReturnModel C182Test2(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
200200
// Task<C182Test2ReturnModel> C182Test2Async(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
201201

202+
// CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
203+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
204+
202205
List<ColourPivotReturnModel> ColourPivot();
203206
List<ColourPivotReturnModel> ColourPivot(out int procResult);
204207
Task<List<ColourPivotReturnModel>> ColourPivotAsync();
@@ -741,6 +744,10 @@ public int Beta_Overclock(DateTime? parameter)
741744

742745
// public async Task<C182Test2ReturnModel> C182Test2Async(int? flag) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
743746

747+
// public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
748+
749+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
750+
744751
public List<ColourPivotReturnModel> ColourPivot()
745752
{
746753
int procResult;
@@ -2158,6 +2165,23 @@ public Task<C182Test2ReturnModel> C182Test2Async(int? flag)
21582165
return Task.FromResult(C182Test2(flag, out procResult));
21592166
}
21602167

2168+
public DbSet<CheckIfApplicationIsCompleteReturnModel> CheckIfApplicationIsCompleteReturnModel { get; set; }
2169+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete)
2170+
{
2171+
int procResult;
2172+
return CheckIfApplicationIsComplete(applicationId, out isApplicationComplete, out procResult);
2173+
}
2174+
2175+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete, out int procResult)
2176+
{
2177+
isApplicationComplete = default(bool);
2178+
procResult = 0;
2179+
return new CheckIfApplicationIsCompleteReturnModel();
2180+
}
2181+
2182+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
2183+
2184+
21612185
public DbSet<ColourPivotReturnModel> ColourPivotReturnModel { get; set; }
21622186
public List<ColourPivotReturnModel> ColourPivot()
21632187
{
@@ -6608,6 +6632,22 @@ public class ResultSetModel3
66086632
public List<ResultSetModel3> ResultSet3;
66096633
}
66106634

6635+
public class CheckIfApplicationIsCompleteReturnModel
6636+
{
6637+
public class ResultSetModel1
6638+
{
6639+
public string Key { get; set; }
6640+
public string Value { get; set; }
6641+
}
6642+
public List<ResultSetModel1> ResultSet1;
6643+
public class ResultSetModel2
6644+
{
6645+
public string Key { get; set; }
6646+
public string Value { get; set; }
6647+
}
6648+
public List<ResultSetModel2> ResultSet2;
6649+
}
6650+
66116651
public class ColourPivotReturnModel
66126652
{
66136653
public int? Blue { get; set; }

Generator.Tests.Integration/TestComparison/EfrpgTest_SqlServer_EfCore3_FkLegacy.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ public interface IEfrpgTestDbContext : IDisposable
201201
// C182Test2ReturnModel C182Test2(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
202202
// Task<C182Test2ReturnModel> C182Test2Async(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
203203

204+
// CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
205+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
206+
204207
List<ColourPivotReturnModel> ColourPivot();
205208
List<ColourPivotReturnModel> ColourPivot(out int procResult);
206209
Task<List<ColourPivotReturnModel>> ColourPivotAsync();
@@ -747,6 +750,10 @@ public int Beta_Overclock(DateTime? parameter)
747750

748751
// public async Task<C182Test2ReturnModel> C182Test2Async(int? flag) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
749752

753+
// public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
754+
755+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
756+
750757
public List<ColourPivotReturnModel> ColourPivot()
751758
{
752759
int procResult;
@@ -2168,6 +2175,23 @@ public Task<C182Test2ReturnModel> C182Test2Async(int? flag)
21682175
return Task.FromResult(C182Test2(flag, out procResult));
21692176
}
21702177

2178+
public DbSet<CheckIfApplicationIsCompleteReturnModel> CheckIfApplicationIsCompleteReturnModel { get; set; }
2179+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete)
2180+
{
2181+
int procResult;
2182+
return CheckIfApplicationIsComplete(applicationId, out isApplicationComplete, out procResult);
2183+
}
2184+
2185+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete, out int procResult)
2186+
{
2187+
isApplicationComplete = default(bool);
2188+
procResult = 0;
2189+
return new CheckIfApplicationIsCompleteReturnModel();
2190+
}
2191+
2192+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
2193+
2194+
21712195
public DbSet<ColourPivotReturnModel> ColourPivotReturnModel { get; set; }
21722196
public List<ColourPivotReturnModel> ColourPivot()
21732197
{
@@ -6719,6 +6743,22 @@ public class ResultSetModel3
67196743
public List<ResultSetModel3> ResultSet3;
67206744
}
67216745

6746+
public class CheckIfApplicationIsCompleteReturnModel
6747+
{
6748+
public class ResultSetModel1
6749+
{
6750+
public string Key { get; set; }
6751+
public string Value { get; set; }
6752+
}
6753+
public List<ResultSetModel1> ResultSet1;
6754+
public class ResultSetModel2
6755+
{
6756+
public string Key { get; set; }
6757+
public string Value { get; set; }
6758+
}
6759+
public List<ResultSetModel2> ResultSet2;
6760+
}
6761+
67226762
public class ColourPivotReturnModel
67236763
{
67246764
public int? Blue { get; set; }

Generator.Tests.Integration/TestComparison/EfrpgTest_SqlServer_EfCore5_FkLegacy.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ public interface IEfrpgTestDbContext : IDisposable
197197
// C182Test2ReturnModel C182Test2(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
198198
// Task<C182Test2ReturnModel> C182Test2Async(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
199199

200+
// CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
201+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
202+
200203
List<ColourPivotReturnModel> ColourPivot();
201204
List<ColourPivotReturnModel> ColourPivot(out int procResult);
202205
Task<List<ColourPivotReturnModel>> ColourPivotAsync();
@@ -729,6 +732,10 @@ public int Beta_Overclock(DateTime? parameter)
729732

730733
// public async Task<C182Test2ReturnModel> C182Test2Async(int? flag) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
731734

735+
// public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
736+
737+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
738+
732739
public List<ColourPivotReturnModel> ColourPivot()
733740
{
734741
int procResult;
@@ -2141,6 +2148,23 @@ public Task<C182Test2ReturnModel> C182Test2Async(int? flag)
21412148
return Task.FromResult(C182Test2(flag, out procResult));
21422149
}
21432150

2151+
public DbSet<CheckIfApplicationIsCompleteReturnModel> CheckIfApplicationIsCompleteReturnModel { get; set; }
2152+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete)
2153+
{
2154+
int procResult;
2155+
return CheckIfApplicationIsComplete(applicationId, out isApplicationComplete, out procResult);
2156+
}
2157+
2158+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete, out int procResult)
2159+
{
2160+
isApplicationComplete = default(bool);
2161+
procResult = 0;
2162+
return new CheckIfApplicationIsCompleteReturnModel();
2163+
}
2164+
2165+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
2166+
2167+
21442168
public DbSet<ColourPivotReturnModel> ColourPivotReturnModel { get; set; }
21452169
public List<ColourPivotReturnModel> ColourPivot()
21462170
{
@@ -6492,6 +6516,22 @@ public class ResultSetModel3
64926516
public List<ResultSetModel3> ResultSet3;
64936517
}
64946518

6519+
public class CheckIfApplicationIsCompleteReturnModel
6520+
{
6521+
public class ResultSetModel1
6522+
{
6523+
public string Key { get; set; }
6524+
public string Value { get; set; }
6525+
}
6526+
public List<ResultSetModel1> ResultSet1;
6527+
public class ResultSetModel2
6528+
{
6529+
public string Key { get; set; }
6530+
public string Value { get; set; }
6531+
}
6532+
public List<ResultSetModel2> ResultSet2;
6533+
}
6534+
64956535
public class ColourPivotReturnModel
64966536
{
64976537
public int? Blue { get; set; }

Generator.Tests.Integration/TestComparison/EfrpgTest_SqlServer_EfCore6_FkLegacy.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ public interface IEfrpgTestDbContext : IDisposable
196196
// C182Test2ReturnModel C182Test2(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
197197
// Task<C182Test2ReturnModel> C182Test2Async(int? flag); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
198198

199+
// CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete); Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
200+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
201+
199202
List<ColourPivotReturnModel> ColourPivot();
200203
List<ColourPivotReturnModel> ColourPivot(out int procResult);
201204
Task<List<ColourPivotReturnModel>> ColourPivotAsync();
@@ -728,6 +731,10 @@ public int Beta_Overclock(DateTime? parameter)
728731

729732
// public async Task<C182Test2ReturnModel> C182Test2Async(int? flag) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
730733

734+
// public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete) Cannot be created as EF Core does not yet support stored procedures with multiple result sets.
735+
736+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
737+
731738
public List<ColourPivotReturnModel> ColourPivot()
732739
{
733740
int procResult;
@@ -2140,6 +2147,23 @@ public Task<C182Test2ReturnModel> C182Test2Async(int? flag)
21402147
return Task.FromResult(C182Test2(flag, out procResult));
21412148
}
21422149

2150+
public DbSet<CheckIfApplicationIsCompleteReturnModel> CheckIfApplicationIsCompleteReturnModel { get; set; }
2151+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete)
2152+
{
2153+
int procResult;
2154+
return CheckIfApplicationIsComplete(applicationId, out isApplicationComplete, out procResult);
2155+
}
2156+
2157+
public CheckIfApplicationIsCompleteReturnModel CheckIfApplicationIsComplete(int? applicationId, out bool? isApplicationComplete, out int procResult)
2158+
{
2159+
isApplicationComplete = default(bool);
2160+
procResult = 0;
2161+
return new CheckIfApplicationIsCompleteReturnModel();
2162+
}
2163+
2164+
// CheckIfApplicationIsCompleteAsync() cannot be created due to having out parameters, or is relying on the procedure result (CheckIfApplicationIsCompleteReturnModel)
2165+
2166+
21432167
public DbSet<ColourPivotReturnModel> ColourPivotReturnModel { get; set; }
21442168
public List<ColourPivotReturnModel> ColourPivot()
21452169
{
@@ -6486,6 +6510,22 @@ public class ResultSetModel3
64866510
public List<ResultSetModel3> ResultSet3;
64876511
}
64886512

6513+
public class CheckIfApplicationIsCompleteReturnModel
6514+
{
6515+
public class ResultSetModel1
6516+
{
6517+
public string Key { get; set; }
6518+
public string Value { get; set; }
6519+
}
6520+
public List<ResultSetModel1> ResultSet1;
6521+
public class ResultSetModel2
6522+
{
6523+
public string Key { get; set; }
6524+
public string Value { get; set; }
6525+
}
6526+
public List<ResultSetModel2> ResultSet2;
6527+
}
6528+
64896529
public class ColourPivotReturnModel
64906530
{
64916531
public int? Blue { get; set; }

0 commit comments

Comments
 (0)