How do I implement IDataServiceMetadataProvider and tell my Data Service to use that custom provider

Posted by Pwninstein on Stack Overflow See other posts from Stack Overflow or by Pwninstein
Published on 2009-11-02T20:49:14Z Indexed on 2010/05/21 23:00 UTC
Read the original article Hit count: 624

There's no obvious entry point for implementing a custom provider for an ADO.NET Data Service using IDataServiceMetadataProvider, and then telling a Data Service to use that provider. Has anyone had any luck in this area? I've tried implementing this interface on my Data Source class, but none of my breakpoints are hit. There is also no (obvious) way to set the provider from the Data Service's DataServiceConfiguration parameter passed in to the InitializeService function.

Any help would be appreciated. Thanks!

Data Services Providers (ADO.NET Data Services)

IDataServiceMetadataProvider Members

© Stack Overflow or respective owner

Related posts about astoria

Related posts about ado.net-data-services