Home
Options

Sybase Connection - base class is less accessible than class 'X'

edited June 2013
Our application uses Entity Framework to work with a Sybase 12 database.

I'm trying to do to LINQ testing with LINQPad4 and this database.

When I run a query I get:

'Viewport.Database.Entities.ViewportDBModelContainer' is inaccessible due to its protection level

Inconsistent accessibility: base class 'Viewport.Database.Entities.ViewportDBModelContainer' is less accessible than class 'UserQuery'

When I go into the Properties for the connection and click "Test" I get "Connection Successful".

I have put:
User ID=ABC;Password=DEF

into the "Connection String" item but it seems I have some issue with access to the database.

Any hints?

Comments

Sign In or Register to comment.