Tagged Questions
1
vote
1answer
147 views
How to set Option List value on new CRM 2011 Entity record with Linq?
I'm creating new Entity records in C#. The problem is my early-bound Xrm class is expecting the integer value of the Option List in question, but all I have is the string value of the Option List.
...
1
vote
2answers
129 views
Invalid CRM 2011 LINQ Query: “Invalid 'where' condition. An entity member is invoking an invalid property or method.”
I am trying to execute this query to retrieve Audit items for specific entity types
public List<Audit> GetAuditChangesSince(DateTime since, string entityType)
{
return (from a in ...
0
votes
1answer
86 views
Linq to CRM newb help required
Im trying to work with some data in the Dynamics Online of my client. They have some custom elements added by a 3rd party company who arent being at all helpful.
I need to get contacts from the ...
1
vote
2answers
90 views
Dynamic variable in LINQ
I have the following statement in LINQ:
var eventsWithTag = (from occurence in occurrences1
join eventTag in serviceContext.CreateQuery("adx_eventtag_event")
...
0
votes
3answers
97 views
Visualise the Dynamics CRM database
I an new to both Dynamics CRM (Hosted) and LINQ, so please forgive my ignorance with this question...
I need to access some data stored in the CRM, but have no idea how to get at it. Normally I would ...
0
votes
1answer
73 views
Dynamics crm use linq to display list of memberworks
I am trying to run a LINQ query within a website plugin with Dynamics CRM Hosted. I need to us LINQ to retrieve a list of all the currently registered Members as shown in the MemberWorks tab. But to ...
0
votes
3answers
131 views
LINQ Error when using multiple JOIN in same statement on CRM 2011 Plug-in
Hi I am trying to join multiple entities in CRM 2011 but I get and error saying: {"'xrmsm_sessionEnrollments' entity doesn't contain attribute with Name = 'xrmsm_termsid'."}. That is correct but I am ...
1
vote
3answers
88 views
Nullable filters in XRM where clause
I'm using the XRM (early bound) types in a WCF project so I have access to the CRM model and can use LINQ queries. But I've been running into a problem described here, it's the limitations on the ...
3
votes
3answers
169 views
Linq to Crm (2011) Trouble searching by username for systemuser
I have a win app that is using linq to crm to query a system user by username
in Crm 2011(IFD). I have the following code snippet which shows what I am trying
to accomplish. The method executes ...
2
votes
2answers
420 views
CRM 2011 LINQ: Invalid ‘where’ condition. An entity member is invoking an invalid property or method
I am running the following LINQ query but it's throwing an error saying "Invalid ‘where’ condition. An entity member is invoking an invalid property or method."
Can anyone suggest me why it's ...
1
vote
2answers
411 views
Exception in a CRM LINQ query with joins. Attribute in second table doesn't exist
First of all I'm sorry because this is the second time that I write this question but before was bad explained and now is close.
I'm doing a linq query for a search page for a CRM data base, and ...
1
vote
1answer
256 views
LINQ to CRM or just LINQ to SQL/Entity
I've used LINQ on the fetched entities from CRM Dynamics but despite the original source of the data, it was still only operating via LINQ to data structure. Now, I've got a hint that there exists ...
1
vote
1answer
473 views
Is there way to structure a QueryExpression so that you could dynamically handle a unknown number of conditions
Microsoft provides example like the one I have copied below for creating multiple conditions for a QueryExpression. Is there way to structure a QueryExpression so that you could dynamically handle a ...
1
vote
2answers
152 views
Basic Linq join with filter on both tables - CRM 2011 [duplicate]
Possible Duplicate:
Error within Where statement in LINQ
I need to get a list of all quotes that have been changed since a certain DateTime ( for export reasons ).
The catch is of course ...
1
vote
1answer
379 views
Linq to Dynamics - compare two properties in where clause
I am using Dynamics sdk dll's ver 5.0.9689.2165 and trying to use Linq
to get all Accounts where the Account.XDate is less than the Account.YDate (both are custom DateTime properties - I use the ...