Hey,
In the function:
protected void stationCollectionDataSource_PerformWork(object sender, PerformWorkEventArgs e)
{
List<UnitOfWorkElement> list = e.Uow.GetEntityElementsToInsert();
.
.
.
}
How do i add a colletion to an entity in the 'list' so that the collection is saved using the PK from the entity? The entity and the colelction are new items.
The entity has a NEWSEQUENTIALID() as the PK. In the web.config:
<add key="SqlServerDQECompatibilityLevel" value="2" />
Thanks.