摘要:
For .NET Framework version 4 and above: use ObjectContext.ExecuteStoreCommand() if your query returns no results, and use ObjectContext.ExecuteStoreQuery if your query returns results.For previous .NET Framework versions, here's a sample illustrating what to do. Replace ExecuteNonQuery() as need 阅读全文