Is there any way to include Dapper in metro apps?
It relies on System.Data which is left out in WinRT.
If not is there any similar framework which can be used?
Is there any way to include Dapper in metro apps? It relies on System.Data
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. As you observe, the lack of
System.Datais pretty much a show-stopper, however in addition WinRT also omits meta-programming support, so the entire core would need to be re-written to use regular (i.e. slow) reflection. There are some elaborate hoops you can jump through to get around this, but withoutSystem.Datait seems a lost cause.Basically, the intent with WinRT (as I understand it) is to consume your data from things like web-services, the classic “smart client” rather than “rich client” model.
So you might consider:
Strictly speaking, you can IIRC break all the rules and just reference .NET anyway, but that won’t pass any MS validation, and won’t be a proper
metroWindows Store application.