有时候,在 Dynamics CRM Plugin 中通过 linq 查询数据会比较慢,可以通过采用在 C# plugin 中直接调用数据库存储过程的方式来提高效率,具体过程如下: 1.新建一个存储过程: ALTER PROCEDURE [dbo].[p_Sample] AS BEGIN SELECT COUNT(dbo.Table.Id) FROM dbo.Table WHERE dbo.Table.Name LIKE '张%' END 2.在 Plugin 中调用存储过程: string s…
Chapter 1. Microsoft Dynamics CRM 4.0 SDK Overview(SDK概述) You are probably reading this book because your organization recently purchased Microsoft Dynamics CRM or because your organization is evaluating it. As a developer, you want to know what this…