For windows phone you have LINQ2SQL type of solution;

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202860(v=vs.92).aspx">http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202860(v=vs.92).aspx

And for Windows 8 RT you can use SQLlite;

http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx