Extending WCF Data Service to synthesize missing data on request

Posted by Schneider on Stack Overflow See other posts from Stack Overflow or by Schneider
Published on 2010-04-01T05:29:47Z Indexed on 2010/04/01 5:33 UTC
Read the original article Hit count: 714

I have got a WCF Data Service based on a LINQ to SQL data provider.

I am making a query "get me all the records between two dates".

The problem is that I want to synthesize two extra records such that I always get records that fall on the start and end dates, plus all the ones in between which come from the database.

Is there a way to "intercept" the request so I can synthesize these records and return them to the client?

Thanks

© Stack Overflow or respective owner

Related posts about wcf

Related posts about wcf-data-services