locked
Referenced ID Value RRS feed

  • Question

  • Hi

    It is very simple in Lightswitch to get the Id value of an referenced entity by using

    entity.referencedentity.id

    but it will make a trip to the database in order to retreive this value and this could take a lot of time. Is there any posibility to get this value without using the referencedentity object? 

    Like: entity.referencedentityid

    The entity object need to know this value in order to be able to fetch the correct object from the database.

    Thanks in advance

    FreLar

    Sunday, June 8, 2014 8:17 AM