0

How do I do the Update table operation in ADO entity framweork ?

1 Answer 1

1

Entity Framework is currently limited to updates / deletes like this (in pseudo code):

DELETE FROM [Table] WHERE Key = Value

And you can't do things like this:

DELETE FROM [Table] WHERE [RANDOM CLAUSE]

The second example is what is generally called DML or Data Modification Language, and it isn't actually supported in EF.

There are workarounds however, see this question & my answer for more information.

Hope this helps Alex

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.