Vlad DE
Vlad DE

Reputation: 51

LINQ to SQL and dynamic query on Windows Phone

Is there a way to execute a pure T-SQL Query against the SQL Compact Database on Windows phone?

Thanks!

Upvotes: 0

Views: 347

Answers (2)

Sander
Sander

Reputation: 1314

There isn't a way to do this, as can be seen in this article.

It states;

ExecuteCommand is not supported: Windows Phone does not support executing “raw” Transact-SQL, Data Definition Language (DDL), or Data Modeling Language (DML) statements.

Upvotes: 2

deryck
deryck

Reputation: 70

There is no way to execute T-SQL on Windows Phone platform.

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

Upvotes: 1

Related Questions