I have a simple small data model resembling the following:
InventoryContext
{
IEnumerable<Computer> GetComputers()
IEnumerable<Printer> GetPrinters()
}
Computer
{
public string ComputerName { get; set; }
public string Location { get; set; }
}
Printer
{
public string PrinterName { get; set; }
public string Location { get; set; }
}
The results come from a non-SQL source, so this data does not come from the Entity Framework connected to the database.
Now I want to provide data through the WCF OData service. The only way I've found to do so far is to create my own data service query provider on this blog:
http://blogs.msdn.com/alexj/archive/2010/01/04/creating-a-data-service-provider-part-1-intro.aspx
... , , . 4 .
- Entity Framework ? , - - , WCF , ?