Query and update table ? RRS feed

  • Question

  • Hello I`m completely new to Lightswitch have some small background in C# but lightswitch objects are a mistery for me.
    So here is my situation:
    I have two tables one is IPs[IP,Gateway, ServerName] and the other one is Servers[ServerName,Location,IP].
    I have two  editable grids for each table.
    The IPs table is poplupated and has ServerName empty. I need when someone updates the IP field in the Servers EditableGrid the respective ServerName to be populated in the IPs table, where IPs.IP = Servers.IP

    Hope someone uderstands what I mean and can advise ?

    Wednesday, February 5, 2014 1:39 PM


  • Hi,

    I am not sure if I understand you well. Based on my understanding, you can define the relationships betwwen this two tables.

    The detailed steps below are for your reference:

    How to: Define Data Relationships in LightSwitch


    Hope it helps.

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, February 6, 2014 6:39 AM