string accountId = "CC572EC9-01E3-E211-AC62-984BE173A384"; var customEntities = (from NtoN in makeUseOfContext.new_customentity_accountSet where NtoN.accountid.Value == new Guid(accountId) &&
NtoN.new_customentityid != null select new {
customentityid = NtoN.new_customentityid.Value
}).ToList();
No comments:
Post a Comment