When i using .net core //finally, execute the command. int retval = cmd.ExecuteNonQuery(); retval alway received -1 when update successfully or false