diff --git a/Source/EntityFramework.Extended/Batch/MySqlBatchRunner.cs b/Source/EntityFramework.Extended/Batch/MySqlBatchRunner.cs index 7b76fd9..a68d846 100644 --- a/Source/EntityFramework.Extended/Batch/MySqlBatchRunner.cs +++ b/Source/EntityFramework.Extended/Batch/MySqlBatchRunner.cs @@ -310,11 +310,11 @@ private int InternalUpdate(ObjectContext objectContext, EntityMap entit parameter.Value = value; updateCommand.Parameters.Add(parameter); - sqlBuilder.AppendFormat("{0} = @{1}", columnName, parameterName); + sqlBuilder.AppendFormat("j0.{0} = @{1}", columnName, parameterName); } else { - sqlBuilder.AppendFormat("{0} = NULL", columnName); + sqlBuilder.AppendFormat("j0.{0} = NULL", columnName); } } else diff --git a/Source/EntityFramework.Extended/EntityFramework.Extended.net45.csproj b/Source/EntityFramework.Extended/EntityFramework.Extended.net45.csproj index ddf8af6..89e9fa6 100644 --- a/Source/EntityFramework.Extended/EntityFramework.Extended.net45.csproj +++ b/Source/EntityFramework.Extended/EntityFramework.Extended.net45.csproj @@ -30,7 +30,7 @@ pdbonly true bin\Release\ - TRACE + NET45 prompt 4 false