So, I have a basic update statement I am running in my MVC 4 app. I am calling it like so (SQL Server 2008 R2, Entity Framework 5.0):
var requestData = requestInfo.Database.ExecuteSqlCommand("UPDATE TABLE Blah.. ");
The command completes successfully, but sometimes requestData returns 1, sometimes it returns 2. I cannot find any documentation or explanation of what these return values mean. I have looked here:
http://msdn.microsoft.com/en-us/library/gg679456(v=vs.103).aspx
But, it does not give any clear answer.
If someone can toss out a link to something that explains the return values of this command I would be greatly appreciative.