You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
774 B
C#
25 lines
774 B
C#
using System;
|
|
using System.Linq;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Query;
|
|
using Microsoft.EntityFrameworkCore.TestModels.Northwind;
|
|
using Xunit;
|
|
|
|
namespace EntityFramework.Jet.FunctionalTests
|
|
{
|
|
public class QueryNoClientEvalJetTest : QueryNoClientEvalTestBase<QueryNoClientEvalJetFixture>
|
|
{
|
|
public QueryNoClientEvalJetTest(QueryNoClientEvalJetFixture fixture)
|
|
: base(fixture)
|
|
{
|
|
}
|
|
|
|
public override void Doesnt_throw_when_from_sql_not_composed()
|
|
{
|
|
{
|
|
using (NorthwindContext context = this.CreateContext())
|
|
Assert.Equal(91, context.Customers.FromSql("select * from [Customers]").ToList().Count);
|
|
}
|
|
}
|
|
}
|
|
} |