we are testing our application with the new 5.70.170 version and we found a different behavior from the last version we were using (5.60.124).
We have a class like this
Code: Select all
[Table(Name = @"PUMA_WORKITEM")]
public partial class WorkItem : INotifyPropertyChanging, INotifyPropertyChanged {
...
[Association(Name="Task_WorkItem", Storage="_Task", ThisKey="TaskId", IsForeignKey=true)]
public Task Task
(...)
Code: Select all
if (item.Task == null)
Code: Select all
context.WorkItems.LoadWith(n => n.Task)
If we delete the above mentioned LoadWith statement than everything works fine. The problem is that we cannot go throughout our entire code deleting the LoadWith or always adding the LoadWith...
Could you please check this?