Using entity framework core assembly and linqpad

Recently I have created a post about EF Core and postgresql. I had following error message:
Derived types must either match the security accessibility of the base type or be less accessible
Today I tried use EF Core assembly for SQL Server and got the same error message.

Anyone faced with the same issue?


Comments

  • Have you set any security attributes on the assembly that contains your data context? And if so, are these attributes necessary for what you're doing?
  • I have the same issue. I can successfully create the connection, and see the tables in the explorer pane. But any query gives me the error:

    source: Microsoft.EntityFrameworkCore

    message: Inheritance security rules violated by type: 'Remotion.Linq.Parsing.RelinqExpressionVisitor'. Derived types must either match the security accessibility of the base type or be less accessible.

    TypeName: Remotion.Linq.Parsing.RelinqExpressionVisitor
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!