FAQ Database Discussion Community

How To Allow CRM Plugin To Handle Multiple Event Messages

I need to create a single plugin to fire on create, update, and delete events of opportunity entities. Can I do these in a single plugin? If so then how can I do them?...

Using .NET string functions in where clause of LINQ

How can I use .NET frameworks string functions in LINQ query like this? var accounts = from a in orgContext.CreateQuery("account") where a["telephone1"].ToString().Replace("-","") == "1234567890" orderby a["name"] select new { id = a["accountid"], name = a["name"], telephone1 = a["telephone1"]}; This is ending up with error: Invalid 'where' condition. An entity member...