So, I have a basic update statement that I run in my MVC 4 application. I call it that (SQL Server 2008 R2, Entity Framework 5.0):
var requestData = requestInfo.Database.ExecuteSqlCommand("UPDATE TABLE Blah.. ");
The command succeeds, but sometimes requestData returns 1, sometimes it returns 2. I cannot find any documentation or explanation of what these return values mean. I looked here:
http://msdn.microsoft.com/en-us/library/gg679456(v=vs.103).aspx
But this does not give a clear answer.
If someone could throw a link to something that explains the return values of this command, I would really appreciate it.
c # asp.net-mvc sql-server-2008 entity-framework
Jordan
source share