Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Create Entity perfomance slow

$
0
0

Hello!

Develop custom simple plugin with data insertion, but this insertion take around 9 sec, i think this ins not normal, but why?

Service initialization:

            IOrganizationServiceFactory factory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
            service = (IOrganizationService)factory.CreateOrganizationService(context.UserId);

Simple insertion:

SomeEntityModel newQuote = new SomeEntityModel();
newQuote.FieldA = "SomeData";
service.Create(newQuote);

But look at screenshot below, why so many calls fo simple instertion? Does it possible improove perfomance?


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images