Hi,
When I create a new instance of AEntity and try to reach a.B property that related to a BEntity instance, a Sql query executed at Sql server like this:
AEntity a = new AEntity();
Console.WriteLine(a.B.Name);
select [dbo].[B].[ID], [dbo].[B].[A_ID], [dbo].[B].[Name] from [dbo].[B] where [dbo].[B].[A_ID] = 0
The AEntity instance is new, there is no way to find any related BEntity at database, but it still tries. How can I stop that?