Hi,
need some help or some advice with entity framework v4. As you already know, EF v4 does not support lazy loading of scalar properties. If i have some entity object for example Order
in model with many scalar properties, some of them expensive to load from DB, like attached file for example. As i found later, it is possible to move these expensive properties to another entity for example Order1
and remap them to DB table. So original DB table will be mapped to 2 entities - Order - with properties ID and Name and Order1 - with all others. What i need to do? In User Interface i will have a ListBox filled with entity Order
(ID - Name of all orders) on left side and all other expensive properties of Order1
on rigt side for clicked order in listbox. Properties from Order1 lazy loaded, and with working savechanges, delete objects etc ... . How to make business object for order as entities are separated and how to setup with wpf binding ... . Need just some kick the right way ... :/
thanks