Sorry, I was typing this up on my iPhone really fast. I have a SSCE database that has two tables (EDMX). I am using the repository pattern and the Entity Framework to communicate between my application and the SSCE. But I get an XamlParseException that is hiding an UpdateException. It always seems to stop when I call entities.SaveChanges...
Hi,
I have a table of Plants and Information.
Plants have an ID, Name, ..., MainInformationID
Information have an ID, Title, ..., PlantID
One plant can have many information, but only one MainInformation. Information can only have one plant.
I have a class ViewModel which contains observable collections of plants and information whi...
Hi,
I have a similar problem.
I want to make two inserts in the same transactionscope. The objects are related and have a FK relationship between them, but for several reasons I do not want to connect them via the navigation property, but only by ID.
This is a simplification of what I what I want to accomplish:
Order o = new Order();...