I am having troubles with assigning foreign key into table pragmatically. I am importing XML file into table.
I was able to manage read XML and insert into table as well. As I am beginner with LS I expect it is very simple to fix it.
what I am having problem is assigning foregin key, the error I gets is 'InvalidOperationExecution was unhandled by user code'.
Did you get this figured out? This is one of those lightswitch entity features that takes a few times to get used to. If you didn't get it figured out I'm happy to point you to a few posts, maybe a training video that goes over this.