Hey all!
The following code worked previous to the Vs2010 upgrade...
using System.Data.Services;
namespace Nla.Dashboard.Web.Services
{
public class DashboardDataService : DataService<NlaPrimaryEntities>
{
// This method is called only once to initialize service-wide policies.
public static void InitializeService(DataServiceConfiguration config)
{
etc...
The problem is that now I get these errors...
'System.Data.Services.DataServiceConfiguration' is inaccessible due to its protection level
and...
Inconsistent accessibility: parameter type 'System.Data.Services.DataServiceConfiguration' is less accessible than method...
It is possible I am referencing the wrong library, this service is asp.net 3.5 under VS2010 hosting code originally built in vs2008 for ado.net data services 1.5 ctp2.
Any help is welcome!
Ken