File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
test/DatatablesParser.Tests Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ PersonContext.cs
252
252
253
253
// Sql Server >= 2012
254
254
// https://docs.microsoft.com/en-us/sql/t-sql/functions/format-transact-sql
255
- [DbFunction ]
255
+ [DbFunction ( Schema = " " ) ]
256
256
public static string Format (DateTime data ,string format )
257
257
{
258
258
throw new Exception ();
Original file line number Diff line number Diff line change 8
8
<ProjectReference Include =" ../../src/DatatablesParser/DatatablesParser.csproj" />
9
9
</ItemGroup >
10
10
<ItemGroup >
11
- <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 2.0.0 " />
12
- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 2.0.0 " />
13
- <PackageReference Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 2.0.0 " />
14
- <PackageReference Include =" Pomelo.EntityFrameworkCore.MySql" Version =" 2.0.1 " />
11
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 2.2.0-preview3-35497 " />
12
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 2.2.0-preview3-35497 " />
13
+ <PackageReference Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 2.2.0-preview1 " />
14
+ <PackageReference Include =" Pomelo.EntityFrameworkCore.MySql" Version =" 2.1.2 " />
15
15
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.3.0" />
16
16
<PackageReference Include =" xunit" Version =" 2.2.0" />
17
17
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.2.0" />
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public PersonContext(DbContextOptions<PersonContext> options)
11
11
: base ( options ) { }
12
12
13
13
//Sql Server >= 2012
14
- [ DbFunction ]
14
+ [ DbFunction ( Schema = "" ) ]
15
15
public static string Format ( DateTime data , string format )
16
16
{
17
17
throw new Exception ( ) ;
You can’t perform that action at this time.
0 commit comments