I have a Business Logic Layer (BLL) and a Data Access Layer (DAL) that used for WinForms, WebForms, and ASP.NET MVC projects in the past. The objects implement all kinds of interfaces. Now I would like to tackle ADO.NET Data Services.
I am trying something simple like the following, but it's not rendering my service. Am I totally missing something? What do I have add to my BLL that I haven't? Am I too naive to think it'll just "work", but Astoria being quite complex?
public class EmployeeData
{
private static EmployeeCollection employees;
public EmployeeData()
{
employees = EmployeeLoaded.GetData();
}
public IQueryable<Employee> Employees
{
get
{
return employees.AsQueryable();
}
}
}