I really can't understand Why I get it "The syntax of the query near identifier 'INTO'"?
Ctx = new aiautodbEntities(connectionstring);
Ctx.Connection.Open();
var comm = Ctx.Connection.CreateCommand();
comm.CommandText = "INSERT INTO ListUsers (u_name,u_personalnumber,u_login,u_pass,u_position,u_ugadn,u_ugadndata,u_serverId) values(@u_name,@u_personalnumber,@u_login,@u_pass,@u_position,@u_ugadn,@u_ugadndata,@u_serverId)";
comm.Parameters.Add(new EntityParameter(){ParameterName="u_name",Value= newUser.u_name});
...
comm.ExecuteNonQuery();
Even if i write
INSERT INTO ListUsers (u_name) values ('fdfdbf');
I have the same error.
I use DbConnection, SqlCE, EntityFramework