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
252252
253253 // Sql Server >= 2012
254254 // https://docs.microsoft.com/en-us/sql/t-sql/functions/format-transact-sql
255- [DbFunction ]
255+ [DbFunction ( Schema = " " ) ]
256256 public static string Format (DateTime data ,string format )
257257 {
258258 throw new Exception ();
Original file line number Diff line number Diff line change 88 <ProjectReference Include =" ../../src/DatatablesParser/DatatablesParser.csproj" />
99 </ItemGroup >
1010 <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 " />
1515 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.3.0" />
1616 <PackageReference Include =" xunit" Version =" 2.2.0" />
1717 <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)
1111 : base ( options ) { }
1212
1313 //Sql Server >= 2012
14- [ DbFunction ]
14+ [ DbFunction ( Schema = "" ) ]
1515 public static string Format ( DateTime data , string format )
1616 {
1717 throw new Exception ( ) ;
You can’t perform that action at this time.
0 commit comments