Now let's take a look at how to handle document relationships while reducing query calls. You will make a call to the
Load() method and the
Include() method on the
Session object to retrieve a
City from the
Cities collection and preload the
Country referenced by the
City.CountryId field. Then you will take a look at the RavenDB log and analyze its entries.
RavenDB_Ch06project in Visual Studio.
Cityclass you created previously and make it a part of the
You can specify more than one ID in the
Load() method. ...