mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2026-05-24 11:44:20 +00:00
Rebranded to EntityFrameworkCore.Projectables
This commit is contained in:
+5
-5
@@ -4,8 +4,8 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projections.Services;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.Services;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
@@ -13,7 +13,7 @@ using Xunit;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
|
||||
[UsesVerify]
|
||||
@@ -29,13 +29,13 @@ namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
|
||||
// todo: since Order is a nested class, we currently have to fully express the location of this class
|
||||
[Projectable]
|
||||
public EntityFrameworkCore.Projections.FunctionalTests.ComplexModelTests.Order LastOrder =>
|
||||
public EntityFrameworkCore.Projectables.FunctionalTests.ComplexModelTests.Order LastOrder =>
|
||||
Orders.OrderByDescending(x => x.RecordDate).FirstOrDefault();
|
||||
|
||||
// todo: since Order is a nested class, we currently have to fully express the location of this class
|
||||
[Projectable]
|
||||
[NotMapped]
|
||||
public IEnumerable<EntityFrameworkCore.Projections.FunctionalTests.ComplexModelTests.Order> Last2Orders =>
|
||||
public IEnumerable<EntityFrameworkCore.Projectables.FunctionalTests.ComplexModelTests.Order> Last2Orders =>
|
||||
Orders.OrderByDescending(x => x.RecordDate).Take(2);
|
||||
|
||||
}
|
||||
+2
-2
@@ -29,8 +29,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projections.Generator\EntityFrameworkCore.Projections.Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projections\EntityFrameworkCore.Projections.csproj" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projectables.Generator\EntityFrameworkCore.Projectables.Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projectables\EntityFrameworkCore.Projectables.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests.ExtensionMethods
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests.ExtensionMethods
|
||||
{
|
||||
public class Entity
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests.ExtensionMethods
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests.ExtensionMethods
|
||||
{
|
||||
public static class EntityExtensions
|
||||
{
|
||||
+2
-2
@@ -3,13 +3,13 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests.ExtensionMethods
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests.ExtensionMethods
|
||||
{
|
||||
|
||||
[UsesVerify]
|
||||
+3
-3
@@ -4,10 +4,10 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.Extensions;
|
||||
using EntityFrameworkCore.Projectables.Extensions;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests.Helpers
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests.Helpers
|
||||
{
|
||||
public class SampleDbContext<TEntity> : DbContext
|
||||
where TEntity : class
|
||||
@@ -15,7 +15,7 @@ namespace EntityFrameworkCore.Projections.FunctionalTests.Helpers
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlServer("Server=(localdb)\v11.0;Integrated Security=true"); // Fake connection string as we're actually never connecting
|
||||
optionsBuilder.UseProjections();
|
||||
optionsBuilder.UseProjectables();
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
+3
-3
@@ -4,14 +4,14 @@ using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projections.Services;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.Services;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class StatefullComplexFunctionTests
|
||||
+2
-2
@@ -4,13 +4,13 @@ using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class StatefullPropertyTests
|
||||
+2
-2
@@ -4,13 +4,13 @@ using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class StatefullSimpleFunctionTests
|
||||
+3
-3
@@ -4,14 +4,14 @@ using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projections.Services;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.Services;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class StatelessComplexFunctionTests
|
||||
+2
-2
@@ -4,13 +4,13 @@ using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class StatelessPropertyTests
|
||||
+2
-2
@@ -4,13 +4,13 @@ using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.FunctionalTests.Helpers;
|
||||
using EntityFrameworkCore.Projectables.FunctionalTests.Helpers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ScenarioTests;
|
||||
using VerifyXunit;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.FunctionalTests
|
||||
namespace EntityFrameworkCore.Projectables.FunctionalTests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class StatelessSimpleFunctionTests
|
||||
+2
-2
@@ -29,8 +29,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projections.Generator\EntityFrameworkCore.Projections.Generator.csproj" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projections\EntityFrameworkCore.Projections.csproj" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projectables.Generator\EntityFrameworkCore.Projectables.Generator.csproj" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projectables\EntityFrameworkCore.Projectables.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_D_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
using Foo;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generated
|
||||
namespace EntityFrameworkCore.Projectables.Generated
|
||||
#nullable disable
|
||||
{
|
||||
public static class Foo_C_Foo
|
||||
+16
-16
@@ -8,7 +8,7 @@ using VerifyXunit;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Generator.Tests
|
||||
namespace EntityFrameworkCore.Projectables.Generator.Tests
|
||||
{
|
||||
[UsesVerify]
|
||||
public class ProjectionExpressionGeneratorTests
|
||||
@@ -38,7 +38,7 @@ class C { }
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
@@ -60,7 +60,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
@@ -81,7 +81,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
public int Bar { get; set; }
|
||||
@@ -105,7 +105,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
class D {
|
||||
@@ -131,7 +131,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
public int Bar { get; set; }
|
||||
@@ -155,7 +155,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
public int Bar() => 1;
|
||||
@@ -180,7 +180,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
public int Bar { get; set; }
|
||||
@@ -204,7 +204,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
@@ -226,7 +226,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
@@ -248,7 +248,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
@@ -271,7 +271,7 @@ namespace Foo {
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class D { }
|
||||
|
||||
@@ -298,7 +298,7 @@ namespace Foo {
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class D { }
|
||||
|
||||
@@ -323,7 +323,7 @@ namespace Foo {
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
static class C {
|
||||
[Projectable]
|
||||
@@ -345,7 +345,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
@@ -367,7 +367,7 @@ namespace Foo {
|
||||
{
|
||||
var compilation = CreateCompilation(@"
|
||||
using System;
|
||||
using EntityFrameworkCore.Projections;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
namespace Foo {
|
||||
class C {
|
||||
[Projectable]
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projections\EntityFrameworkCore.Projections.csproj" />
|
||||
<ProjectReference Include="..\..\src\EntityFrameworkCore.Projectables\EntityFrameworkCore.Projectables.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
+2
-2
@@ -3,10 +3,10 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.Extensions;
|
||||
using EntityFrameworkCore.Projectables.Extensions;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Tests.Extensions
|
||||
namespace EntityFrameworkCore.Projectables.Tests.Extensions
|
||||
{
|
||||
public class TypeExtensionTests
|
||||
{
|
||||
+2
-2
@@ -4,10 +4,10 @@ using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.Services;
|
||||
using EntityFrameworkCore.Projectables.Services;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Tests.Services
|
||||
namespace EntityFrameworkCore.Projectables.Tests.Services
|
||||
{
|
||||
public class ExpressionArgumentReplacerTests
|
||||
{
|
||||
+2
-2
@@ -5,10 +5,10 @@ using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.Services;
|
||||
using EntityFrameworkCore.Projectables.Services;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Tests.Services
|
||||
namespace EntityFrameworkCore.Projectables.Tests.Services
|
||||
{
|
||||
public class ProjectableExpressionReplacerTests
|
||||
{
|
||||
+2
-2
@@ -3,10 +3,10 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using EntityFrameworkCore.Projections.Services;
|
||||
using EntityFrameworkCore.Projectables.Services;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Tests.Services
|
||||
namespace EntityFrameworkCore.Projectables.Tests.Services
|
||||
{
|
||||
public class ProjectionExpressionClassNameGeneratorTests
|
||||
{
|
||||
+1
-1
@@ -6,7 +6,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace EntityFrameworkCore.Projections.Tests.Services
|
||||
namespace EntityFrameworkCore.Projectables.Tests.Services
|
||||
{
|
||||
public class ProjectionExpressionResolverTests
|
||||
{
|
||||
Reference in New Issue
Block a user