Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Fehler: A second operation started on this context before a previous asynchronous operation completed.

20.08.2018 (πŸ‘4221)


 

 

Fehler:

A second operation started on this context before a previous asynchronous operation completed.

Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context.

Any instance members are not guaranteed to be thread safe."

Ursache:

Man muss beim Linq EF Entity Framework zugriff auch die aufzurufende Methode auf await verwenden

Falscher Code:

clsDB.Add_or_Update_Record_from_List(sURL_Detail, sTitle);

 

 

LΓΆsung:

Richtiger Aufruf mit await

await clsDB.Add_or_Update_Record_from_List(sURL_Detail, sTitle);