This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I need to replicate the following statement in Lightspeed (using the UnitOfWork.Update method). Just wondering what the syntax would be
I tried the following, but it didn't output the join as I expected
var language = document.Language;
var parliamentDocumentId = document.ParliamentDocumentId;
var pCmsLanguage = Mindscape.LightSpeed.Entity.Attribute("cmsLanguage");
var pSourceDocumentId = Mindscape.LightSpeed.Entity.Attribute
|
|
|
Rather than specifying the join you will want to specify the associations as part of the Entity.Attribute specifications, e.g.
This will generate a SQL statement with an EXISTS clause but it should match the result you are looking for.
|
|