Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 434.14 KB | None | 0 0
  1. 10:50:55.861: Opened connection at 7/29/2016 10:50:55 AM +05:00
  2. 10:50:55.862: SELECT TOP (1)
  3. [Extent1].[Id] AS [Id],
  4. [Extent1].[Name] AS [Name],
  5. [Extent1].[Value] AS [Value],
  6. [Extent1].[LongValue] AS [LongValue]
  7. FROM [dbo].[Setting] AS [Extent1]
  8. WHERE N'NotificationEmail' = [Extent1].[Name]10:50:55.862:
  9. 10:50:55.862: -- Executing at 7/29/2016 10:50:55 AM +05:00
  10. 10:50:55.863: -- Completed in 0 ms with result: SqlDataReader
  11. 10:50:55.863:
  12. 10:50:55.863: Closed connection at 7/29/2016 10:50:55 AM +05:00
  13. 10:50:55.864: Opened connection at 7/29/2016 10:50:55 AM +05:00
  14. 10:50:55.864: SELECT TOP (1)
  15. [Extent1].[Id] AS [Id],
  16. [Extent1].[Name] AS [Name],
  17. [Extent1].[Value] AS [Value],
  18. [Extent1].[LongValue] AS [LongValue]
  19. FROM [dbo].[Setting] AS [Extent1]
  20. WHERE N'SmtpServer' = [Extent1].[Name]10:50:55.864:
  21. 10:50:55.865: -- Executing at 7/29/2016 10:50:55 AM +05:00
  22. 10:50:55.865: -- Completed in 0 ms with result: SqlDataReader
  23. 10:50:55.865:
  24. 10:50:55.865: Closed connection at 7/29/2016 10:50:55 AM +05:00
  25. 10:50:55.866: Opened connection at 7/29/2016 10:50:55 AM +05:00
  26. 10:50:55.866: SELECT TOP (1)
  27. [Extent1].[Id] AS [Id],
  28. [Extent1].[Name] AS [Name],
  29. [Extent1].[Value] AS [Value],
  30. [Extent1].[LongValue] AS [LongValue]
  31. FROM [dbo].[Setting] AS [Extent1]
  32. WHERE N'SmtpPort' = [Extent1].[Name]10:50:55.866:
  33. 10:50:55.866: -- Executing at 7/29/2016 10:50:55 AM +05:00
  34. 10:50:55.867: -- Completed in 0 ms with result: SqlDataReader
  35. 10:50:55.867:
  36. 10:50:55.867: Closed connection at 7/29/2016 10:50:55 AM +05:00
  37. 10:50:55.868: Opened connection at 7/29/2016 10:50:55 AM +05:00
  38. 10:50:55.868: SELECT TOP (1)
  39. [Extent1].[Id] AS [Id],
  40. [Extent1].[Name] AS [Name],
  41. [Extent1].[Value] AS [Value],
  42. [Extent1].[LongValue] AS [LongValue]
  43. FROM [dbo].[Setting] AS [Extent1]
  44. WHERE N'NotificationPassword' = [Extent1].[Name]10:50:55.868:
  45. 10:50:55.868: -- Executing at 7/29/2016 10:50:55 AM +05:00
  46. 10:50:55.869: -- Completed in 0 ms with result: SqlDataReader
  47. 10:50:55.869:
  48. 10:50:55.869: Closed connection at 7/29/2016 10:50:55 AM +05:00
  49. 10:50:55.869: Opened connection at 7/29/2016 10:50:55 AM +05:00
  50. 10:50:55.87: SELECT TOP (1)
  51. [Extent1].[Id] AS [Id],
  52. [Extent1].[Name] AS [Name],
  53. [Extent1].[Value] AS [Value],
  54. [Extent1].[LongValue] AS [LongValue]
  55. FROM [dbo].[Setting] AS [Extent1]
  56. WHERE N'RequiredAuthentication' = [Extent1].[Name]10:50:55.87:
  57. 10:50:55.87: -- Executing at 7/29/2016 10:50:55 AM +05:00
  58. 10:50:55.871: -- Completed in 0 ms with result: SqlDataReader
  59. 10:50:55.871:
  60. 10:50:55.871: Closed connection at 7/29/2016 10:50:55 AM +05:00
  61. 10:50:55.872: Opened connection at 7/29/2016 10:50:55 AM +05:00
  62. 10:50:55.872: SELECT TOP (1)
  63. [Extent1].[ID] AS [ID],
  64. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  65. [Extent1].[FirstName] AS [FirstName],
  66. [Extent1].[LastName] AS [LastName],
  67. [Extent1].[Active] AS [Active]
  68. FROM [dbo].[User] AS [Extent1]
  69. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  70. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:55.872:
  71. 10:50:55.872: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  72. 10:50:55.873: -- Executing at 7/29/2016 10:50:55 AM +05:00
  73. 10:50:55.873: -- Completed in 0 ms with result: SqlDataReader
  74. 10:50:55.873:
  75. 10:50:55.873: Closed connection at 7/29/2016 10:50:55 AM +05:00
  76. 10:50:55.874: Opened connection at 7/29/2016 10:50:55 AM +05:00
  77. 10:50:55.874: SELECT
  78. [Extent1].[UserId] AS [UserId],
  79. [Extent1].[ApplicationId] AS [ApplicationId],
  80. [Extent1].[UserName] AS [UserName],
  81. [Extent1].[LoweredUserName] AS [LoweredUserName],
  82. [Extent1].[MobileAlias] AS [MobileAlias],
  83. [Extent1].[IsAnonymous] AS [IsAnonymous],
  84. [Extent1].[LastActivityDate] AS [LastActivityDate]
  85. FROM [dbo].[aspnet_Users] AS [Extent1]
  86. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:55.874:
  87. 10:50:55.874: -- EntityKeyValue1: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  88. 10:50:55.875: -- Executing at 7/29/2016 10:50:55 AM +05:00
  89. 10:50:55.875: -- Completed in 0 ms with result: SqlDataReader
  90. 10:50:55.875:
  91. 10:50:55.876: Closed connection at 7/29/2016 10:50:55 AM +05:00
  92. 10:50:55.876: Opened connection at 7/29/2016 10:50:55 AM +05:00
  93. 10:50:55.876: SELECT
  94. [Extent2].[RoleId] AS [RoleId],
  95. [Extent2].[ApplicationId] AS [ApplicationId],
  96. [Extent2].[RoleName] AS [RoleName],
  97. [Extent2].[LoweredRoleName] AS [LoweredRoleName],
  98. [Extent2].[Description] AS [Description]
  99. FROM [dbo].[aspnet_UsersInRoles] AS [Extent1]
  100. INNER JOIN [dbo].[aspnet_Roles] AS [Extent2] ON [Extent1].[RoleId] = [Extent2].[RoleId]
  101. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:55.877:
  102. 10:50:55.877: -- EntityKeyValue1: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid, IsNullable = false)
  103. 10:50:55.877: -- Executing at 7/29/2016 10:50:55 AM +05:00
  104. 10:50:55.878: -- Completed in 0 ms with result: SqlDataReader
  105. 10:50:55.878:
  106. 10:50:55.878: Closed connection at 7/29/2016 10:50:55 AM +05:00
  107. 10:50:55.878: Opened connection at 7/29/2016 10:50:55 AM +05:00
  108. 10:50:55.879: SELECT
  109. [Extent1].[ID] AS [ID],
  110. [Extent1].[Name] AS [Name],
  111. [Extent1].[SourceSystemId] AS [SourceSystemId],
  112. [Extent1].[ID_ActionType] AS [ID_ActionType],
  113. [Extent1].[ID_Group] AS [ID_Group]
  114. FROM [dbo].[AccessRight] AS [Extent1]
  115. WHERE [Extent1].[ID_Group] = @EntityKeyValue110:50:55.879:
  116. 10:50:55.879: -- EntityKeyValue1: '59d39023-fc53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  117. 10:50:55.879: -- Executing at 7/29/2016 10:50:55 AM +05:00
  118. 10:50:55.88: -- Completed in 0 ms with result: SqlDataReader
  119. 10:50:55.88:
  120. 10:50:55.88: Closed connection at 7/29/2016 10:50:55 AM +05:00
  121. 10:50:55.881: Opened connection at 7/29/2016 10:50:55 AM +05:00
  122. 10:50:55.881: SELECT
  123. [Extent1].[Id] AS [Id],
  124. [Extent1].[Name] AS [Name]
  125. FROM [dbo].[ActionType] AS [Extent1]
  126. WHERE [Extent1].[Id] = @EntityKeyValue110:50:55.881:
  127. 10:50:55.881: -- EntityKeyValue1: '6' (Type = Int32)
  128. 10:50:55.881: -- Executing at 7/29/2016 10:50:55 AM +05:00
  129. 10:50:55.882: -- Completed in 0 ms with result: SqlDataReader
  130. 10:50:55.882:
  131. 10:50:55.882: Closed connection at 7/29/2016 10:50:55 AM +05:00
  132. 10:50:55.883: Opened connection at 7/29/2016 10:50:55 AM +05:00
  133. 10:50:55.883: SELECT
  134. [Extent1].[Id] AS [Id],
  135. [Extent1].[Name] AS [Name]
  136. FROM [dbo].[ActionType] AS [Extent1]
  137. WHERE [Extent1].[Id] = @EntityKeyValue110:50:55.883:
  138. 10:50:55.883: -- EntityKeyValue1: '7' (Type = Int32)
  139. 10:50:55.883: -- Executing at 7/29/2016 10:50:55 AM +05:00
  140. 10:50:55.884: -- Completed in 0 ms with result: SqlDataReader
  141. 10:50:55.884:
  142. 10:50:55.884: Closed connection at 7/29/2016 10:50:55 AM +05:00
  143. 10:50:55.885: Opened connection at 7/29/2016 10:50:55 AM +05:00
  144. 10:50:55.885: SELECT
  145. [Extent1].[ID] AS [ID],
  146. [Extent1].[Name] AS [Name],
  147. [Extent1].[SourceSystemId] AS [SourceSystemId],
  148. [Extent1].[ID_ActionType] AS [ID_ActionType],
  149. [Extent1].[ID_Group] AS [ID_Group]
  150. FROM [dbo].[AccessRight] AS [Extent1]
  151. WHERE [Extent1].[ID_Group] = @EntityKeyValue110:50:55.885:
  152. 10:50:55.885: -- EntityKeyValue1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  153. 10:50:55.885: -- Executing at 7/29/2016 10:50:55 AM +05:00
  154. 10:50:55.886: -- Completed in 0 ms with result: SqlDataReader
  155. 10:50:55.886:
  156. 10:50:55.886: Closed connection at 7/29/2016 10:50:55 AM +05:00
  157. 10:50:55.887: Opened connection at 7/29/2016 10:50:55 AM +05:00
  158. 10:50:55.887: SELECT
  159. [Extent1].[Id] AS [Id],
  160. [Extent1].[Name] AS [Name]
  161. FROM [dbo].[ActionType] AS [Extent1]
  162. WHERE [Extent1].[Id] = @EntityKeyValue110:50:55.887:
  163. 10:50:55.887: -- EntityKeyValue1: '3' (Type = Int32)
  164. 10:50:55.887: -- Executing at 7/29/2016 10:50:55 AM +05:00
  165. 10:50:55.888: -- Completed in 0 ms with result: SqlDataReader
  166. 10:50:55.888:
  167. 10:50:55.888: Closed connection at 7/29/2016 10:50:55 AM +05:00
  168. 10:50:55.889: Opened connection at 7/29/2016 10:50:55 AM +05:00
  169. 10:50:55.889: SELECT
  170. [Extent1].[Id] AS [Id],
  171. [Extent1].[Name] AS [Name],
  172. [Extent1].[ActionTypeId] AS [ActionTypeId],
  173. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  174. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  175. FROM [dbo].[Stage] AS [Extent1]10:50:55.889:
  176. 10:50:55.889: -- Executing at 7/29/2016 10:50:55 AM +05:00
  177. 10:50:55.89: -- Completed in 0 ms with result: SqlDataReader
  178. 10:50:55.89:
  179. 10:50:55.89: Closed connection at 7/29/2016 10:50:55 AM +05:00
  180. 10:50:55.893: Opened connection at 7/29/2016 10:50:55 AM +05:00
  181. 10:50:55.96: SELECT
  182. [Project2].[Id] AS [Id],
  183. [Project2].[Name] AS [Name],
  184. [Project2].[PeriodTypeId] AS [PeriodTypeId],
  185. [Project2].[ParentSourceSystemId] AS [ParentSourceSystemId],
  186. [Project2].[Icon] AS [Icon],
  187. [Project2].[IconType] AS [IconType],
  188. [Project2].[C1] AS [C1],
  189. [Project2].[Id1] AS [Id1],
  190. [Project2].[Name1] AS [Name1],
  191. [Project2].[AuthorId] AS [AuthorId],
  192. [Project2].[PeriodTypeId1] AS [PeriodTypeId1],
  193. [Project2].[SourceSystemId] AS [SourceSystemId]
  194. FROM ( SELECT
  195. [Limit1].[Id] AS [Id],
  196. [Limit1].[Name] AS [Name],
  197. [Limit1].[PeriodTypeId] AS [PeriodTypeId],
  198. [Limit1].[ParentSourceSystemId] AS [ParentSourceSystemId],
  199. [Limit1].[Icon] AS [Icon],
  200. [Limit1].[IconType] AS [IconType],
  201. [Extent3].[Id] AS [Id1],
  202. [Extent3].[Name] AS [Name1],
  203. [Extent3].[AuthorId] AS [AuthorId],
  204. [Extent3].[PeriodTypeId] AS [PeriodTypeId1],
  205. [Extent3].[SourceSystemId] AS [SourceSystemId],
  206. CASE WHEN ([Extent3].[Id] IS NULL) THEN CAST(NULL AS int) ELSE 1 END AS [C1]
  207. FROM (SELECT TOP (1) [Project1].[Id] AS [Id], [Project1].[Name] AS [Name], [Project1].[PeriodTypeId] AS [PeriodTypeId], [Project1].[ParentSourceSystemId] AS [ParentSourceSystemId], [Project1].[Icon] AS [Icon], [Project1].[IconType] AS [IconType]
  208. FROM ( SELECT
  209. [Extent1].[Id] AS [Id],
  210. [Extent1].[Name] AS [Name],
  211. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  212. [Extent1].[ParentSourceSystemId] AS [ParentSourceSystemId],
  213. [Extent1].[Icon] AS [Icon],
  214. [Extent1].[IconType] AS [IconType],
  215. (SELECT
  216. COUNT(1) AS [A1]
  217. FROM [dbo].[DocumentTemplate] AS [Extent2]
  218. WHERE [Extent1].[Id] = [Extent2].[SourceSystemId]) AS [C1]
  219. FROM [dbo].[SourceSystem] AS [Extent1]
  220. ) AS [Project1]
  221. WHERE [Project1].[C1] > 0 ) AS [Limit1]
  222. LEFT OUTER JOIN [dbo].[DocumentTemplate] AS [Extent3] ON [Limit1].[Id] = [Extent3].[SourceSystemId]
  223. ) AS [Project2]
  224. ORDER BY [Project2].[Id] ASC, [Project2].[C1] ASC10:50:55.961:
  225. 10:50:55.961: -- Executing at 7/29/2016 10:50:55 AM +05:00
  226. 10:50:55.966: -- Completed in 4 ms with result: SqlDataReader
  227. 10:50:55.967:
  228. 10:50:55.981: Closed connection at 7/29/2016 10:50:55 AM +05:00
  229. 10:50:55.987: Opened connection at 7/29/2016 10:50:55 AM +05:00
  230. 10:50:56.002: SELECT TOP (2)
  231. [Extent1].[Id] AS [Id],
  232. [Extent1].[Name] AS [Name],
  233. [Extent1].[AuthorId] AS [AuthorId],
  234. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  235. [Extent1].[SourceSystemId] AS [SourceSystemId]
  236. FROM [dbo].[DocumentTemplate] AS [Extent1]
  237. WHERE [Extent1].[Id] = @p__linq__010:50:56.003:
  238. 10:50:56.004: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  239. 10:50:56.005: -- Executing at 7/29/2016 10:50:56 AM +05:00
  240. 10:50:56.006: -- Completed in 1 ms with result: SqlDataReader
  241. 10:50:56.006:
  242. 10:50:56.008: Closed connection at 7/29/2016 10:50:56 AM +05:00
  243. 10:50:56.009: Opened connection at 7/29/2016 10:50:56 AM +05:00
  244. 10:50:56.015: SELECT
  245. [Extent1].[Id] AS [Id],
  246. [Extent1].[Name] AS [Name]
  247. FROM [dbo].[ActionType] AS [Extent1]
  248. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.015:
  249. 10:50:56.016: -- Executing at 7/29/2016 10:50:56 AM +05:00
  250. 10:50:56.017: -- Completed in 1 ms with result: SqlDataReader
  251. 10:50:56.017:
  252. 10:50:56.02: SELECT
  253. [Extent1].[ID] AS [ID],
  254. [Extent1].[Name] AS [Name],
  255. [Extent1].[SourceSystemId] AS [SourceSystemId],
  256. [Extent1].[ID_ActionType] AS [ID_ActionType],
  257. [Extent1].[ID_Group] AS [ID_Group]
  258. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.021:
  259. 10:50:56.021: -- Executing at 7/29/2016 10:50:56 AM +05:00
  260. 10:50:56.022: -- Completed in 0 ms with result: SqlDataReader
  261. 10:50:56.022:
  262. 10:50:56.025: SELECT
  263. [Extent1].[RoleId] AS [RoleId],
  264. [Extent1].[ApplicationId] AS [ApplicationId],
  265. [Extent1].[RoleName] AS [RoleName],
  266. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  267. [Extent1].[Description] AS [Description]
  268. FROM [dbo].[aspnet_Roles] AS [Extent1]
  269. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.025:
  270. 10:50:56.026: -- EntityKeyValue1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  271. 10:50:56.026: -- Executing at 7/29/2016 10:50:56 AM +05:00
  272. 10:50:56.03: -- Completed in 1 ms with result: SqlDataReader
  273. 10:50:56.03:
  274. 10:50:56.032: SELECT
  275. [Extent1].[RoleId] AS [RoleId],
  276. [Extent1].[ApplicationId] AS [ApplicationId],
  277. [Extent1].[RoleName] AS [RoleName],
  278. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  279. [Extent1].[Description] AS [Description]
  280. FROM [dbo].[aspnet_Roles] AS [Extent1]
  281. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.032:
  282. 10:50:56.033: -- EntityKeyValue1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  283. 10:50:56.033: -- Executing at 7/29/2016 10:50:56 AM +05:00
  284. 10:50:56.033: -- Completed in 0 ms with result: SqlDataReader
  285. 10:50:56.034:
  286. 10:50:56.036: SELECT
  287. [Extent1].[Id] AS [Id],
  288. [Extent1].[DocumentId] AS [DocumentId],
  289. [Extent1].[TemplateId] AS [TemplateId],
  290. [Extent1].[ActionTypeId] AS [ActionTypeId]
  291. FROM [dbo].[ProcessQueue] AS [Extent1]
  292. WHERE [Extent1].[TemplateId] = @EntityKeyValue110:50:56.036:
  293. 10:50:56.036: -- EntityKeyValue1: '2' (Type = Int32, IsNullable = false)
  294. 10:50:56.037: -- Executing at 7/29/2016 10:50:56 AM +05:00
  295. 10:50:56.038: -- Completed in 1 ms with result: SqlDataReader
  296. 10:50:56.038:
  297. 10:50:56.054: SELECT
  298. [Extent1].[Id] AS [Id],
  299. [Extent1].[StatusId] AS [StatusId],
  300. [Extent1].[RoleId] AS [RoleId],
  301. [Extent1].[QueueId] AS [QueueId],
  302. [Extent1].[TaskId] AS [TaskId],
  303. [Extent1].[Sent] AS [Sent],
  304. [Extent1].[Finished] AS [Finished],
  305. [Extent1].[Order] AS [Order]
  306. FROM [dbo].[ProcessQueueItem] AS [Extent1]
  307. WHERE [Extent1].[QueueId] = @EntityKeyValue110:50:56.055:
  308. 10:50:56.055: -- EntityKeyValue1: '1' (Type = Int32, IsNullable = false)
  309. 10:50:56.055: -- Executing at 7/29/2016 10:50:56 AM +05:00
  310. 10:50:56.057: -- Completed in 1 ms with result: SqlDataReader
  311. 10:50:56.057:
  312. 10:50:56.063: SELECT
  313. [Extent1].[ID] AS [ID],
  314. [Extent1].[Name] AS [Name],
  315. [Extent1].[SourceSystemId] AS [SourceSystemId],
  316. [Extent1].[ID_ActionType] AS [ID_ActionType],
  317. [Extent1].[ID_Group] AS [ID_Group]
  318. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.063:
  319. 10:50:56.063: -- Executing at 7/29/2016 10:50:56 AM +05:00
  320. 10:50:56.064: -- Completed in 0 ms with result: SqlDataReader
  321. 10:50:56.064:
  322. 10:50:56.066: SELECT
  323. [Extent1].[RoleId] AS [RoleId],
  324. [Extent1].[ApplicationId] AS [ApplicationId],
  325. [Extent1].[RoleName] AS [RoleName],
  326. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  327. [Extent1].[Description] AS [Description]
  328. FROM [dbo].[aspnet_Roles] AS [Extent1]
  329. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.066:
  330. 10:50:56.066: -- EntityKeyValue1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  331. 10:50:56.067: -- Executing at 7/29/2016 10:50:56 AM +05:00
  332. 10:50:56.067: -- Completed in 0 ms with result: SqlDataReader
  333. 10:50:56.067:
  334. 10:50:56.068: SELECT
  335. [Extent1].[RoleId] AS [RoleId],
  336. [Extent1].[ApplicationId] AS [ApplicationId],
  337. [Extent1].[RoleName] AS [RoleName],
  338. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  339. [Extent1].[Description] AS [Description]
  340. FROM [dbo].[aspnet_Roles] AS [Extent1]
  341. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.068:
  342. 10:50:56.068: -- EntityKeyValue1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  343. 10:50:56.068: -- Executing at 7/29/2016 10:50:56 AM +05:00
  344. 10:50:56.068: -- Completed in 0 ms with result: SqlDataReader
  345. 10:50:56.069:
  346. 10:50:56.069: SELECT
  347. [Extent1].[RoleId] AS [RoleId],
  348. [Extent1].[ApplicationId] AS [ApplicationId],
  349. [Extent1].[RoleName] AS [RoleName],
  350. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  351. [Extent1].[Description] AS [Description]
  352. FROM [dbo].[aspnet_Roles] AS [Extent1]
  353. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.069:
  354. 10:50:56.069: -- EntityKeyValue1: '105d4ff5-fe53-e611-80c3-00155d63106c' (Type = Guid)
  355. 10:50:56.07: -- Executing at 7/29/2016 10:50:56 AM +05:00
  356. 10:50:56.07: -- Completed in 0 ms with result: SqlDataReader
  357. 10:50:56.07:
  358. 10:50:56.07: SELECT
  359. [Extent1].[RoleId] AS [RoleId],
  360. [Extent1].[ApplicationId] AS [ApplicationId],
  361. [Extent1].[RoleName] AS [RoleName],
  362. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  363. [Extent1].[Description] AS [Description]
  364. FROM [dbo].[aspnet_Roles] AS [Extent1]
  365. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.071:
  366. 10:50:56.071: -- EntityKeyValue1: 'd3bf4a4f-ff53-e611-80c3-00155d63106c' (Type = Guid)
  367. 10:50:56.071: -- Executing at 7/29/2016 10:50:56 AM +05:00
  368. 10:50:56.071: -- Completed in 0 ms with result: SqlDataReader
  369. 10:50:56.072:
  370. 10:50:56.072: SELECT
  371. [Extent1].[ID] AS [ID],
  372. [Extent1].[Name] AS [Name],
  373. [Extent1].[SourceSystemId] AS [SourceSystemId],
  374. [Extent1].[ID_ActionType] AS [ID_ActionType],
  375. [Extent1].[ID_Group] AS [ID_Group]
  376. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.072:
  377. 10:50:56.072: -- Executing at 7/29/2016 10:50:56 AM +05:00
  378. 10:50:56.073: -- Completed in 0 ms with result: SqlDataReader
  379. 10:50:56.073:
  380. 10:50:56.073: SELECT
  381. [Extent1].[Id] AS [Id],
  382. [Extent1].[StatusId] AS [StatusId],
  383. [Extent1].[RoleId] AS [RoleId],
  384. [Extent1].[QueueId] AS [QueueId],
  385. [Extent1].[TaskId] AS [TaskId],
  386. [Extent1].[Sent] AS [Sent],
  387. [Extent1].[Finished] AS [Finished],
  388. [Extent1].[Order] AS [Order]
  389. FROM [dbo].[ProcessQueueItem] AS [Extent1]
  390. WHERE [Extent1].[QueueId] = @EntityKeyValue110:50:56.073:
  391. 10:50:56.074: -- EntityKeyValue1: '2' (Type = Int32, IsNullable = false)
  392. 10:50:56.074: -- Executing at 7/29/2016 10:50:56 AM +05:00
  393. 10:50:56.074: -- Completed in 0 ms with result: SqlDataReader
  394. 10:50:56.074:
  395. 10:50:56.075: SELECT
  396. [Extent1].[ID] AS [ID],
  397. [Extent1].[Name] AS [Name],
  398. [Extent1].[SourceSystemId] AS [SourceSystemId],
  399. [Extent1].[ID_ActionType] AS [ID_ActionType],
  400. [Extent1].[ID_Group] AS [ID_Group]
  401. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.075:
  402. 10:50:56.075: -- Executing at 7/29/2016 10:50:56 AM +05:00
  403. 10:50:56.076: -- Completed in 0 ms with result: SqlDataReader
  404. 10:50:56.076:
  405. 10:50:56.076: SELECT
  406. [Extent1].[RoleId] AS [RoleId],
  407. [Extent1].[ApplicationId] AS [ApplicationId],
  408. [Extent1].[RoleName] AS [RoleName],
  409. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  410. [Extent1].[Description] AS [Description]
  411. FROM [dbo].[aspnet_Roles] AS [Extent1]
  412. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.076:
  413. 10:50:56.076: -- EntityKeyValue1: '9741a8cb-ff53-e611-80c3-00155d63106c' (Type = Guid)
  414. 10:50:56.077: -- Executing at 7/29/2016 10:50:56 AM +05:00
  415. 10:50:56.077: -- Completed in 0 ms with result: SqlDataReader
  416. 10:50:56.077:
  417. 10:50:56.078: SELECT
  418. [Extent1].[RoleId] AS [RoleId],
  419. [Extent1].[ApplicationId] AS [ApplicationId],
  420. [Extent1].[RoleName] AS [RoleName],
  421. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  422. [Extent1].[Description] AS [Description]
  423. FROM [dbo].[aspnet_Roles] AS [Extent1]
  424. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.078:
  425. 10:50:56.078: -- EntityKeyValue1: 'ce0374de-ff53-e611-80c3-00155d63106c' (Type = Guid)
  426. 10:50:56.078: -- Executing at 7/29/2016 10:50:56 AM +05:00
  427. 10:50:56.079: -- Completed in 0 ms with result: SqlDataReader
  428. 10:50:56.079:
  429. 10:50:56.079: Closed connection at 7/29/2016 10:50:56 AM +05:00
  430. 10:50:56.08: Opened connection at 7/29/2016 10:50:56 AM +05:00
  431. 10:50:56.09: SELECT TOP (1)
  432. [Extent1].[Id] AS [Id],
  433. [Extent1].[Name] AS [Name]
  434. FROM [dbo].[DocumentStatus] AS [Extent1]
  435. WHERE N'New' = [Extent1].[Name]10:50:56.09:
  436. 10:50:56.091: -- Executing at 7/29/2016 10:50:56 AM +05:00
  437. 10:50:56.092: -- Completed in 1 ms with result: SqlDataReader
  438. 10:50:56.092:
  439. 10:50:56.094: Closed connection at 7/29/2016 10:50:56 AM +05:00
  440. 10:50:56.094: Opened connection at 7/29/2016 10:50:56 AM +05:00
  441. 10:50:56.094: SELECT TOP (1)
  442. [Extent1].[ID] AS [ID],
  443. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  444. [Extent1].[FirstName] AS [FirstName],
  445. [Extent1].[LastName] AS [LastName],
  446. [Extent1].[Active] AS [Active]
  447. FROM [dbo].[User] AS [Extent1]
  448. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  449. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.095:
  450. 10:50:56.095: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  451. 10:50:56.095: -- Executing at 7/29/2016 10:50:56 AM +05:00
  452. 10:50:56.096: -- Completed in 0 ms with result: SqlDataReader
  453. 10:50:56.096:
  454. 10:50:56.096: Closed connection at 7/29/2016 10:50:56 AM +05:00
  455. 10:50:56.134: Opened connection at 7/29/2016 10:50:56 AM +05:00
  456. 10:50:56.135: Started transaction at 7/29/2016 10:50:56 AM +05:00
  457. 10:50:56.147: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  458. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  459. SELECT [Id]
  460. FROM [dbo].[Document]
  461. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.147:
  462. 10:50:56.147: -- @0: '10:50 AM_0' (Type = String, Size = 256)
  463. 10:50:56.147: -- @1: '1.0' (Type = String, Size = 64)
  464. 10:50:56.148: -- @2: 'test.bin' (Type = String, Size = 256)
  465. 10:50:56.148: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  466. 10:50:56.148: -- @4: 'True' (Type = Boolean)
  467. 10:50:56.148: -- @5: '6' (Type = Int32)
  468. 10:50:56.148: -- @6: '1' (Type = Int32)
  469. 10:50:56.149: -- @7: '2' (Type = Int32)
  470. 10:50:56.149: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  471. 10:50:56.149: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  472. 10:50:56.149: -- Executing at 7/29/2016 10:50:56 AM +05:00
  473. 10:50:56.153: -- Completed in 3 ms with result: SqlDataReader
  474. 10:50:56.153:
  475. 10:50:56.157: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  476. 10:50:56.157: Closed connection at 7/29/2016 10:50:56 AM +05:00
  477. 10:50:56.167: Opened connection at 7/29/2016 10:50:56 AM +05:00
  478. 10:50:56.168: Started transaction at 7/29/2016 10:50:56 AM +05:00
  479. 10:50:56.17: UPDATE [dbo].[Document]
  480. SET [ChronicalDocumentId] = @0
  481. WHERE ([Id] = @1)
  482. 10:50:56.17: -- @0: '2018' (Type = Int32)
  483. 10:50:56.171: -- @1: '2018' (Type = Int32)
  484. 10:50:56.171: -- Executing at 7/29/2016 10:50:56 AM +05:00
  485. 10:50:56.172: -- Completed in 1 ms with result: 1
  486. 10:50:56.172:
  487. 10:50:56.173: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  488. 10:50:56.173: Closed connection at 7/29/2016 10:50:56 AM +05:00
  489. 10:50:56.174: Opened connection at 7/29/2016 10:50:56 AM +05:00
  490. 10:50:56.185: SELECT TOP (2)
  491. [Extent1].[Id] AS [Id],
  492. [Extent1].[Name] AS [Name]
  493. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  494. WHERE 'New' = [Extent1].[Name]10:50:56.185:
  495. 10:50:56.185: -- Executing at 7/29/2016 10:50:56 AM +05:00
  496. 10:50:56.186: -- Completed in 0 ms with result: SqlDataReader
  497. 10:50:56.186:
  498. 10:50:56.189: Closed connection at 7/29/2016 10:50:56 AM +05:00
  499. 10:50:56.195: Opened connection at 7/29/2016 10:50:56 AM +05:00
  500. 10:50:56.195: Started transaction at 7/29/2016 10:50:56 AM +05:00
  501. 10:50:56.201: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  502. VALUES (@0, NULL, @1)
  503. SELECT [Id]
  504. FROM [dbo].[ProcessQueue]
  505. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.201:
  506. 10:50:56.201: -- @0: '2018' (Type = Int32)
  507. 10:50:56.202: -- @1: '2' (Type = Int32)
  508. 10:50:56.202: -- Executing at 7/29/2016 10:50:56 AM +05:00
  509. 10:50:56.204: -- Completed in 2 ms with result: SqlDataReader
  510. 10:50:56.204:
  511. 10:50:56.205: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  512. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  513. SELECT [Id]
  514. FROM [dbo].[ProcessQueueItem]
  515. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.205:
  516. 10:50:56.206: -- @0: '1' (Type = Int32)
  517. 10:50:56.206: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  518. 10:50:56.206: -- @2: '6058' (Type = Int32)
  519. 10:50:56.206: -- @3: '1' (Type = Int32)
  520. 10:50:56.206: -- Executing at 7/29/2016 10:50:56 AM +05:00
  521. 10:50:56.209: -- Completed in 2 ms with result: SqlDataReader
  522. 10:50:56.209:
  523. 10:50:56.211: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  524. 10:50:56.211: Closed connection at 7/29/2016 10:50:56 AM +05:00
  525. 10:50:56.215: Opened connection at 7/29/2016 10:50:56 AM +05:00
  526. 10:50:56.215: Started transaction at 7/29/2016 10:50:56 AM +05:00
  527. 10:50:56.217: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  528. VALUES (@0, NULL, @1)
  529. SELECT [Id]
  530. FROM [dbo].[ProcessQueue]
  531. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.217:
  532. 10:50:56.217: -- @0: '2018' (Type = Int32)
  533. 10:50:56.217: -- @1: '3' (Type = Int32)
  534. 10:50:56.217: -- Executing at 7/29/2016 10:50:56 AM +05:00
  535. 10:50:56.218: -- Completed in 0 ms with result: SqlDataReader
  536. 10:50:56.218:
  537. 10:50:56.218: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  538. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  539. SELECT [Id]
  540. FROM [dbo].[ProcessQueueItem]
  541. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.219:
  542. 10:50:56.219: -- @0: '1' (Type = Int32)
  543. 10:50:56.219: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  544. 10:50:56.219: -- @2: '6059' (Type = Int32)
  545. 10:50:56.219: -- @3: '1' (Type = Int32)
  546. 10:50:56.22: -- Executing at 7/29/2016 10:50:56 AM +05:00
  547. 10:50:56.22: -- Completed in 0 ms with result: SqlDataReader
  548. 10:50:56.22:
  549. 10:50:56.221: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  550. 10:50:56.221: Closed connection at 7/29/2016 10:50:56 AM +05:00
  551. 10:50:56.222: Opened connection at 7/29/2016 10:50:56 AM +05:00
  552. 10:50:56.222: SELECT
  553. [Extent1].[Id] AS [Id],
  554. [Extent1].[Name] AS [Name]
  555. FROM [dbo].[ActionType] AS [Extent1]
  556. WHERE [Extent1].[Id] = @EntityKeyValue110:50:56.222:
  557. 10:50:56.222: -- EntityKeyValue1: '1' (Type = Int32)
  558. 10:50:56.222: -- Executing at 7/29/2016 10:50:56 AM +05:00
  559. 10:50:56.223: -- Completed in 0 ms with result: SqlDataReader
  560. 10:50:56.223:
  561. 10:50:56.223: Closed connection at 7/29/2016 10:50:56 AM +05:00
  562. 10:50:56.224: Opened connection at 7/29/2016 10:50:56 AM +05:00
  563. 10:50:56.224: SELECT
  564. [Extent1].[Id] AS [Id],
  565. [Extent1].[StatusId] AS [StatusId],
  566. [Extent1].[RoleId] AS [RoleId],
  567. [Extent1].[QueueId] AS [QueueId],
  568. [Extent1].[TaskId] AS [TaskId],
  569. [Extent1].[Sent] AS [Sent],
  570. [Extent1].[Finished] AS [Finished],
  571. [Extent1].[Order] AS [Order]
  572. FROM [dbo].[ProcessQueueItem] AS [Extent1]
  573. WHERE [Extent1].[QueueId] = @EntityKeyValue110:50:56.224:
  574. 10:50:56.224: -- EntityKeyValue1: '3' (Type = Int32, IsNullable = false)
  575. 10:50:56.225: -- Executing at 7/29/2016 10:50:56 AM +05:00
  576. 10:50:56.225: -- Completed in 0 ms with result: SqlDataReader
  577. 10:50:56.225:
  578. 10:50:56.226: Closed connection at 7/29/2016 10:50:56 AM +05:00
  579. 10:50:56.229: Opened connection at 7/29/2016 10:50:56 AM +05:00
  580. 10:50:56.229: Started transaction at 7/29/2016 10:50:56 AM +05:00
  581. 10:50:56.23: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  582. VALUES (@0, NULL, @1)
  583. SELECT [Id]
  584. FROM [dbo].[ProcessQueue]
  585. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.23:
  586. 10:50:56.23: -- @0: '2018' (Type = Int32)
  587. 10:50:56.231: -- @1: '1' (Type = Int32)
  588. 10:50:56.231: -- Executing at 7/29/2016 10:50:56 AM +05:00
  589. 10:50:56.231: -- Completed in 0 ms with result: SqlDataReader
  590. 10:50:56.231:
  591. 10:50:56.232: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  592. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  593. SELECT [Id]
  594. FROM [dbo].[ProcessQueueItem]
  595. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.232:
  596. 10:50:56.232: -- @0: '1' (Type = Int32)
  597. 10:50:56.232: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  598. 10:50:56.233: -- @2: '6060' (Type = Int32)
  599. 10:50:56.233: -- @3: '1' (Type = Int32)
  600. 10:50:56.233: -- Executing at 7/29/2016 10:50:56 AM +05:00
  601. 10:50:56.233: -- Completed in 0 ms with result: SqlDataReader
  602. 10:50:56.233:
  603. 10:50:56.234: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  604. 10:50:56.234: Closed connection at 7/29/2016 10:50:56 AM +05:00
  605. 10:50:56.235: Opened connection at 7/29/2016 10:50:56 AM +05:00
  606. 10:50:56.236: SELECT TOP (2)
  607. [Extent1].[Id] AS [Id],
  608. [Extent1].[Name] AS [Name],
  609. [Extent1].[AuthorId] AS [AuthorId],
  610. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  611. [Extent1].[SourceSystemId] AS [SourceSystemId]
  612. FROM [dbo].[DocumentTemplate] AS [Extent1]
  613. WHERE [Extent1].[Id] = @p__linq__010:50:56.236:
  614. 10:50:56.236: -- p__linq__0: '3' (Type = Int32, IsNullable = false)
  615. 10:50:56.237: -- Executing at 7/29/2016 10:50:56 AM +05:00
  616. 10:50:56.239: -- Completed in 0 ms with result: SqlDataReader
  617. 10:50:56.239:
  618. 10:50:56.239: Closed connection at 7/29/2016 10:50:56 AM +05:00
  619. 10:50:56.24: Opened connection at 7/29/2016 10:50:56 AM +05:00
  620. 10:50:56.243: SELECT
  621. [Extent1].[Id] AS [Id],
  622. [Extent1].[Name] AS [Name]
  623. FROM [dbo].[ActionType] AS [Extent1]
  624. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.243:
  625. 10:50:56.243: -- Executing at 7/29/2016 10:50:56 AM +05:00
  626. 10:50:56.244: -- Completed in 0 ms with result: SqlDataReader
  627. 10:50:56.244:
  628. 10:50:56.244: SELECT
  629. [Extent1].[ID] AS [ID],
  630. [Extent1].[Name] AS [Name],
  631. [Extent1].[SourceSystemId] AS [SourceSystemId],
  632. [Extent1].[ID_ActionType] AS [ID_ActionType],
  633. [Extent1].[ID_Group] AS [ID_Group]
  634. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.244:
  635. 10:50:56.245: -- Executing at 7/29/2016 10:50:56 AM +05:00
  636. 10:50:56.245: -- Completed in 0 ms with result: SqlDataReader
  637. 10:50:56.245:
  638. 10:50:56.246: SELECT
  639. [Extent1].[Id] AS [Id],
  640. [Extent1].[DocumentId] AS [DocumentId],
  641. [Extent1].[TemplateId] AS [TemplateId],
  642. [Extent1].[ActionTypeId] AS [ActionTypeId]
  643. FROM [dbo].[ProcessQueue] AS [Extent1]
  644. WHERE [Extent1].[TemplateId] = @EntityKeyValue110:50:56.246:
  645. 10:50:56.246: -- EntityKeyValue1: '3' (Type = Int32, IsNullable = false)
  646. 10:50:56.246: -- Executing at 7/29/2016 10:50:56 AM +05:00
  647. 10:50:56.247: -- Completed in 0 ms with result: SqlDataReader
  648. 10:50:56.247:
  649. 10:50:56.247: SELECT
  650. [Extent1].[Id] AS [Id],
  651. [Extent1].[StatusId] AS [StatusId],
  652. [Extent1].[RoleId] AS [RoleId],
  653. [Extent1].[QueueId] AS [QueueId],
  654. [Extent1].[TaskId] AS [TaskId],
  655. [Extent1].[Sent] AS [Sent],
  656. [Extent1].[Finished] AS [Finished],
  657. [Extent1].[Order] AS [Order]
  658. FROM [dbo].[ProcessQueueItem] AS [Extent1]
  659. WHERE [Extent1].[QueueId] = @EntityKeyValue110:50:56.248:
  660. 10:50:56.248: -- EntityKeyValue1: '4369' (Type = Int32, IsNullable = false)
  661. 10:50:56.248: -- Executing at 7/29/2016 10:50:56 AM +05:00
  662. 10:50:56.248: -- Completed in 0 ms with result: SqlDataReader
  663. 10:50:56.249:
  664. 10:50:56.249: SELECT
  665. [Extent1].[ID] AS [ID],
  666. [Extent1].[Name] AS [Name],
  667. [Extent1].[SourceSystemId] AS [SourceSystemId],
  668. [Extent1].[ID_ActionType] AS [ID_ActionType],
  669. [Extent1].[ID_Group] AS [ID_Group]
  670. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.249:
  671. 10:50:56.249: -- Executing at 7/29/2016 10:50:56 AM +05:00
  672. 10:50:56.25: -- Completed in 0 ms with result: SqlDataReader
  673. 10:50:56.25:
  674. 10:50:56.25: SELECT
  675. [Extent1].[ID] AS [ID],
  676. [Extent1].[Name] AS [Name],
  677. [Extent1].[SourceSystemId] AS [SourceSystemId],
  678. [Extent1].[ID_ActionType] AS [ID_ActionType],
  679. [Extent1].[ID_Group] AS [ID_Group]
  680. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.25:
  681. 10:50:56.251: -- Executing at 7/29/2016 10:50:56 AM +05:00
  682. 10:50:56.251: -- Completed in 0 ms with result: SqlDataReader
  683. 10:50:56.251:
  684. 10:50:56.251: SELECT
  685. [Extent1].[Id] AS [Id],
  686. [Extent1].[StatusId] AS [StatusId],
  687. [Extent1].[RoleId] AS [RoleId],
  688. [Extent1].[QueueId] AS [QueueId],
  689. [Extent1].[TaskId] AS [TaskId],
  690. [Extent1].[Sent] AS [Sent],
  691. [Extent1].[Finished] AS [Finished],
  692. [Extent1].[Order] AS [Order]
  693. FROM [dbo].[ProcessQueueItem] AS [Extent1]
  694. WHERE [Extent1].[QueueId] = @EntityKeyValue110:50:56.252:
  695. 10:50:56.252: -- EntityKeyValue1: '4370' (Type = Int32, IsNullable = false)
  696. 10:50:56.252: -- Executing at 7/29/2016 10:50:56 AM +05:00
  697. 10:50:56.252: -- Completed in 0 ms with result: SqlDataReader
  698. 10:50:56.253:
  699. 10:50:56.253: SELECT
  700. [Extent1].[ID] AS [ID],
  701. [Extent1].[Name] AS [Name],
  702. [Extent1].[SourceSystemId] AS [SourceSystemId],
  703. [Extent1].[ID_ActionType] AS [ID_ActionType],
  704. [Extent1].[ID_Group] AS [ID_Group]
  705. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.253:
  706. 10:50:56.253: -- Executing at 7/29/2016 10:50:56 AM +05:00
  707. 10:50:56.254: -- Completed in 0 ms with result: SqlDataReader
  708. 10:50:56.254:
  709. 10:50:56.254: Closed connection at 7/29/2016 10:50:56 AM +05:00
  710. 10:50:56.254: Opened connection at 7/29/2016 10:50:56 AM +05:00
  711. 10:50:56.255: SELECT TOP (1)
  712. [Extent1].[Id] AS [Id],
  713. [Extent1].[Name] AS [Name]
  714. FROM [dbo].[DocumentStatus] AS [Extent1]
  715. WHERE N'New' = [Extent1].[Name]10:50:56.255:
  716. 10:50:56.255: -- Executing at 7/29/2016 10:50:56 AM +05:00
  717. 10:50:56.256: -- Completed in 0 ms with result: SqlDataReader
  718. 10:50:56.256:
  719. 10:50:56.256: Closed connection at 7/29/2016 10:50:56 AM +05:00
  720. 10:50:56.256: Opened connection at 7/29/2016 10:50:56 AM +05:00
  721. 10:50:56.257: SELECT TOP (1)
  722. [Extent1].[ID] AS [ID],
  723. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  724. [Extent1].[FirstName] AS [FirstName],
  725. [Extent1].[LastName] AS [LastName],
  726. [Extent1].[Active] AS [Active]
  727. FROM [dbo].[User] AS [Extent1]
  728. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  729. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.257:
  730. 10:50:56.257: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  731. 10:50:56.257: -- Executing at 7/29/2016 10:50:56 AM +05:00
  732. 10:50:56.258: -- Completed in 0 ms with result: SqlDataReader
  733. 10:50:56.258:
  734. 10:50:56.258: Closed connection at 7/29/2016 10:50:56 AM +05:00
  735. 10:50:56.261: Opened connection at 7/29/2016 10:50:56 AM +05:00
  736. 10:50:56.262: Started transaction at 7/29/2016 10:50:56 AM +05:00
  737. 10:50:56.263: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  738. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  739. SELECT [Id]
  740. FROM [dbo].[Document]
  741. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.263:
  742. 10:50:56.265: -- @0: '10:50 AM_1' (Type = String, Size = 256)
  743. 10:50:56.266: -- @1: '1.0' (Type = String, Size = 64)
  744. 10:50:56.267: -- @2: 'test.bin' (Type = String, Size = 256)
  745. 10:50:56.268: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  746. 10:50:56.269: -- @4: 'True' (Type = Boolean)
  747. 10:50:56.269: -- @5: '6' (Type = Int32)
  748. 10:50:56.269: -- @6: '1' (Type = Int32)
  749. 10:50:56.269: -- @7: '3' (Type = Int32)
  750. 10:50:56.27: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  751. 10:50:56.27: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  752. 10:50:56.27: -- Executing at 7/29/2016 10:50:56 AM +05:00
  753. 10:50:56.271: -- Completed in 0 ms with result: SqlDataReader
  754. 10:50:56.271:
  755. 10:50:56.271: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  756. 10:50:56.272: Closed connection at 7/29/2016 10:50:56 AM +05:00
  757. 10:50:56.273: Opened connection at 7/29/2016 10:50:56 AM +05:00
  758. 10:50:56.274: Started transaction at 7/29/2016 10:50:56 AM +05:00
  759. 10:50:56.275: UPDATE [dbo].[Document]
  760. SET [ChronicalDocumentId] = @0
  761. WHERE ([Id] = @1)
  762. 10:50:56.275: -- @0: '2019' (Type = Int32)
  763. 10:50:56.275: -- @1: '2019' (Type = Int32)
  764. 10:50:56.276: -- Executing at 7/29/2016 10:50:56 AM +05:00
  765. 10:50:56.276: -- Completed in 0 ms with result: 1
  766. 10:50:56.276:
  767. 10:50:56.277: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  768. 10:50:56.277: Closed connection at 7/29/2016 10:50:56 AM +05:00
  769. 10:50:56.277: Opened connection at 7/29/2016 10:50:56 AM +05:00
  770. 10:50:56.278: SELECT TOP (2)
  771. [Extent1].[Id] AS [Id],
  772. [Extent1].[Name] AS [Name]
  773. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  774. WHERE 'New' = [Extent1].[Name]10:50:56.278:
  775. 10:50:56.278: -- Executing at 7/29/2016 10:50:56 AM +05:00
  776. 10:50:56.279: -- Completed in 0 ms with result: SqlDataReader
  777. 10:50:56.279:
  778. 10:50:56.279: Closed connection at 7/29/2016 10:50:56 AM +05:00
  779. 10:50:56.282: Opened connection at 7/29/2016 10:50:56 AM +05:00
  780. 10:50:56.283: Started transaction at 7/29/2016 10:50:56 AM +05:00
  781. 10:50:56.284: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  782. VALUES (@0, NULL, @1)
  783. SELECT [Id]
  784. FROM [dbo].[ProcessQueue]
  785. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.284:
  786. 10:50:56.284: -- @0: '2019' (Type = Int32)
  787. 10:50:56.284: -- @1: '2' (Type = Int32)
  788. 10:50:56.285: -- Executing at 7/29/2016 10:50:56 AM +05:00
  789. 10:50:56.285: -- Completed in 0 ms with result: SqlDataReader
  790. 10:50:56.285:
  791. 10:50:56.286: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  792. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  793. SELECT [Id]
  794. FROM [dbo].[ProcessQueueItem]
  795. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.286:
  796. 10:50:56.286: -- @0: '1' (Type = Int32)
  797. 10:50:56.286: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  798. 10:50:56.287: -- @2: '6061' (Type = Int32)
  799. 10:50:56.287: -- @3: '1' (Type = Int32)
  800. 10:50:56.287: -- Executing at 7/29/2016 10:50:56 AM +05:00
  801. 10:50:56.287: -- Completed in 0 ms with result: SqlDataReader
  802. 10:50:56.288:
  803. 10:50:56.288: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  804. 10:50:56.289: Closed connection at 7/29/2016 10:50:56 AM +05:00
  805. 10:50:56.292: Opened connection at 7/29/2016 10:50:56 AM +05:00
  806. 10:50:56.293: Started transaction at 7/29/2016 10:50:56 AM +05:00
  807. 10:50:56.294: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  808. VALUES (@0, NULL, @1)
  809. SELECT [Id]
  810. FROM [dbo].[ProcessQueue]
  811. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.294:
  812. 10:50:56.294: -- @0: '2019' (Type = Int32)
  813. 10:50:56.294: -- @1: '3' (Type = Int32)
  814. 10:50:56.295: -- Executing at 7/29/2016 10:50:56 AM +05:00
  815. 10:50:56.295: -- Completed in 0 ms with result: SqlDataReader
  816. 10:50:56.295:
  817. 10:50:56.296: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  818. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  819. SELECT [Id]
  820. FROM [dbo].[ProcessQueueItem]
  821. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.296:
  822. 10:50:56.296: -- @0: '1' (Type = Int32)
  823. 10:50:56.296: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  824. 10:50:56.296: -- @2: '6062' (Type = Int32)
  825. 10:50:56.297: -- @3: '1' (Type = Int32)
  826. 10:50:56.297: -- Executing at 7/29/2016 10:50:56 AM +05:00
  827. 10:50:56.297: -- Completed in 0 ms with result: SqlDataReader
  828. 10:50:56.297:
  829. 10:50:56.298: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  830. 10:50:56.298: Closed connection at 7/29/2016 10:50:56 AM +05:00
  831. 10:50:56.299: Opened connection at 7/29/2016 10:50:56 AM +05:00
  832. 10:50:56.299: SELECT
  833. [Extent1].[Id] AS [Id],
  834. [Extent1].[StatusId] AS [StatusId],
  835. [Extent1].[RoleId] AS [RoleId],
  836. [Extent1].[QueueId] AS [QueueId],
  837. [Extent1].[TaskId] AS [TaskId],
  838. [Extent1].[Sent] AS [Sent],
  839. [Extent1].[Finished] AS [Finished],
  840. [Extent1].[Order] AS [Order]
  841. FROM [dbo].[ProcessQueueItem] AS [Extent1]
  842. WHERE [Extent1].[QueueId] = @EntityKeyValue110:50:56.299:
  843. 10:50:56.299: -- EntityKeyValue1: '4371' (Type = Int32, IsNullable = false)
  844. 10:50:56.3: -- Executing at 7/29/2016 10:50:56 AM +05:00
  845. 10:50:56.3: -- Completed in 0 ms with result: SqlDataReader
  846. 10:50:56.3:
  847. 10:50:56.301: Closed connection at 7/29/2016 10:50:56 AM +05:00
  848. 10:50:56.304: Opened connection at 7/29/2016 10:50:56 AM +05:00
  849. 10:50:56.304: Started transaction at 7/29/2016 10:50:56 AM +05:00
  850. 10:50:56.305: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  851. VALUES (@0, NULL, @1)
  852. SELECT [Id]
  853. FROM [dbo].[ProcessQueue]
  854. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.306:
  855. 10:50:56.306: -- @0: '2019' (Type = Int32)
  856. 10:50:56.306: -- @1: '1' (Type = Int32)
  857. 10:50:56.306: -- Executing at 7/29/2016 10:50:56 AM +05:00
  858. 10:50:56.307: -- Completed in 0 ms with result: SqlDataReader
  859. 10:50:56.307:
  860. 10:50:56.307: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  861. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  862. SELECT [Id]
  863. FROM [dbo].[ProcessQueueItem]
  864. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.307:
  865. 10:50:56.308: -- @0: '1' (Type = Int32)
  866. 10:50:56.308: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  867. 10:50:56.308: -- @2: '6063' (Type = Int32)
  868. 10:50:56.308: -- @3: '1' (Type = Int32)
  869. 10:50:56.308: -- Executing at 7/29/2016 10:50:56 AM +05:00
  870. 10:50:56.309: -- Completed in 0 ms with result: SqlDataReader
  871. 10:50:56.309:
  872. 10:50:56.309: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  873. 10:50:56.31: Closed connection at 7/29/2016 10:50:56 AM +05:00
  874. 10:50:56.31: Opened connection at 7/29/2016 10:50:56 AM +05:00
  875. 10:50:56.311: SELECT TOP (2)
  876. [Extent1].[Id] AS [Id],
  877. [Extent1].[Name] AS [Name],
  878. [Extent1].[AuthorId] AS [AuthorId],
  879. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  880. [Extent1].[SourceSystemId] AS [SourceSystemId]
  881. FROM [dbo].[DocumentTemplate] AS [Extent1]
  882. WHERE [Extent1].[Id] = @p__linq__010:50:56.311:
  883. 10:50:56.311: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  884. 10:50:56.311: -- Executing at 7/29/2016 10:50:56 AM +05:00
  885. 10:50:56.312: -- Completed in 0 ms with result: SqlDataReader
  886. 10:50:56.312:
  887. 10:50:56.312: Closed connection at 7/29/2016 10:50:56 AM +05:00
  888. 10:50:56.313: Opened connection at 7/29/2016 10:50:56 AM +05:00
  889. 10:50:56.314: SELECT
  890. [Extent1].[Id] AS [Id],
  891. [Extent1].[Name] AS [Name]
  892. FROM [dbo].[ActionType] AS [Extent1]
  893. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.314:
  894. 10:50:56.315: -- Executing at 7/29/2016 10:50:56 AM +05:00
  895. 10:50:56.315: -- Completed in 0 ms with result: SqlDataReader
  896. 10:50:56.315:
  897. 10:50:56.316: SELECT
  898. [Extent1].[ID] AS [ID],
  899. [Extent1].[Name] AS [Name],
  900. [Extent1].[SourceSystemId] AS [SourceSystemId],
  901. [Extent1].[ID_ActionType] AS [ID_ActionType],
  902. [Extent1].[ID_Group] AS [ID_Group]
  903. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.316:
  904. 10:50:56.316: -- Executing at 7/29/2016 10:50:56 AM +05:00
  905. 10:50:56.317: -- Completed in 0 ms with result: SqlDataReader
  906. 10:50:56.317:
  907. 10:50:56.317: SELECT
  908. [Extent1].[ID] AS [ID],
  909. [Extent1].[Name] AS [Name],
  910. [Extent1].[SourceSystemId] AS [SourceSystemId],
  911. [Extent1].[ID_ActionType] AS [ID_ActionType],
  912. [Extent1].[ID_Group] AS [ID_Group]
  913. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.317:
  914. 10:50:56.317: -- Executing at 7/29/2016 10:50:56 AM +05:00
  915. 10:50:56.318: -- Completed in 0 ms with result: SqlDataReader
  916. 10:50:56.318:
  917. 10:50:56.318: SELECT
  918. [Extent1].[ID] AS [ID],
  919. [Extent1].[Name] AS [Name],
  920. [Extent1].[SourceSystemId] AS [SourceSystemId],
  921. [Extent1].[ID_ActionType] AS [ID_ActionType],
  922. [Extent1].[ID_Group] AS [ID_Group]
  923. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.318:
  924. 10:50:56.319: -- Executing at 7/29/2016 10:50:56 AM +05:00
  925. 10:50:56.319: -- Completed in 0 ms with result: SqlDataReader
  926. 10:50:56.319:
  927. 10:50:56.319: SELECT
  928. [Extent1].[ID] AS [ID],
  929. [Extent1].[Name] AS [Name],
  930. [Extent1].[SourceSystemId] AS [SourceSystemId],
  931. [Extent1].[ID_ActionType] AS [ID_ActionType],
  932. [Extent1].[ID_Group] AS [ID_Group]
  933. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.32:
  934. 10:50:56.32: -- Executing at 7/29/2016 10:50:56 AM +05:00
  935. 10:50:56.32: -- Completed in 0 ms with result: SqlDataReader
  936. 10:50:56.32:
  937. 10:50:56.321: Closed connection at 7/29/2016 10:50:56 AM +05:00
  938. 10:50:56.321: Opened connection at 7/29/2016 10:50:56 AM +05:00
  939. 10:50:56.321: SELECT TOP (1)
  940. [Extent1].[Id] AS [Id],
  941. [Extent1].[Name] AS [Name]
  942. FROM [dbo].[DocumentStatus] AS [Extent1]
  943. WHERE N'New' = [Extent1].[Name]10:50:56.322:
  944. 10:50:56.322: -- Executing at 7/29/2016 10:50:56 AM +05:00
  945. 10:50:56.322: -- Completed in 0 ms with result: SqlDataReader
  946. 10:50:56.322:
  947. 10:50:56.322: Closed connection at 7/29/2016 10:50:56 AM +05:00
  948. 10:50:56.323: Opened connection at 7/29/2016 10:50:56 AM +05:00
  949. 10:50:56.323: SELECT TOP (1)
  950. [Extent1].[ID] AS [ID],
  951. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  952. [Extent1].[FirstName] AS [FirstName],
  953. [Extent1].[LastName] AS [LastName],
  954. [Extent1].[Active] AS [Active]
  955. FROM [dbo].[User] AS [Extent1]
  956. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  957. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.323:
  958. 10:50:56.324: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  959. 10:50:56.324: -- Executing at 7/29/2016 10:50:56 AM +05:00
  960. 10:50:56.324: -- Completed in 0 ms with result: SqlDataReader
  961. 10:50:56.324:
  962. 10:50:56.325: Closed connection at 7/29/2016 10:50:56 AM +05:00
  963. 10:50:56.328: Opened connection at 7/29/2016 10:50:56 AM +05:00
  964. 10:50:56.329: Started transaction at 7/29/2016 10:50:56 AM +05:00
  965. 10:50:56.33: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  966. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  967. SELECT [Id]
  968. FROM [dbo].[Document]
  969. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.33:
  970. 10:50:56.33: -- @0: '10:50 AM_2' (Type = String, Size = 256)
  971. 10:50:56.33: -- @1: '1.0' (Type = String, Size = 64)
  972. 10:50:56.33: -- @2: 'test.bin' (Type = String, Size = 256)
  973. 10:50:56.331: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  974. 10:50:56.331: -- @4: 'True' (Type = Boolean)
  975. 10:50:56.331: -- @5: '6' (Type = Int32)
  976. 10:50:56.331: -- @6: '1' (Type = Int32)
  977. 10:50:56.331: -- @7: '2' (Type = Int32)
  978. 10:50:56.332: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  979. 10:50:56.332: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  980. 10:50:56.332: -- Executing at 7/29/2016 10:50:56 AM +05:00
  981. 10:50:56.332: -- Completed in 0 ms with result: SqlDataReader
  982. 10:50:56.333:
  983. 10:50:56.333: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  984. 10:50:56.333: Closed connection at 7/29/2016 10:50:56 AM +05:00
  985. 10:50:56.335: Opened connection at 7/29/2016 10:50:56 AM +05:00
  986. 10:50:56.336: Started transaction at 7/29/2016 10:50:56 AM +05:00
  987. 10:50:56.336: UPDATE [dbo].[Document]
  988. SET [ChronicalDocumentId] = @0
  989. WHERE ([Id] = @1)
  990. 10:50:56.337: -- @0: '2020' (Type = Int32)
  991. 10:50:56.337: -- @1: '2020' (Type = Int32)
  992. 10:50:56.337: -- Executing at 7/29/2016 10:50:56 AM +05:00
  993. 10:50:56.337: -- Completed in 0 ms with result: 1
  994. 10:50:56.338:
  995. 10:50:56.338: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  996. 10:50:56.338: Closed connection at 7/29/2016 10:50:56 AM +05:00
  997. 10:50:56.339: Opened connection at 7/29/2016 10:50:56 AM +05:00
  998. 10:50:56.339: SELECT TOP (2)
  999. [Extent1].[Id] AS [Id],
  1000. [Extent1].[Name] AS [Name]
  1001. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  1002. WHERE 'New' = [Extent1].[Name]10:50:56.339:
  1003. 10:50:56.339: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1004. 10:50:56.34: -- Completed in 0 ms with result: SqlDataReader
  1005. 10:50:56.34:
  1006. 10:50:56.34: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1007. 10:50:56.344: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1008. 10:50:56.344: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1009. 10:50:56.345: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1010. VALUES (@0, NULL, @1)
  1011. SELECT [Id]
  1012. FROM [dbo].[ProcessQueue]
  1013. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.345:
  1014. 10:50:56.345: -- @0: '2020' (Type = Int32)
  1015. 10:50:56.346: -- @1: '2' (Type = Int32)
  1016. 10:50:56.346: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1017. 10:50:56.346: -- Completed in 0 ms with result: SqlDataReader
  1018. 10:50:56.346:
  1019. 10:50:56.347: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1020. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1021. SELECT [Id]
  1022. FROM [dbo].[ProcessQueueItem]
  1023. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.347:
  1024. 10:50:56.347: -- @0: '1' (Type = Int32)
  1025. 10:50:56.347: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  1026. 10:50:56.348: -- @2: '6064' (Type = Int32)
  1027. 10:50:56.348: -- @3: '1' (Type = Int32)
  1028. 10:50:56.348: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1029. 10:50:56.348: -- Completed in 0 ms with result: SqlDataReader
  1030. 10:50:56.349:
  1031. 10:50:56.349: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1032. 10:50:56.349: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1033. 10:50:56.353: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1034. 10:50:56.353: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1035. 10:50:56.354: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1036. VALUES (@0, NULL, @1)
  1037. SELECT [Id]
  1038. FROM [dbo].[ProcessQueue]
  1039. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.354:
  1040. 10:50:56.355: -- @0: '2020' (Type = Int32)
  1041. 10:50:56.355: -- @1: '3' (Type = Int32)
  1042. 10:50:56.355: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1043. 10:50:56.355: -- Completed in 0 ms with result: SqlDataReader
  1044. 10:50:56.356:
  1045. 10:50:56.356: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1046. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1047. SELECT [Id]
  1048. FROM [dbo].[ProcessQueueItem]
  1049. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.356:
  1050. 10:50:56.356: -- @0: '1' (Type = Int32)
  1051. 10:50:56.357: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  1052. 10:50:56.357: -- @2: '6065' (Type = Int32)
  1053. 10:50:56.357: -- @3: '1' (Type = Int32)
  1054. 10:50:56.357: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1055. 10:50:56.358: -- Completed in 0 ms with result: SqlDataReader
  1056. 10:50:56.358:
  1057. 10:50:56.358: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1058. 10:50:56.359: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1059. 10:50:56.362: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1060. 10:50:56.363: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1061. 10:50:56.364: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1062. VALUES (@0, NULL, @1)
  1063. SELECT [Id]
  1064. FROM [dbo].[ProcessQueue]
  1065. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.364:
  1066. 10:50:56.364: -- @0: '2020' (Type = Int32)
  1067. 10:50:56.364: -- @1: '1' (Type = Int32)
  1068. 10:50:56.364: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1069. 10:50:56.365: -- Completed in 0 ms with result: SqlDataReader
  1070. 10:50:56.365:
  1071. 10:50:56.365: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1072. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1073. SELECT [Id]
  1074. FROM [dbo].[ProcessQueueItem]
  1075. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.365:
  1076. 10:50:56.366: -- @0: '1' (Type = Int32)
  1077. 10:50:56.366: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  1078. 10:50:56.366: -- @2: '6066' (Type = Int32)
  1079. 10:50:56.366: -- @3: '1' (Type = Int32)
  1080. 10:50:56.366: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1081. 10:50:56.367: -- Completed in 0 ms with result: SqlDataReader
  1082. 10:50:56.367:
  1083. 10:50:56.368: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1084. 10:50:56.368: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1085. 10:50:56.368: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1086. 10:50:56.369: SELECT TOP (2)
  1087. [Extent1].[Id] AS [Id],
  1088. [Extent1].[Name] AS [Name],
  1089. [Extent1].[AuthorId] AS [AuthorId],
  1090. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  1091. [Extent1].[SourceSystemId] AS [SourceSystemId]
  1092. FROM [dbo].[DocumentTemplate] AS [Extent1]
  1093. WHERE [Extent1].[Id] = @p__linq__010:50:56.369:
  1094. 10:50:56.369: -- p__linq__0: '3' (Type = Int32, IsNullable = false)
  1095. 10:50:56.369: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1096. 10:50:56.37: -- Completed in 0 ms with result: SqlDataReader
  1097. 10:50:56.37:
  1098. 10:50:56.37: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1099. 10:50:56.371: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1100. 10:50:56.372: SELECT
  1101. [Extent1].[Id] AS [Id],
  1102. [Extent1].[Name] AS [Name]
  1103. FROM [dbo].[ActionType] AS [Extent1]
  1104. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.372:
  1105. 10:50:56.372: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1106. 10:50:56.373: -- Completed in 0 ms with result: SqlDataReader
  1107. 10:50:56.373:
  1108. 10:50:56.373: SELECT
  1109. [Extent1].[ID] AS [ID],
  1110. [Extent1].[Name] AS [Name],
  1111. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1112. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1113. [Extent1].[ID_Group] AS [ID_Group]
  1114. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.373:
  1115. 10:50:56.374: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1116. 10:50:56.374: -- Completed in 0 ms with result: SqlDataReader
  1117. 10:50:56.374:
  1118. 10:50:56.374: SELECT
  1119. [Extent1].[ID] AS [ID],
  1120. [Extent1].[Name] AS [Name],
  1121. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1122. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1123. [Extent1].[ID_Group] AS [ID_Group]
  1124. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.375:
  1125. 10:50:56.375: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1126. 10:50:56.375: -- Completed in 0 ms with result: SqlDataReader
  1127. 10:50:56.375:
  1128. 10:50:56.376: SELECT
  1129. [Extent1].[ID] AS [ID],
  1130. [Extent1].[Name] AS [Name],
  1131. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1132. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1133. [Extent1].[ID_Group] AS [ID_Group]
  1134. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.376:
  1135. 10:50:56.376: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1136. 10:50:56.376: -- Completed in 0 ms with result: SqlDataReader
  1137. 10:50:56.377:
  1138. 10:50:56.377: SELECT
  1139. [Extent1].[ID] AS [ID],
  1140. [Extent1].[Name] AS [Name],
  1141. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1142. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1143. [Extent1].[ID_Group] AS [ID_Group]
  1144. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.377:
  1145. 10:50:56.377: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1146. 10:50:56.378: -- Completed in 0 ms with result: SqlDataReader
  1147. 10:50:56.378:
  1148. 10:50:56.378: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1149. 10:50:56.378: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1150. 10:50:56.379: SELECT TOP (1)
  1151. [Extent1].[Id] AS [Id],
  1152. [Extent1].[Name] AS [Name]
  1153. FROM [dbo].[DocumentStatus] AS [Extent1]
  1154. WHERE N'New' = [Extent1].[Name]10:50:56.379:
  1155. 10:50:56.379: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1156. 10:50:56.379: -- Completed in 0 ms with result: SqlDataReader
  1157. 10:50:56.38:
  1158. 10:50:56.38: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1159. 10:50:56.38: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1160. 10:50:56.381: SELECT TOP (1)
  1161. [Extent1].[ID] AS [ID],
  1162. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  1163. [Extent1].[FirstName] AS [FirstName],
  1164. [Extent1].[LastName] AS [LastName],
  1165. [Extent1].[Active] AS [Active]
  1166. FROM [dbo].[User] AS [Extent1]
  1167. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  1168. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.381:
  1169. 10:50:56.381: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  1170. 10:50:56.381: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1171. 10:50:56.382: -- Completed in 0 ms with result: SqlDataReader
  1172. 10:50:56.382:
  1173. 10:50:56.382: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1174. 10:50:56.386: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1175. 10:50:56.386: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1176. 10:50:56.387: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  1177. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  1178. SELECT [Id]
  1179. FROM [dbo].[Document]
  1180. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.387:
  1181. 10:50:56.387: -- @0: '10:50 AM_3' (Type = String, Size = 256)
  1182. 10:50:56.388: -- @1: '1.0' (Type = String, Size = 64)
  1183. 10:50:56.388: -- @2: 'test.bin' (Type = String, Size = 256)
  1184. 10:50:56.388: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  1185. 10:50:56.388: -- @4: 'True' (Type = Boolean)
  1186. 10:50:56.389: -- @5: '6' (Type = Int32)
  1187. 10:50:56.389: -- @6: '1' (Type = Int32)
  1188. 10:50:56.389: -- @7: '3' (Type = Int32)
  1189. 10:50:56.389: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  1190. 10:50:56.389: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  1191. 10:50:56.39: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1192. 10:50:56.39: -- Completed in 0 ms with result: SqlDataReader
  1193. 10:50:56.39:
  1194. 10:50:56.391: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1195. 10:50:56.391: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1196. 10:50:56.393: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1197. 10:50:56.394: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1198. 10:50:56.394: UPDATE [dbo].[Document]
  1199. SET [ChronicalDocumentId] = @0
  1200. WHERE ([Id] = @1)
  1201. 10:50:56.395: -- @0: '2021' (Type = Int32)
  1202. 10:50:56.395: -- @1: '2021' (Type = Int32)
  1203. 10:50:56.395: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1204. 10:50:56.395: -- Completed in 0 ms with result: 1
  1205. 10:50:56.396:
  1206. 10:50:56.396: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1207. 10:50:56.396: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1208. 10:50:56.397: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1209. 10:50:56.397: SELECT TOP (2)
  1210. [Extent1].[Id] AS [Id],
  1211. [Extent1].[Name] AS [Name]
  1212. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  1213. WHERE 'New' = [Extent1].[Name]10:50:56.397:
  1214. 10:50:56.397: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1215. 10:50:56.398: -- Completed in 0 ms with result: SqlDataReader
  1216. 10:50:56.398:
  1217. 10:50:56.398: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1218. 10:50:56.402: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1219. 10:50:56.402: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1220. 10:50:56.403: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1221. VALUES (@0, NULL, @1)
  1222. SELECT [Id]
  1223. FROM [dbo].[ProcessQueue]
  1224. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.403:
  1225. 10:50:56.404: -- @0: '2021' (Type = Int32)
  1226. 10:50:56.404: -- @1: '2' (Type = Int32)
  1227. 10:50:56.404: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1228. 10:50:56.405: -- Completed in 0 ms with result: SqlDataReader
  1229. 10:50:56.405:
  1230. 10:50:56.405: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1231. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1232. SELECT [Id]
  1233. FROM [dbo].[ProcessQueueItem]
  1234. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.405:
  1235. 10:50:56.405: -- @0: '1' (Type = Int32)
  1236. 10:50:56.406: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  1237. 10:50:56.406: -- @2: '6067' (Type = Int32)
  1238. 10:50:56.406: -- @3: '1' (Type = Int32)
  1239. 10:50:56.406: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1240. 10:50:56.407: -- Completed in 0 ms with result: SqlDataReader
  1241. 10:50:56.407:
  1242. 10:50:56.407: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1243. 10:50:56.408: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1244. 10:50:56.411: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1245. 10:50:56.412: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1246. 10:50:56.413: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1247. VALUES (@0, NULL, @1)
  1248. SELECT [Id]
  1249. FROM [dbo].[ProcessQueue]
  1250. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.413:
  1251. 10:50:56.413: -- @0: '2021' (Type = Int32)
  1252. 10:50:56.413: -- @1: '3' (Type = Int32)
  1253. 10:50:56.414: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1254. 10:50:56.414: -- Completed in 0 ms with result: SqlDataReader
  1255. 10:50:56.414:
  1256. 10:50:56.415: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1257. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1258. SELECT [Id]
  1259. FROM [dbo].[ProcessQueueItem]
  1260. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.415:
  1261. 10:50:56.415: -- @0: '1' (Type = Int32)
  1262. 10:50:56.415: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  1263. 10:50:56.415: -- @2: '6068' (Type = Int32)
  1264. 10:50:56.416: -- @3: '1' (Type = Int32)
  1265. 10:50:56.416: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1266. 10:50:56.416: -- Completed in 0 ms with result: SqlDataReader
  1267. 10:50:56.417:
  1268. 10:50:56.417: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1269. 10:50:56.417: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1270. 10:50:56.422: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1271. 10:50:56.422: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1272. 10:50:56.423: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1273. VALUES (@0, NULL, @1)
  1274. SELECT [Id]
  1275. FROM [dbo].[ProcessQueue]
  1276. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.423:
  1277. 10:50:56.423: -- @0: '2021' (Type = Int32)
  1278. 10:50:56.424: -- @1: '1' (Type = Int32)
  1279. 10:50:56.424: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1280. 10:50:56.424: -- Completed in 0 ms with result: SqlDataReader
  1281. 10:50:56.425:
  1282. 10:50:56.425: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1283. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1284. SELECT [Id]
  1285. FROM [dbo].[ProcessQueueItem]
  1286. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.425:
  1287. 10:50:56.425: -- @0: '1' (Type = Int32)
  1288. 10:50:56.425: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  1289. 10:50:56.426: -- @2: '6069' (Type = Int32)
  1290. 10:50:56.426: -- @3: '1' (Type = Int32)
  1291. 10:50:56.426: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1292. 10:50:56.427: -- Completed in 0 ms with result: SqlDataReader
  1293. 10:50:56.427:
  1294. 10:50:56.427: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1295. 10:50:56.427: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1296. 10:50:56.428: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1297. 10:50:56.429: SELECT TOP (2)
  1298. [Extent1].[Id] AS [Id],
  1299. [Extent1].[Name] AS [Name],
  1300. [Extent1].[AuthorId] AS [AuthorId],
  1301. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  1302. [Extent1].[SourceSystemId] AS [SourceSystemId]
  1303. FROM [dbo].[DocumentTemplate] AS [Extent1]
  1304. WHERE [Extent1].[Id] = @p__linq__010:50:56.429:
  1305. 10:50:56.429: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  1306. 10:50:56.429: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1307. 10:50:56.43: -- Completed in 0 ms with result: SqlDataReader
  1308. 10:50:56.43:
  1309. 10:50:56.43: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1310. 10:50:56.431: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1311. 10:50:56.433: SELECT
  1312. [Extent1].[Id] AS [Id],
  1313. [Extent1].[Name] AS [Name]
  1314. FROM [dbo].[ActionType] AS [Extent1]
  1315. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.433:
  1316. 10:50:56.434: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1317. 10:50:56.434: -- Completed in 0 ms with result: SqlDataReader
  1318. 10:50:56.434:
  1319. 10:50:56.437: SELECT
  1320. [Extent1].[ID] AS [ID],
  1321. [Extent1].[Name] AS [Name],
  1322. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1323. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1324. [Extent1].[ID_Group] AS [ID_Group]
  1325. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.439:
  1326. 10:50:56.439: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1327. 10:50:56.44: -- Completed in 0 ms with result: SqlDataReader
  1328. 10:50:56.44:
  1329. 10:50:56.441: SELECT
  1330. [Extent1].[ID] AS [ID],
  1331. [Extent1].[Name] AS [Name],
  1332. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1333. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1334. [Extent1].[ID_Group] AS [ID_Group]
  1335. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.441:
  1336. 10:50:56.441: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1337. 10:50:56.441: -- Completed in 0 ms with result: SqlDataReader
  1338. 10:50:56.442:
  1339. 10:50:56.442: SELECT
  1340. [Extent1].[ID] AS [ID],
  1341. [Extent1].[Name] AS [Name],
  1342. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1343. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1344. [Extent1].[ID_Group] AS [ID_Group]
  1345. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.442:
  1346. 10:50:56.442: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1347. 10:50:56.442: -- Completed in 0 ms with result: SqlDataReader
  1348. 10:50:56.443:
  1349. 10:50:56.443: SELECT
  1350. [Extent1].[ID] AS [ID],
  1351. [Extent1].[Name] AS [Name],
  1352. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1353. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1354. [Extent1].[ID_Group] AS [ID_Group]
  1355. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.443:
  1356. 10:50:56.443: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1357. 10:50:56.444: -- Completed in 0 ms with result: SqlDataReader
  1358. 10:50:56.444:
  1359. 10:50:56.444: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1360. 10:50:56.444: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1361. 10:50:56.445: SELECT TOP (1)
  1362. [Extent1].[Id] AS [Id],
  1363. [Extent1].[Name] AS [Name]
  1364. FROM [dbo].[DocumentStatus] AS [Extent1]
  1365. WHERE N'New' = [Extent1].[Name]10:50:56.445:
  1366. 10:50:56.445: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1367. 10:50:56.446: -- Completed in 0 ms with result: SqlDataReader
  1368. 10:50:56.446:
  1369. 10:50:56.446: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1370. 10:50:56.446: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1371. 10:50:56.447: SELECT TOP (1)
  1372. [Extent1].[ID] AS [ID],
  1373. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  1374. [Extent1].[FirstName] AS [FirstName],
  1375. [Extent1].[LastName] AS [LastName],
  1376. [Extent1].[Active] AS [Active]
  1377. FROM [dbo].[User] AS [Extent1]
  1378. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  1379. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.447:
  1380. 10:50:56.447: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  1381. 10:50:56.447: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1382. 10:50:56.448: -- Completed in 0 ms with result: SqlDataReader
  1383. 10:50:56.448:
  1384. 10:50:56.449: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1385. 10:50:56.454: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1386. 10:50:56.454: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1387. 10:50:56.455: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  1388. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  1389. SELECT [Id]
  1390. FROM [dbo].[Document]
  1391. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.456:
  1392. 10:50:56.456: -- @0: '10:50 AM_4' (Type = String, Size = 256)
  1393. 10:50:56.456: -- @1: '1.0' (Type = String, Size = 64)
  1394. 10:50:56.457: -- @2: 'test.bin' (Type = String, Size = 256)
  1395. 10:50:56.457: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  1396. 10:50:56.457: -- @4: 'True' (Type = Boolean)
  1397. 10:50:56.457: -- @5: '6' (Type = Int32)
  1398. 10:50:56.458: -- @6: '1' (Type = Int32)
  1399. 10:50:56.458: -- @7: '2' (Type = Int32)
  1400. 10:50:56.458: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  1401. 10:50:56.458: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  1402. 10:50:56.458: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1403. 10:50:56.459: -- Completed in 0 ms with result: SqlDataReader
  1404. 10:50:56.459:
  1405. 10:50:56.46: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1406. 10:50:56.46: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1407. 10:50:56.462: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1408. 10:50:56.463: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1409. 10:50:56.464: UPDATE [dbo].[Document]
  1410. SET [ChronicalDocumentId] = @0
  1411. WHERE ([Id] = @1)
  1412. 10:50:56.464: -- @0: '2022' (Type = Int32)
  1413. 10:50:56.464: -- @1: '2022' (Type = Int32)
  1414. 10:50:56.464: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1415. 10:50:56.465: -- Completed in 0 ms with result: 1
  1416. 10:50:56.465:
  1417. 10:50:56.465: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1418. 10:50:56.466: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1419. 10:50:56.466: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1420. 10:50:56.467: SELECT TOP (2)
  1421. [Extent1].[Id] AS [Id],
  1422. [Extent1].[Name] AS [Name]
  1423. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  1424. WHERE 'New' = [Extent1].[Name]10:50:56.467:
  1425. 10:50:56.467: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1426. 10:50:56.467: -- Completed in 0 ms with result: SqlDataReader
  1427. 10:50:56.467:
  1428. 10:50:56.468: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1429. 10:50:56.472: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1430. 10:50:56.472: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1431. 10:50:56.473: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1432. VALUES (@0, NULL, @1)
  1433. SELECT [Id]
  1434. FROM [dbo].[ProcessQueue]
  1435. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.473:
  1436. 10:50:56.474: -- @0: '2022' (Type = Int32)
  1437. 10:50:56.474: -- @1: '2' (Type = Int32)
  1438. 10:50:56.474: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1439. 10:50:56.475: -- Completed in 0 ms with result: SqlDataReader
  1440. 10:50:56.475:
  1441. 10:50:56.475: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1442. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1443. SELECT [Id]
  1444. FROM [dbo].[ProcessQueueItem]
  1445. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.475:
  1446. 10:50:56.476: -- @0: '1' (Type = Int32)
  1447. 10:50:56.476: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  1448. 10:50:56.476: -- @2: '6070' (Type = Int32)
  1449. 10:50:56.476: -- @3: '1' (Type = Int32)
  1450. 10:50:56.477: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1451. 10:50:56.477: -- Completed in 0 ms with result: SqlDataReader
  1452. 10:50:56.477:
  1453. 10:50:56.478: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1454. 10:50:56.478: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1455. 10:50:56.482: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1456. 10:50:56.483: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1457. 10:50:56.484: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1458. VALUES (@0, NULL, @1)
  1459. SELECT [Id]
  1460. FROM [dbo].[ProcessQueue]
  1461. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.484:
  1462. 10:50:56.484: -- @0: '2022' (Type = Int32)
  1463. 10:50:56.485: -- @1: '3' (Type = Int32)
  1464. 10:50:56.485: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1465. 10:50:56.485: -- Completed in 0 ms with result: SqlDataReader
  1466. 10:50:56.486:
  1467. 10:50:56.486: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1468. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1469. SELECT [Id]
  1470. FROM [dbo].[ProcessQueueItem]
  1471. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.486:
  1472. 10:50:56.486: -- @0: '1' (Type = Int32)
  1473. 10:50:56.487: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  1474. 10:50:56.487: -- @2: '6071' (Type = Int32)
  1475. 10:50:56.487: -- @3: '1' (Type = Int32)
  1476. 10:50:56.487: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1477. 10:50:56.488: -- Completed in 0 ms with result: SqlDataReader
  1478. 10:50:56.488:
  1479. 10:50:56.488: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1480. 10:50:56.489: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1481. 10:50:56.493: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1482. 10:50:56.494: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1483. 10:50:56.495: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1484. VALUES (@0, NULL, @1)
  1485. SELECT [Id]
  1486. FROM [dbo].[ProcessQueue]
  1487. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.495:
  1488. 10:50:56.495: -- @0: '2022' (Type = Int32)
  1489. 10:50:56.496: -- @1: '1' (Type = Int32)
  1490. 10:50:56.496: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1491. 10:50:56.496: -- Completed in 0 ms with result: SqlDataReader
  1492. 10:50:56.496:
  1493. 10:50:56.497: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1494. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1495. SELECT [Id]
  1496. FROM [dbo].[ProcessQueueItem]
  1497. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.497:
  1498. 10:50:56.497: -- @0: '1' (Type = Int32)
  1499. 10:50:56.497: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  1500. 10:50:56.498: -- @2: '6072' (Type = Int32)
  1501. 10:50:56.498: -- @3: '1' (Type = Int32)
  1502. 10:50:56.498: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1503. 10:50:56.498: -- Completed in 0 ms with result: SqlDataReader
  1504. 10:50:56.499:
  1505. 10:50:56.499: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1506. 10:50:56.499: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1507. 10:50:56.5: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1508. 10:50:56.501: SELECT TOP (2)
  1509. [Extent1].[Id] AS [Id],
  1510. [Extent1].[Name] AS [Name],
  1511. [Extent1].[AuthorId] AS [AuthorId],
  1512. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  1513. [Extent1].[SourceSystemId] AS [SourceSystemId]
  1514. FROM [dbo].[DocumentTemplate] AS [Extent1]
  1515. WHERE [Extent1].[Id] = @p__linq__010:50:56.501:
  1516. 10:50:56.501: -- p__linq__0: '3' (Type = Int32, IsNullable = false)
  1517. 10:50:56.501: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1518. 10:50:56.502: -- Completed in 0 ms with result: SqlDataReader
  1519. 10:50:56.502:
  1520. 10:50:56.503: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1521. 10:50:56.503: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1522. 10:50:56.505: SELECT
  1523. [Extent1].[Id] AS [Id],
  1524. [Extent1].[Name] AS [Name]
  1525. FROM [dbo].[ActionType] AS [Extent1]
  1526. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.505:
  1527. 10:50:56.505: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1528. 10:50:56.506: -- Completed in 0 ms with result: SqlDataReader
  1529. 10:50:56.506:
  1530. 10:50:56.506: SELECT
  1531. [Extent1].[ID] AS [ID],
  1532. [Extent1].[Name] AS [Name],
  1533. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1534. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1535. [Extent1].[ID_Group] AS [ID_Group]
  1536. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.506:
  1537. 10:50:56.507: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1538. 10:50:56.507: -- Completed in 0 ms with result: SqlDataReader
  1539. 10:50:56.507:
  1540. 10:50:56.508: SELECT
  1541. [Extent1].[ID] AS [ID],
  1542. [Extent1].[Name] AS [Name],
  1543. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1544. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1545. [Extent1].[ID_Group] AS [ID_Group]
  1546. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.508:
  1547. 10:50:56.508: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1548. 10:50:56.509: -- Completed in 0 ms with result: SqlDataReader
  1549. 10:50:56.509:
  1550. 10:50:56.509: SELECT
  1551. [Extent1].[ID] AS [ID],
  1552. [Extent1].[Name] AS [Name],
  1553. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1554. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1555. [Extent1].[ID_Group] AS [ID_Group]
  1556. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.509:
  1557. 10:50:56.51: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1558. 10:50:56.51: -- Completed in 0 ms with result: SqlDataReader
  1559. 10:50:56.51:
  1560. 10:50:56.51: SELECT
  1561. [Extent1].[ID] AS [ID],
  1562. [Extent1].[Name] AS [Name],
  1563. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1564. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1565. [Extent1].[ID_Group] AS [ID_Group]
  1566. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.511:
  1567. 10:50:56.511: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1568. 10:50:56.511: -- Completed in 0 ms with result: SqlDataReader
  1569. 10:50:56.511:
  1570. 10:50:56.512: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1571. 10:50:56.512: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1572. 10:50:56.512: SELECT TOP (1)
  1573. [Extent1].[Id] AS [Id],
  1574. [Extent1].[Name] AS [Name]
  1575. FROM [dbo].[DocumentStatus] AS [Extent1]
  1576. WHERE N'New' = [Extent1].[Name]10:50:56.513:
  1577. 10:50:56.513: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1578. 10:50:56.513: -- Completed in 0 ms with result: SqlDataReader
  1579. 10:50:56.513:
  1580. 10:50:56.514: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1581. 10:50:56.514: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1582. 10:50:56.514: SELECT TOP (1)
  1583. [Extent1].[ID] AS [ID],
  1584. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  1585. [Extent1].[FirstName] AS [FirstName],
  1586. [Extent1].[LastName] AS [LastName],
  1587. [Extent1].[Active] AS [Active]
  1588. FROM [dbo].[User] AS [Extent1]
  1589. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  1590. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.515:
  1591. 10:50:56.515: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  1592. 10:50:56.515: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1593. 10:50:56.516: -- Completed in 0 ms with result: SqlDataReader
  1594. 10:50:56.516:
  1595. 10:50:56.516: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1596. 10:50:56.52: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1597. 10:50:56.521: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1598. 10:50:56.522: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  1599. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  1600. SELECT [Id]
  1601. FROM [dbo].[Document]
  1602. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.522:
  1603. 10:50:56.522: -- @0: '10:50 AM_5' (Type = String, Size = 256)
  1604. 10:50:56.522: -- @1: '1.0' (Type = String, Size = 64)
  1605. 10:50:56.523: -- @2: 'test.bin' (Type = String, Size = 256)
  1606. 10:50:56.523: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  1607. 10:50:56.523: -- @4: 'True' (Type = Boolean)
  1608. 10:50:56.523: -- @5: '6' (Type = Int32)
  1609. 10:50:56.524: -- @6: '1' (Type = Int32)
  1610. 10:50:56.524: -- @7: '3' (Type = Int32)
  1611. 10:50:56.524: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  1612. 10:50:56.524: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  1613. 10:50:56.525: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1614. 10:50:56.525: -- Completed in 0 ms with result: SqlDataReader
  1615. 10:50:56.525:
  1616. 10:50:56.526: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1617. 10:50:56.526: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1618. 10:50:56.529: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1619. 10:50:56.53: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1620. 10:50:56.53: UPDATE [dbo].[Document]
  1621. SET [ChronicalDocumentId] = @0
  1622. WHERE ([Id] = @1)
  1623. 10:50:56.531: -- @0: '2023' (Type = Int32)
  1624. 10:50:56.531: -- @1: '2023' (Type = Int32)
  1625. 10:50:56.531: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1626. 10:50:56.531: -- Completed in 0 ms with result: 1
  1627. 10:50:56.532:
  1628. 10:50:56.532: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1629. 10:50:56.532: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1630. 10:50:56.533: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1631. 10:50:56.533: SELECT TOP (2)
  1632. [Extent1].[Id] AS [Id],
  1633. [Extent1].[Name] AS [Name]
  1634. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  1635. WHERE 'New' = [Extent1].[Name]10:50:56.534:
  1636. 10:50:56.534: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1637. 10:50:56.534: -- Completed in 0 ms with result: SqlDataReader
  1638. 10:50:56.534:
  1639. 10:50:56.535: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1640. 10:50:56.539: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1641. 10:50:56.539: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1642. 10:50:56.541: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1643. VALUES (@0, NULL, @1)
  1644. SELECT [Id]
  1645. FROM [dbo].[ProcessQueue]
  1646. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.541:
  1647. 10:50:56.541: -- @0: '2023' (Type = Int32)
  1648. 10:50:56.541: -- @1: '2' (Type = Int32)
  1649. 10:50:56.542: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1650. 10:50:56.542: -- Completed in 0 ms with result: SqlDataReader
  1651. 10:50:56.542:
  1652. 10:50:56.543: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1653. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1654. SELECT [Id]
  1655. FROM [dbo].[ProcessQueueItem]
  1656. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.543:
  1657. 10:50:56.543: -- @0: '1' (Type = Int32)
  1658. 10:50:56.543: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  1659. 10:50:56.544: -- @2: '6073' (Type = Int32)
  1660. 10:50:56.544: -- @3: '1' (Type = Int32)
  1661. 10:50:56.544: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1662. 10:50:56.545: -- Completed in 0 ms with result: SqlDataReader
  1663. 10:50:56.545:
  1664. 10:50:56.545: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1665. 10:50:56.546: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1666. 10:50:56.55: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1667. 10:50:56.551: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1668. 10:50:56.552: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1669. VALUES (@0, NULL, @1)
  1670. SELECT [Id]
  1671. FROM [dbo].[ProcessQueue]
  1672. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.552:
  1673. 10:50:56.552: -- @0: '2023' (Type = Int32)
  1674. 10:50:56.552: -- @1: '3' (Type = Int32)
  1675. 10:50:56.553: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1676. 10:50:56.553: -- Completed in 0 ms with result: SqlDataReader
  1677. 10:50:56.553:
  1678. 10:50:56.554: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1679. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1680. SELECT [Id]
  1681. FROM [dbo].[ProcessQueueItem]
  1682. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.554:
  1683. 10:50:56.554: -- @0: '1' (Type = Int32)
  1684. 10:50:56.554: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  1685. 10:50:56.554: -- @2: '6074' (Type = Int32)
  1686. 10:50:56.555: -- @3: '1' (Type = Int32)
  1687. 10:50:56.555: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1688. 10:50:56.555: -- Completed in 0 ms with result: SqlDataReader
  1689. 10:50:56.555:
  1690. 10:50:56.556: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1691. 10:50:56.556: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1692. 10:50:56.562: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1693. 10:50:56.562: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1694. 10:50:56.563: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1695. VALUES (@0, NULL, @1)
  1696. SELECT [Id]
  1697. FROM [dbo].[ProcessQueue]
  1698. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.564:
  1699. 10:50:56.564: -- @0: '2023' (Type = Int32)
  1700. 10:50:56.564: -- @1: '1' (Type = Int32)
  1701. 10:50:56.564: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1702. 10:50:56.565: -- Completed in 0 ms with result: SqlDataReader
  1703. 10:50:56.565:
  1704. 10:50:56.565: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1705. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1706. SELECT [Id]
  1707. FROM [dbo].[ProcessQueueItem]
  1708. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.566:
  1709. 10:50:56.566: -- @0: '1' (Type = Int32)
  1710. 10:50:56.566: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  1711. 10:50:56.566: -- @2: '6075' (Type = Int32)
  1712. 10:50:56.566: -- @3: '1' (Type = Int32)
  1713. 10:50:56.567: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1714. 10:50:56.567: -- Completed in 0 ms with result: SqlDataReader
  1715. 10:50:56.567:
  1716. 10:50:56.568: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1717. 10:50:56.568: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1718. 10:50:56.569: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1719. 10:50:56.569: SELECT TOP (2)
  1720. [Extent1].[Id] AS [Id],
  1721. [Extent1].[Name] AS [Name],
  1722. [Extent1].[AuthorId] AS [AuthorId],
  1723. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  1724. [Extent1].[SourceSystemId] AS [SourceSystemId]
  1725. FROM [dbo].[DocumentTemplate] AS [Extent1]
  1726. WHERE [Extent1].[Id] = @p__linq__010:50:56.569:
  1727. 10:50:56.57: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  1728. 10:50:56.57: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1729. 10:50:56.57: -- Completed in 0 ms with result: SqlDataReader
  1730. 10:50:56.57:
  1731. 10:50:56.571: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1732. 10:50:56.571: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1733. 10:50:56.573: SELECT
  1734. [Extent1].[Id] AS [Id],
  1735. [Extent1].[Name] AS [Name]
  1736. FROM [dbo].[ActionType] AS [Extent1]
  1737. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.573:
  1738. 10:50:56.573: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1739. 10:50:56.574: -- Completed in 0 ms with result: SqlDataReader
  1740. 10:50:56.574:
  1741. 10:50:56.574: SELECT
  1742. [Extent1].[ID] AS [ID],
  1743. [Extent1].[Name] AS [Name],
  1744. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1745. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1746. [Extent1].[ID_Group] AS [ID_Group]
  1747. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.574:
  1748. 10:50:56.575: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1749. 10:50:56.575: -- Completed in 0 ms with result: SqlDataReader
  1750. 10:50:56.575:
  1751. 10:50:56.576: SELECT
  1752. [Extent1].[ID] AS [ID],
  1753. [Extent1].[Name] AS [Name],
  1754. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1755. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1756. [Extent1].[ID_Group] AS [ID_Group]
  1757. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.576:
  1758. 10:50:56.576: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1759. 10:50:56.576: -- Completed in 0 ms with result: SqlDataReader
  1760. 10:50:56.577:
  1761. 10:50:56.577: SELECT
  1762. [Extent1].[ID] AS [ID],
  1763. [Extent1].[Name] AS [Name],
  1764. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1765. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1766. [Extent1].[ID_Group] AS [ID_Group]
  1767. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.577:
  1768. 10:50:56.577: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1769. 10:50:56.578: -- Completed in 0 ms with result: SqlDataReader
  1770. 10:50:56.578:
  1771. 10:50:56.578: SELECT
  1772. [Extent1].[ID] AS [ID],
  1773. [Extent1].[Name] AS [Name],
  1774. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1775. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1776. [Extent1].[ID_Group] AS [ID_Group]
  1777. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.578:
  1778. 10:50:56.578: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1779. 10:50:56.579: -- Completed in 0 ms with result: SqlDataReader
  1780. 10:50:56.579:
  1781. 10:50:56.579: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1782. 10:50:56.58: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1783. 10:50:56.58: SELECT TOP (1)
  1784. [Extent1].[Id] AS [Id],
  1785. [Extent1].[Name] AS [Name]
  1786. FROM [dbo].[DocumentStatus] AS [Extent1]
  1787. WHERE N'New' = [Extent1].[Name]10:50:56.58:
  1788. 10:50:56.58: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1789. 10:50:56.581: -- Completed in 0 ms with result: SqlDataReader
  1790. 10:50:56.581:
  1791. 10:50:56.581: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1792. 10:50:56.582: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1793. 10:50:56.582: SELECT TOP (1)
  1794. [Extent1].[ID] AS [ID],
  1795. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  1796. [Extent1].[FirstName] AS [FirstName],
  1797. [Extent1].[LastName] AS [LastName],
  1798. [Extent1].[Active] AS [Active]
  1799. FROM [dbo].[User] AS [Extent1]
  1800. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  1801. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.582:
  1802. 10:50:56.583: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  1803. 10:50:56.583: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1804. 10:50:56.583: -- Completed in 0 ms with result: SqlDataReader
  1805. 10:50:56.583:
  1806. 10:50:56.584: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1807. 10:50:56.588: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1808. 10:50:56.588: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1809. 10:50:56.589: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  1810. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  1811. SELECT [Id]
  1812. FROM [dbo].[Document]
  1813. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.59:
  1814. 10:50:56.59: -- @0: '10:50 AM_6' (Type = String, Size = 256)
  1815. 10:50:56.59: -- @1: '1.0' (Type = String, Size = 64)
  1816. 10:50:56.59: -- @2: 'test.bin' (Type = String, Size = 256)
  1817. 10:50:56.591: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  1818. 10:50:56.591: -- @4: 'True' (Type = Boolean)
  1819. 10:50:56.591: -- @5: '6' (Type = Int32)
  1820. 10:50:56.591: -- @6: '1' (Type = Int32)
  1821. 10:50:56.591: -- @7: '2' (Type = Int32)
  1822. 10:50:56.592: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  1823. 10:50:56.592: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  1824. 10:50:56.592: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1825. 10:50:56.593: -- Completed in 0 ms with result: SqlDataReader
  1826. 10:50:56.593:
  1827. 10:50:56.593: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1828. 10:50:56.593: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1829. 10:50:56.596: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1830. 10:50:56.596: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1831. 10:50:56.597: UPDATE [dbo].[Document]
  1832. SET [ChronicalDocumentId] = @0
  1833. WHERE ([Id] = @1)
  1834. 10:50:56.598: -- @0: '2024' (Type = Int32)
  1835. 10:50:56.598: -- @1: '2024' (Type = Int32)
  1836. 10:50:56.598: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1837. 10:50:56.598: -- Completed in 0 ms with result: 1
  1838. 10:50:56.598:
  1839. 10:50:56.599: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1840. 10:50:56.599: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1841. 10:50:56.6: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1842. 10:50:56.6: SELECT TOP (2)
  1843. [Extent1].[Id] AS [Id],
  1844. [Extent1].[Name] AS [Name]
  1845. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  1846. WHERE 'New' = [Extent1].[Name]10:50:56.6:
  1847. 10:50:56.6: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1848. 10:50:56.601: -- Completed in 0 ms with result: SqlDataReader
  1849. 10:50:56.601:
  1850. 10:50:56.601: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1851. 10:50:56.606: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1852. 10:50:56.607: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1853. 10:50:56.608: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1854. VALUES (@0, NULL, @1)
  1855. SELECT [Id]
  1856. FROM [dbo].[ProcessQueue]
  1857. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.608:
  1858. 10:50:56.608: -- @0: '2024' (Type = Int32)
  1859. 10:50:56.608: -- @1: '2' (Type = Int32)
  1860. 10:50:56.609: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1861. 10:50:56.609: -- Completed in 0 ms with result: SqlDataReader
  1862. 10:50:56.609:
  1863. 10:50:56.61: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1864. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1865. SELECT [Id]
  1866. FROM [dbo].[ProcessQueueItem]
  1867. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.61:
  1868. 10:50:56.61: -- @0: '1' (Type = Int32)
  1869. 10:50:56.61: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  1870. 10:50:56.61: -- @2: '6076' (Type = Int32)
  1871. 10:50:56.611: -- @3: '1' (Type = Int32)
  1872. 10:50:56.611: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1873. 10:50:56.611: -- Completed in 0 ms with result: SqlDataReader
  1874. 10:50:56.611:
  1875. 10:50:56.612: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1876. 10:50:56.612: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1877. 10:50:56.617: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1878. 10:50:56.617: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1879. 10:50:56.619: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1880. VALUES (@0, NULL, @1)
  1881. SELECT [Id]
  1882. FROM [dbo].[ProcessQueue]
  1883. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.619:
  1884. 10:50:56.619: -- @0: '2024' (Type = Int32)
  1885. 10:50:56.619: -- @1: '3' (Type = Int32)
  1886. 10:50:56.619: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1887. 10:50:56.62: -- Completed in 0 ms with result: SqlDataReader
  1888. 10:50:56.62:
  1889. 10:50:56.62: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1890. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1891. SELECT [Id]
  1892. FROM [dbo].[ProcessQueueItem]
  1893. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.621:
  1894. 10:50:56.621: -- @0: '1' (Type = Int32)
  1895. 10:50:56.621: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  1896. 10:50:56.621: -- @2: '6077' (Type = Int32)
  1897. 10:50:56.621: -- @3: '1' (Type = Int32)
  1898. 10:50:56.622: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1899. 10:50:56.622: -- Completed in 0 ms with result: SqlDataReader
  1900. 10:50:56.622:
  1901. 10:50:56.623: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1902. 10:50:56.623: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1903. 10:50:56.628: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1904. 10:50:56.628: Started transaction at 7/29/2016 10:50:56 AM +05:00
  1905. 10:50:56.629: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  1906. VALUES (@0, NULL, @1)
  1907. SELECT [Id]
  1908. FROM [dbo].[ProcessQueue]
  1909. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.63:
  1910. 10:50:56.63: -- @0: '2024' (Type = Int32)
  1911. 10:50:56.63: -- @1: '1' (Type = Int32)
  1912. 10:50:56.63: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1913. 10:50:56.631: -- Completed in 0 ms with result: SqlDataReader
  1914. 10:50:56.631:
  1915. 10:50:56.631: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  1916. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  1917. SELECT [Id]
  1918. FROM [dbo].[ProcessQueueItem]
  1919. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.631:
  1920. 10:50:56.632: -- @0: '1' (Type = Int32)
  1921. 10:50:56.632: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  1922. 10:50:56.632: -- @2: '6078' (Type = Int32)
  1923. 10:50:56.632: -- @3: '1' (Type = Int32)
  1924. 10:50:56.632: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1925. 10:50:56.633: -- Completed in 0 ms with result: SqlDataReader
  1926. 10:50:56.633:
  1927. 10:50:56.633: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  1928. 10:50:56.634: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1929. 10:50:56.634: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1930. 10:50:56.635: SELECT TOP (2)
  1931. [Extent1].[Id] AS [Id],
  1932. [Extent1].[Name] AS [Name],
  1933. [Extent1].[AuthorId] AS [AuthorId],
  1934. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  1935. [Extent1].[SourceSystemId] AS [SourceSystemId]
  1936. FROM [dbo].[DocumentTemplate] AS [Extent1]
  1937. WHERE [Extent1].[Id] = @p__linq__010:50:56.635:
  1938. 10:50:56.635: -- p__linq__0: '3' (Type = Int32, IsNullable = false)
  1939. 10:50:56.635: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1940. 10:50:56.636: -- Completed in 0 ms with result: SqlDataReader
  1941. 10:50:56.636:
  1942. 10:50:56.636: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1943. 10:50:56.636: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1944. 10:50:56.638: SELECT
  1945. [Extent1].[Id] AS [Id],
  1946. [Extent1].[Name] AS [Name]
  1947. FROM [dbo].[ActionType] AS [Extent1]
  1948. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.638:
  1949. 10:50:56.638: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1950. 10:50:56.638: -- Completed in 0 ms with result: SqlDataReader
  1951. 10:50:56.639:
  1952. 10:50:56.639: SELECT
  1953. [Extent1].[ID] AS [ID],
  1954. [Extent1].[Name] AS [Name],
  1955. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1956. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1957. [Extent1].[ID_Group] AS [ID_Group]
  1958. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.639:
  1959. 10:50:56.639: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1960. 10:50:56.64: -- Completed in 0 ms with result: SqlDataReader
  1961. 10:50:56.64:
  1962. 10:50:56.64: SELECT
  1963. [Extent1].[ID] AS [ID],
  1964. [Extent1].[Name] AS [Name],
  1965. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1966. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1967. [Extent1].[ID_Group] AS [ID_Group]
  1968. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.64:
  1969. 10:50:56.641: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1970. 10:50:56.641: -- Completed in 0 ms with result: SqlDataReader
  1971. 10:50:56.641:
  1972. 10:50:56.642: SELECT
  1973. [Extent1].[ID] AS [ID],
  1974. [Extent1].[Name] AS [Name],
  1975. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1976. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1977. [Extent1].[ID_Group] AS [ID_Group]
  1978. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.642:
  1979. 10:50:56.642: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1980. 10:50:56.642: -- Completed in 0 ms with result: SqlDataReader
  1981. 10:50:56.643:
  1982. 10:50:56.643: SELECT
  1983. [Extent1].[ID] AS [ID],
  1984. [Extent1].[Name] AS [Name],
  1985. [Extent1].[SourceSystemId] AS [SourceSystemId],
  1986. [Extent1].[ID_ActionType] AS [ID_ActionType],
  1987. [Extent1].[ID_Group] AS [ID_Group]
  1988. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.643:
  1989. 10:50:56.643: -- Executing at 7/29/2016 10:50:56 AM +05:00
  1990. 10:50:56.644: -- Completed in 0 ms with result: SqlDataReader
  1991. 10:50:56.644:
  1992. 10:50:56.644: Closed connection at 7/29/2016 10:50:56 AM +05:00
  1993. 10:50:56.644: Opened connection at 7/29/2016 10:50:56 AM +05:00
  1994. 10:50:56.645: SELECT TOP (1)
  1995. [Extent1].[Id] AS [Id],
  1996. [Extent1].[Name] AS [Name]
  1997. FROM [dbo].[DocumentStatus] AS [Extent1]
  1998. WHERE N'New' = [Extent1].[Name]10:50:56.645:
  1999. 10:50:56.645: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2000. 10:50:56.646: -- Completed in 0 ms with result: SqlDataReader
  2001. 10:50:56.646:
  2002. 10:50:56.646: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2003. 10:50:56.646: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2004. 10:50:56.647: SELECT TOP (1)
  2005. [Extent1].[ID] AS [ID],
  2006. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  2007. [Extent1].[FirstName] AS [FirstName],
  2008. [Extent1].[LastName] AS [LastName],
  2009. [Extent1].[Active] AS [Active]
  2010. FROM [dbo].[User] AS [Extent1]
  2011. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  2012. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.647:
  2013. 10:50:56.647: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  2014. 10:50:56.647: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2015. 10:50:56.648: -- Completed in 0 ms with result: SqlDataReader
  2016. 10:50:56.648:
  2017. 10:50:56.648: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2018. 10:50:56.653: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2019. 10:50:56.654: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2020. 10:50:56.655: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  2021. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  2022. SELECT [Id]
  2023. FROM [dbo].[Document]
  2024. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.655:
  2025. 10:50:56.656: -- @0: '10:50 AM_7' (Type = String, Size = 256)
  2026. 10:50:56.656: -- @1: '1.0' (Type = String, Size = 64)
  2027. 10:50:56.656: -- @2: 'test.bin' (Type = String, Size = 256)
  2028. 10:50:56.656: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2029. 10:50:56.657: -- @4: 'True' (Type = Boolean)
  2030. 10:50:56.657: -- @5: '6' (Type = Int32)
  2031. 10:50:56.657: -- @6: '1' (Type = Int32)
  2032. 10:50:56.657: -- @7: '3' (Type = Int32)
  2033. 10:50:56.658: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  2034. 10:50:56.658: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  2035. 10:50:56.658: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2036. 10:50:56.659: -- Completed in 0 ms with result: SqlDataReader
  2037. 10:50:56.659:
  2038. 10:50:56.66: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2039. 10:50:56.66: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2040. 10:50:56.663: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2041. 10:50:56.663: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2042. 10:50:56.664: UPDATE [dbo].[Document]
  2043. SET [ChronicalDocumentId] = @0
  2044. WHERE ([Id] = @1)
  2045. 10:50:56.665: -- @0: '2025' (Type = Int32)
  2046. 10:50:56.665: -- @1: '2025' (Type = Int32)
  2047. 10:50:56.665: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2048. 10:50:56.665: -- Completed in 0 ms with result: 1
  2049. 10:50:56.666:
  2050. 10:50:56.666: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2051. 10:50:56.666: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2052. 10:50:56.667: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2053. 10:50:56.667: SELECT TOP (2)
  2054. [Extent1].[Id] AS [Id],
  2055. [Extent1].[Name] AS [Name]
  2056. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2057. WHERE 'New' = [Extent1].[Name]10:50:56.667:
  2058. 10:50:56.668: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2059. 10:50:56.668: -- Completed in 0 ms with result: SqlDataReader
  2060. 10:50:56.668:
  2061. 10:50:56.669: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2062. 10:50:56.676: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2063. 10:50:56.677: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2064. 10:50:56.678: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2065. VALUES (@0, NULL, @1)
  2066. SELECT [Id]
  2067. FROM [dbo].[ProcessQueue]
  2068. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.678:
  2069. 10:50:56.678: -- @0: '2025' (Type = Int32)
  2070. 10:50:56.678: -- @1: '2' (Type = Int32)
  2071. 10:50:56.678: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2072. 10:50:56.679: -- Completed in 0 ms with result: SqlDataReader
  2073. 10:50:56.679:
  2074. 10:50:56.68: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2075. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2076. SELECT [Id]
  2077. FROM [dbo].[ProcessQueueItem]
  2078. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.68:
  2079. 10:50:56.68: -- @0: '1' (Type = Int32)
  2080. 10:50:56.68: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  2081. 10:50:56.68: -- @2: '6079' (Type = Int32)
  2082. 10:50:56.681: -- @3: '1' (Type = Int32)
  2083. 10:50:56.681: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2084. 10:50:56.681: -- Completed in 0 ms with result: SqlDataReader
  2085. 10:50:56.681:
  2086. 10:50:56.682: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2087. 10:50:56.682: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2088. 10:50:56.687: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2089. 10:50:56.688: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2090. 10:50:56.689: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2091. VALUES (@0, NULL, @1)
  2092. SELECT [Id]
  2093. FROM [dbo].[ProcessQueue]
  2094. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.689:
  2095. 10:50:56.689: -- @0: '2025' (Type = Int32)
  2096. 10:50:56.69: -- @1: '3' (Type = Int32)
  2097. 10:50:56.69: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2098. 10:50:56.69: -- Completed in 0 ms with result: SqlDataReader
  2099. 10:50:56.691:
  2100. 10:50:56.691: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2101. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2102. SELECT [Id]
  2103. FROM [dbo].[ProcessQueueItem]
  2104. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.691:
  2105. 10:50:56.691: -- @0: '1' (Type = Int32)
  2106. 10:50:56.692: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  2107. 10:50:56.692: -- @2: '6080' (Type = Int32)
  2108. 10:50:56.692: -- @3: '1' (Type = Int32)
  2109. 10:50:56.692: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2110. 10:50:56.693: -- Completed in 0 ms with result: SqlDataReader
  2111. 10:50:56.693:
  2112. 10:50:56.693: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2113. 10:50:56.694: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2114. 10:50:56.699: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2115. 10:50:56.699: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2116. 10:50:56.7: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2117. VALUES (@0, NULL, @1)
  2118. SELECT [Id]
  2119. FROM [dbo].[ProcessQueue]
  2120. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.7:
  2121. 10:50:56.701: -- @0: '2025' (Type = Int32)
  2122. 10:50:56.701: -- @1: '1' (Type = Int32)
  2123. 10:50:56.701: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2124. 10:50:56.702: -- Completed in 0 ms with result: SqlDataReader
  2125. 10:50:56.702:
  2126. 10:50:56.702: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2127. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2128. SELECT [Id]
  2129. FROM [dbo].[ProcessQueueItem]
  2130. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.702:
  2131. 10:50:56.703: -- @0: '1' (Type = Int32)
  2132. 10:50:56.703: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  2133. 10:50:56.703: -- @2: '6081' (Type = Int32)
  2134. 10:50:56.703: -- @3: '1' (Type = Int32)
  2135. 10:50:56.704: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2136. 10:50:56.704: -- Completed in 0 ms with result: SqlDataReader
  2137. 10:50:56.704:
  2138. 10:50:56.705: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2139. 10:50:56.705: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2140. 10:50:56.706: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2141. 10:50:56.706: SELECT TOP (2)
  2142. [Extent1].[Id] AS [Id],
  2143. [Extent1].[Name] AS [Name],
  2144. [Extent1].[AuthorId] AS [AuthorId],
  2145. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  2146. [Extent1].[SourceSystemId] AS [SourceSystemId]
  2147. FROM [dbo].[DocumentTemplate] AS [Extent1]
  2148. WHERE [Extent1].[Id] = @p__linq__010:50:56.707:
  2149. 10:50:56.707: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  2150. 10:50:56.707: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2151. 10:50:56.708: -- Completed in 0 ms with result: SqlDataReader
  2152. 10:50:56.708:
  2153. 10:50:56.708: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2154. 10:50:56.708: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2155. 10:50:56.71: SELECT
  2156. [Extent1].[Id] AS [Id],
  2157. [Extent1].[Name] AS [Name]
  2158. FROM [dbo].[ActionType] AS [Extent1]
  2159. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.71:
  2160. 10:50:56.71: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2161. 10:50:56.711: -- Completed in 0 ms with result: SqlDataReader
  2162. 10:50:56.711:
  2163. 10:50:56.711: SELECT
  2164. [Extent1].[ID] AS [ID],
  2165. [Extent1].[Name] AS [Name],
  2166. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2167. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2168. [Extent1].[ID_Group] AS [ID_Group]
  2169. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.711:
  2170. 10:50:56.712: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2171. 10:50:56.712: -- Completed in 0 ms with result: SqlDataReader
  2172. 10:50:56.712:
  2173. 10:50:56.712: SELECT
  2174. [Extent1].[ID] AS [ID],
  2175. [Extent1].[Name] AS [Name],
  2176. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2177. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2178. [Extent1].[ID_Group] AS [ID_Group]
  2179. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.713:
  2180. 10:50:56.713: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2181. 10:50:56.713: -- Completed in 0 ms with result: SqlDataReader
  2182. 10:50:56.713:
  2183. 10:50:56.714: SELECT
  2184. [Extent1].[ID] AS [ID],
  2185. [Extent1].[Name] AS [Name],
  2186. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2187. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2188. [Extent1].[ID_Group] AS [ID_Group]
  2189. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.714:
  2190. 10:50:56.714: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2191. 10:50:56.714: -- Completed in 0 ms with result: SqlDataReader
  2192. 10:50:56.714:
  2193. 10:50:56.715: SELECT
  2194. [Extent1].[ID] AS [ID],
  2195. [Extent1].[Name] AS [Name],
  2196. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2197. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2198. [Extent1].[ID_Group] AS [ID_Group]
  2199. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.715:
  2200. 10:50:56.715: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2201. 10:50:56.715: -- Completed in 0 ms with result: SqlDataReader
  2202. 10:50:56.716:
  2203. 10:50:56.716: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2204. 10:50:56.716: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2205. 10:50:56.717: SELECT TOP (1)
  2206. [Extent1].[Id] AS [Id],
  2207. [Extent1].[Name] AS [Name]
  2208. FROM [dbo].[DocumentStatus] AS [Extent1]
  2209. WHERE N'New' = [Extent1].[Name]10:50:56.717:
  2210. 10:50:56.717: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2211. 10:50:56.717: -- Completed in 0 ms with result: SqlDataReader
  2212. 10:50:56.718:
  2213. 10:50:56.718: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2214. 10:50:56.718: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2215. 10:50:56.719: SELECT TOP (1)
  2216. [Extent1].[ID] AS [ID],
  2217. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  2218. [Extent1].[FirstName] AS [FirstName],
  2219. [Extent1].[LastName] AS [LastName],
  2220. [Extent1].[Active] AS [Active]
  2221. FROM [dbo].[User] AS [Extent1]
  2222. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  2223. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.719:
  2224. 10:50:56.719: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  2225. 10:50:56.719: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2226. 10:50:56.72: -- Completed in 0 ms with result: SqlDataReader
  2227. 10:50:56.72:
  2228. 10:50:56.72: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2229. 10:50:56.725: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2230. 10:50:56.726: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2231. 10:50:56.727: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  2232. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  2233. SELECT [Id]
  2234. FROM [dbo].[Document]
  2235. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.727:
  2236. 10:50:56.727: -- @0: '10:50 AM_8' (Type = String, Size = 256)
  2237. 10:50:56.728: -- @1: '1.0' (Type = String, Size = 64)
  2238. 10:50:56.728: -- @2: 'test.bin' (Type = String, Size = 256)
  2239. 10:50:56.728: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2240. 10:50:56.728: -- @4: 'True' (Type = Boolean)
  2241. 10:50:56.728: -- @5: '6' (Type = Int32)
  2242. 10:50:56.729: -- @6: '1' (Type = Int32)
  2243. 10:50:56.729: -- @7: '2' (Type = Int32)
  2244. 10:50:56.729: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  2245. 10:50:56.729: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  2246. 10:50:56.729: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2247. 10:50:56.73: -- Completed in 0 ms with result: SqlDataReader
  2248. 10:50:56.73:
  2249. 10:50:56.731: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2250. 10:50:56.731: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2251. 10:50:56.734: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2252. 10:50:56.734: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2253. 10:50:56.735: UPDATE [dbo].[Document]
  2254. SET [ChronicalDocumentId] = @0
  2255. WHERE ([Id] = @1)
  2256. 10:50:56.735: -- @0: '2026' (Type = Int32)
  2257. 10:50:56.735: -- @1: '2026' (Type = Int32)
  2258. 10:50:56.736: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2259. 10:50:56.736: -- Completed in 0 ms with result: 1
  2260. 10:50:56.736:
  2261. 10:50:56.737: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2262. 10:50:56.737: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2263. 10:50:56.737: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2264. 10:50:56.738: SELECT TOP (2)
  2265. [Extent1].[Id] AS [Id],
  2266. [Extent1].[Name] AS [Name]
  2267. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2268. WHERE 'New' = [Extent1].[Name]10:50:56.738:
  2269. 10:50:56.738: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2270. 10:50:56.739: -- Completed in 0 ms with result: SqlDataReader
  2271. 10:50:56.739:
  2272. 10:50:56.739: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2273. 10:50:56.744: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2274. 10:50:56.745: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2275. 10:50:56.746: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2276. VALUES (@0, NULL, @1)
  2277. SELECT [Id]
  2278. FROM [dbo].[ProcessQueue]
  2279. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.746:
  2280. 10:50:56.746: -- @0: '2026' (Type = Int32)
  2281. 10:50:56.746: -- @1: '2' (Type = Int32)
  2282. 10:50:56.746: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2283. 10:50:56.747: -- Completed in 0 ms with result: SqlDataReader
  2284. 10:50:56.747:
  2285. 10:50:56.748: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2286. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2287. SELECT [Id]
  2288. FROM [dbo].[ProcessQueueItem]
  2289. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.748:
  2290. 10:50:56.748: -- @0: '1' (Type = Int32)
  2291. 10:50:56.748: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  2292. 10:50:56.748: -- @2: '6082' (Type = Int32)
  2293. 10:50:56.749: -- @3: '1' (Type = Int32)
  2294. 10:50:56.749: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2295. 10:50:56.749: -- Completed in 0 ms with result: SqlDataReader
  2296. 10:50:56.749:
  2297. 10:50:56.75: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2298. 10:50:56.75: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2299. 10:50:56.755: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2300. 10:50:56.756: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2301. 10:50:56.757: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2302. VALUES (@0, NULL, @1)
  2303. SELECT [Id]
  2304. FROM [dbo].[ProcessQueue]
  2305. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.757:
  2306. 10:50:56.757: -- @0: '2026' (Type = Int32)
  2307. 10:50:56.757: -- @1: '3' (Type = Int32)
  2308. 10:50:56.758: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2309. 10:50:56.758: -- Completed in 0 ms with result: SqlDataReader
  2310. 10:50:56.758:
  2311. 10:50:56.759: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2312. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2313. SELECT [Id]
  2314. FROM [dbo].[ProcessQueueItem]
  2315. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.759:
  2316. 10:50:56.759: -- @0: '1' (Type = Int32)
  2317. 10:50:56.759: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  2318. 10:50:56.759: -- @2: '6083' (Type = Int32)
  2319. 10:50:56.76: -- @3: '1' (Type = Int32)
  2320. 10:50:56.76: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2321. 10:50:56.76: -- Completed in 0 ms with result: SqlDataReader
  2322. 10:50:56.76:
  2323. 10:50:56.761: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2324. 10:50:56.761: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2325. 10:50:56.767: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2326. 10:50:56.767: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2327. 10:50:56.768: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2328. VALUES (@0, NULL, @1)
  2329. SELECT [Id]
  2330. FROM [dbo].[ProcessQueue]
  2331. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.768:
  2332. 10:50:56.768: -- @0: '2026' (Type = Int32)
  2333. 10:50:56.769: -- @1: '1' (Type = Int32)
  2334. 10:50:56.769: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2335. 10:50:56.769: -- Completed in 0 ms with result: SqlDataReader
  2336. 10:50:56.769:
  2337. 10:50:56.77: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2338. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2339. SELECT [Id]
  2340. FROM [dbo].[ProcessQueueItem]
  2341. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.77:
  2342. 10:50:56.77: -- @0: '1' (Type = Int32)
  2343. 10:50:56.77: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  2344. 10:50:56.771: -- @2: '6084' (Type = Int32)
  2345. 10:50:56.771: -- @3: '1' (Type = Int32)
  2346. 10:50:56.771: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2347. 10:50:56.771: -- Completed in 0 ms with result: SqlDataReader
  2348. 10:50:56.772:
  2349. 10:50:56.772: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2350. 10:50:56.772: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2351. 10:50:56.773: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2352. 10:50:56.773: SELECT TOP (2)
  2353. [Extent1].[Id] AS [Id],
  2354. [Extent1].[Name] AS [Name],
  2355. [Extent1].[AuthorId] AS [AuthorId],
  2356. [Extent1].[PeriodTypeId] AS [PeriodTypeId],
  2357. [Extent1].[SourceSystemId] AS [SourceSystemId]
  2358. FROM [dbo].[DocumentTemplate] AS [Extent1]
  2359. WHERE [Extent1].[Id] = @p__linq__010:50:56.773:
  2360. 10:50:56.774: -- p__linq__0: '3' (Type = Int32, IsNullable = false)
  2361. 10:50:56.774: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2362. 10:50:56.774: -- Completed in 0 ms with result: SqlDataReader
  2363. 10:50:56.774:
  2364. 10:50:56.775: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2365. 10:50:56.775: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2366. 10:50:56.776: SELECT
  2367. [Extent1].[Id] AS [Id],
  2368. [Extent1].[Name] AS [Name]
  2369. FROM [dbo].[ActionType] AS [Extent1]
  2370. WHERE [Extent1].[Name] IN (N'Edit', N'Approve', N'Final Approve')10:50:56.777:
  2371. 10:50:56.777: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2372. 10:50:56.777: -- Completed in 0 ms with result: SqlDataReader
  2373. 10:50:56.778:
  2374. 10:50:56.778: SELECT
  2375. [Extent1].[ID] AS [ID],
  2376. [Extent1].[Name] AS [Name],
  2377. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2378. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2379. [Extent1].[ID_Group] AS [ID_Group]
  2380. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.778:
  2381. 10:50:56.778: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2382. 10:50:56.778: -- Completed in 0 ms with result: SqlDataReader
  2383. 10:50:56.779:
  2384. 10:50:56.779: SELECT
  2385. [Extent1].[ID] AS [ID],
  2386. [Extent1].[Name] AS [Name],
  2387. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2388. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2389. [Extent1].[ID_Group] AS [ID_Group]
  2390. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.779:
  2391. 10:50:56.779: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2392. 10:50:56.78: -- Completed in 0 ms with result: SqlDataReader
  2393. 10:50:56.78:
  2394. 10:50:56.78: SELECT
  2395. [Extent1].[ID] AS [ID],
  2396. [Extent1].[Name] AS [Name],
  2397. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2398. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2399. [Extent1].[ID_Group] AS [ID_Group]
  2400. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.78:
  2401. 10:50:56.781: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2402. 10:50:56.781: -- Completed in 0 ms with result: SqlDataReader
  2403. 10:50:56.781:
  2404. 10:50:56.781: SELECT
  2405. [Extent1].[ID] AS [ID],
  2406. [Extent1].[Name] AS [Name],
  2407. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2408. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2409. [Extent1].[ID_Group] AS [ID_Group]
  2410. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.781:
  2411. 10:50:56.782: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2412. 10:50:56.782: -- Completed in 0 ms with result: SqlDataReader
  2413. 10:50:56.782:
  2414. 10:50:56.783: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2415. 10:50:56.783: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2416. 10:50:56.783: SELECT TOP (1)
  2417. [Extent1].[Id] AS [Id],
  2418. [Extent1].[Name] AS [Name]
  2419. FROM [dbo].[DocumentStatus] AS [Extent1]
  2420. WHERE N'New' = [Extent1].[Name]10:50:56.783:
  2421. 10:50:56.784: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2422. 10:50:56.784: -- Completed in 0 ms with result: SqlDataReader
  2423. 10:50:56.784:
  2424. 10:50:56.784: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2425. 10:50:56.785: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2426. 10:50:56.785: SELECT TOP (1)
  2427. [Extent1].[ID] AS [ID],
  2428. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  2429. [Extent1].[FirstName] AS [FirstName],
  2430. [Extent1].[LastName] AS [LastName],
  2431. [Extent1].[Active] AS [Active]
  2432. FROM [dbo].[User] AS [Extent1]
  2433. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  2434. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.785:
  2435. 10:50:56.786: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  2436. 10:50:56.786: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2437. 10:50:56.786: -- Completed in 0 ms with result: SqlDataReader
  2438. 10:50:56.786:
  2439. 10:50:56.787: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2440. 10:50:56.792: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2441. 10:50:56.793: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2442. 10:50:56.794: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  2443. VALUES (@0, @1, @2, NULL, NULL, @3, @4, NULL, @5, @6, @7, @8, NULL, NULL, NULL, @9, NULL)
  2444. SELECT [Id]
  2445. FROM [dbo].[Document]
  2446. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.794:
  2447. 10:50:56.794: -- @0: '10:50 AM_9' (Type = String, Size = 256)
  2448. 10:50:56.795: -- @1: '1.0' (Type = String, Size = 64)
  2449. 10:50:56.795: -- @2: 'test.bin' (Type = String, Size = 256)
  2450. 10:50:56.795: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2451. 10:50:56.795: -- @4: 'True' (Type = Boolean)
  2452. 10:50:56.795: -- @5: '6' (Type = Int32)
  2453. 10:50:56.796: -- @6: '1' (Type = Int32)
  2454. 10:50:56.796: -- @7: '3' (Type = Int32)
  2455. 10:50:56.796: -- @8: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  2456. 10:50:56.796: -- @9: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  2457. 10:50:56.796: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2458. 10:50:56.797: -- Completed in 0 ms with result: SqlDataReader
  2459. 10:50:56.797:
  2460. 10:50:56.798: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2461. 10:50:56.798: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2462. 10:50:56.801: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2463. 10:50:56.801: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2464. 10:50:56.802: UPDATE [dbo].[Document]
  2465. SET [ChronicalDocumentId] = @0
  2466. WHERE ([Id] = @1)
  2467. 10:50:56.803: -- @0: '2027' (Type = Int32)
  2468. 10:50:56.803: -- @1: '2027' (Type = Int32)
  2469. 10:50:56.803: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2470. 10:50:56.803: -- Completed in 0 ms with result: 1
  2471. 10:50:56.804:
  2472. 10:50:56.804: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2473. 10:50:56.804: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2474. 10:50:56.805: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2475. 10:50:56.805: SELECT TOP (2)
  2476. [Extent1].[Id] AS [Id],
  2477. [Extent1].[Name] AS [Name]
  2478. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2479. WHERE 'New' = [Extent1].[Name]10:50:56.805:
  2480. 10:50:56.806: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2481. 10:50:56.806: -- Completed in 0 ms with result: SqlDataReader
  2482. 10:50:56.806:
  2483. 10:50:56.806: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2484. 10:50:56.813: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2485. 10:50:56.813: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2486. 10:50:56.814: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2487. VALUES (@0, NULL, @1)
  2488. SELECT [Id]
  2489. FROM [dbo].[ProcessQueue]
  2490. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.815:
  2491. 10:50:56.815: -- @0: '2027' (Type = Int32)
  2492. 10:50:56.815: -- @1: '2' (Type = Int32)
  2493. 10:50:56.815: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2494. 10:50:56.816: -- Completed in 0 ms with result: SqlDataReader
  2495. 10:50:56.816:
  2496. 10:50:56.816: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2497. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2498. SELECT [Id]
  2499. FROM [dbo].[ProcessQueueItem]
  2500. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.816:
  2501. 10:50:56.817: -- @0: '1' (Type = Int32)
  2502. 10:50:56.817: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  2503. 10:50:56.817: -- @2: '6085' (Type = Int32)
  2504. 10:50:56.817: -- @3: '1' (Type = Int32)
  2505. 10:50:56.817: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2506. 10:50:56.818: -- Completed in 0 ms with result: SqlDataReader
  2507. 10:50:56.818:
  2508. 10:50:56.818: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2509. 10:50:56.819: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2510. 10:50:56.824: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2511. 10:50:56.825: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2512. 10:50:56.826: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2513. VALUES (@0, NULL, @1)
  2514. SELECT [Id]
  2515. FROM [dbo].[ProcessQueue]
  2516. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.826:
  2517. 10:50:56.826: -- @0: '2027' (Type = Int32)
  2518. 10:50:56.826: -- @1: '3' (Type = Int32)
  2519. 10:50:56.826: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2520. 10:50:56.827: -- Completed in 0 ms with result: SqlDataReader
  2521. 10:50:56.827:
  2522. 10:50:56.828: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2523. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2524. SELECT [Id]
  2525. FROM [dbo].[ProcessQueueItem]
  2526. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.828:
  2527. 10:50:56.828: -- @0: '1' (Type = Int32)
  2528. 10:50:56.828: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  2529. 10:50:56.828: -- @2: '6086' (Type = Int32)
  2530. 10:50:56.829: -- @3: '1' (Type = Int32)
  2531. 10:50:56.829: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2532. 10:50:56.829: -- Completed in 0 ms with result: SqlDataReader
  2533. 10:50:56.829:
  2534. 10:50:56.83: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2535. 10:50:56.83: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2536. 10:50:56.836: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2537. 10:50:56.837: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2538. 10:50:56.838: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2539. VALUES (@0, NULL, @1)
  2540. SELECT [Id]
  2541. FROM [dbo].[ProcessQueue]
  2542. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.838:
  2543. 10:50:56.838: -- @0: '2027' (Type = Int32)
  2544. 10:50:56.838: -- @1: '1' (Type = Int32)
  2545. 10:50:56.839: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2546. 10:50:56.839: -- Completed in 0 ms with result: SqlDataReader
  2547. 10:50:56.839:
  2548. 10:50:56.84: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2549. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2550. SELECT [Id]
  2551. FROM [dbo].[ProcessQueueItem]
  2552. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.84:
  2553. 10:50:56.84: -- @0: '1' (Type = Int32)
  2554. 10:50:56.84: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  2555. 10:50:56.84: -- @2: '6087' (Type = Int32)
  2556. 10:50:56.841: -- @3: '1' (Type = Int32)
  2557. 10:50:56.841: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2558. 10:50:56.841: -- Completed in 0 ms with result: SqlDataReader
  2559. 10:50:56.841:
  2560. 10:50:56.842: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2561. 10:50:56.842: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2562. 10:50:56.845: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2563. 10:50:56.856: SELECT TOP (1)
  2564. [Extent1].[Id] AS [Id],
  2565. [Extent1].[Name] AS [Name],
  2566. [Extent1].[FirstStage] AS [FirstStage]
  2567. FROM [dbo].[BusinessProcess] AS [Extent1]
  2568. WHERE [Extent1].[Name] = @p__linq__010:50:56.857:
  2569. 10:50:56.857: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  2570. 10:50:56.857: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2571. 10:50:56.859: -- Completed in 1 ms with result: SqlDataReader
  2572. 10:50:56.859:
  2573. 10:50:56.861: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2574. 10:50:56.868: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2575. 10:50:56.869: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2576. 10:50:56.87: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  2577. VALUES (@0, NULL, @1)
  2578. SELECT [Id]
  2579. FROM [dbo].[Workflow]
  2580. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.87:
  2581. 10:50:56.87: -- @0: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2582. 10:50:56.87: -- @1: '1' (Type = Int32)
  2583. 10:50:56.87: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2584. 10:50:56.872: -- Completed in 1 ms with result: SqlDataReader
  2585. 10:50:56.873:
  2586. 10:50:56.874: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2587. 10:50:56.874: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2588. 10:50:56.875: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2589. 10:50:56.876: SELECT TOP (1)
  2590. [Extent1].[Id] AS [Id],
  2591. [Extent1].[Name] AS [Name],
  2592. [Extent1].[ActionTypeId] AS [ActionTypeId],
  2593. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  2594. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  2595. FROM [dbo].[Stage] AS [Extent1]
  2596. WHERE [Extent1].[Id] = @p__linq__010:50:56.877:
  2597. 10:50:56.877: -- p__linq__0: '1' (Type = Int32)
  2598. 10:50:56.877: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2599. 10:50:56.878: -- Completed in 0 ms with result: SqlDataReader
  2600. 10:50:56.879:
  2601. 10:50:56.879: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2602. 10:50:56.879: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2603. 10:50:56.88: SELECT TOP (1)
  2604. [Extent1].[ID] AS [ID],
  2605. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  2606. [Extent1].[FirstName] AS [FirstName],
  2607. [Extent1].[LastName] AS [LastName],
  2608. [Extent1].[Active] AS [Active]
  2609. FROM [dbo].[User] AS [Extent1]
  2610. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  2611. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:56.88:
  2612. 10:50:56.88: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  2613. 10:50:56.88: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2614. 10:50:56.881: -- Completed in 0 ms with result: SqlDataReader
  2615. 10:50:56.881:
  2616. 10:50:56.881: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2617. 10:50:56.883: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2618. 10:50:56.883: SELECT TOP (2)
  2619. [Extent1].[Id] AS [Id],
  2620. [Extent1].[Name] AS [Name]
  2621. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2622. WHERE 'New' = [Extent1].[Name]10:50:56.883:
  2623. 10:50:56.884: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2624. 10:50:56.884: -- Completed in 0 ms with result: SqlDataReader
  2625. 10:50:56.884:
  2626. 10:50:56.885: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2627. 10:50:56.893: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2628. 10:50:56.893: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2629. 10:50:56.896: UPDATE [dbo].[Document]
  2630. SET [IsCurrentVersion] = @0
  2631. WHERE ([Id] = @1)
  2632. 10:50:56.896: -- @0: 'False' (Type = Boolean)
  2633. 10:50:56.896: -- @1: '2018' (Type = Int32)
  2634. 10:50:56.897: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2635. 10:50:56.898: -- Completed in 1 ms with result: 1
  2636. 10:50:56.898:
  2637. 10:50:56.899: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  2638. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  2639. SELECT [Id]
  2640. FROM [dbo].[Document]
  2641. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.899:
  2642. 10:50:56.899: -- @0: '10:50 AM_0' (Type = String, Size = 256)
  2643. 10:50:56.899: -- @1: '2.0' (Type = String, Size = 64)
  2644. 10:50:56.9: -- @2: 'test.bin' (Type = String, Size = 256)
  2645. 10:50:56.9: -- @3: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2646. 10:50:56.9: -- @4: 'True' (Type = Boolean)
  2647. 10:50:56.9: -- @5: '2018' (Type = Int32)
  2648. 10:50:56.9: -- @6: '6' (Type = Int32)
  2649. 10:50:56.901: -- @7: '1' (Type = Int32)
  2650. 10:50:56.901: -- @8: '2' (Type = Int32)
  2651. 10:50:56.901: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  2652. 10:50:56.901: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  2653. 10:50:56.902: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2654. 10:50:56.906: -- Completed in 3 ms with result: SqlDataReader
  2655. 10:50:56.906:
  2656. 10:50:56.907: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2657. VALUES (@0, NULL, @1)
  2658. SELECT [Id]
  2659. FROM [dbo].[ProcessQueue]
  2660. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.907:
  2661. 10:50:56.907: -- @0: '2028' (Type = Int32)
  2662. 10:50:56.908: -- @1: '2' (Type = Int32)
  2663. 10:50:56.908: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2664. 10:50:56.908: -- Completed in 0 ms with result: SqlDataReader
  2665. 10:50:56.909:
  2666. 10:50:56.909: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2667. VALUES (@0, NULL, @1)
  2668. SELECT [Id]
  2669. FROM [dbo].[ProcessQueue]
  2670. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.909:
  2671. 10:50:56.909: -- @0: '2028' (Type = Int32)
  2672. 10:50:56.91: -- @1: '3' (Type = Int32)
  2673. 10:50:56.91: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2674. 10:50:56.911: -- Completed in 0 ms with result: SqlDataReader
  2675. 10:50:56.911:
  2676. 10:50:56.911: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  2677. VALUES (@0, NULL, @1)
  2678. SELECT [Id]
  2679. FROM [dbo].[ProcessQueue]
  2680. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.912:
  2681. 10:50:56.912: -- @0: '2028' (Type = Int32)
  2682. 10:50:56.912: -- @1: '1' (Type = Int32)
  2683. 10:50:56.912: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2684. 10:50:56.913: -- Completed in 0 ms with result: SqlDataReader
  2685. 10:50:56.913:
  2686. 10:50:56.913: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2687. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2688. SELECT [Id]
  2689. FROM [dbo].[ProcessQueueItem]
  2690. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.913:
  2691. 10:50:56.913: -- @0: '1' (Type = Int32)
  2692. 10:50:56.914: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  2693. 10:50:56.914: -- @2: '6088' (Type = Int32)
  2694. 10:50:56.914: -- @3: '1' (Type = Int32)
  2695. 10:50:56.914: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2696. 10:50:56.915: -- Completed in 0 ms with result: SqlDataReader
  2697. 10:50:56.915:
  2698. 10:50:56.915: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2699. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2700. SELECT [Id]
  2701. FROM [dbo].[ProcessQueueItem]
  2702. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.915:
  2703. 10:50:56.916: -- @0: '1' (Type = Int32)
  2704. 10:50:56.916: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  2705. 10:50:56.916: -- @2: '6089' (Type = Int32)
  2706. 10:50:56.916: -- @3: '1' (Type = Int32)
  2707. 10:50:56.916: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2708. 10:50:56.917: -- Completed in 0 ms with result: SqlDataReader
  2709. 10:50:56.917:
  2710. 10:50:56.917: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  2711. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  2712. SELECT [Id]
  2713. FROM [dbo].[ProcessQueueItem]
  2714. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:56.917:
  2715. 10:50:56.918: -- @0: '1' (Type = Int32)
  2716. 10:50:56.918: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  2717. 10:50:56.918: -- @2: '6090' (Type = Int32)
  2718. 10:50:56.918: -- @3: '1' (Type = Int32)
  2719. 10:50:56.918: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2720. 10:50:56.919: -- Completed in 0 ms with result: SqlDataReader
  2721. 10:50:56.919:
  2722. 10:50:56.92: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2723. 10:50:56.92: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2724. 10:50:56.923: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2725. 10:50:56.923: SELECT
  2726. [Extent1].[ID] AS [ID],
  2727. [Extent1].[Name] AS [Name],
  2728. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2729. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2730. [Extent1].[ID_Group] AS [ID_Group]
  2731. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.923:
  2732. 10:50:56.923: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2733. 10:50:56.924: -- Completed in 0 ms with result: SqlDataReader
  2734. 10:50:56.924:
  2735. 10:50:56.924: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2736. 10:50:56.925: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2737. 10:50:56.925: SELECT TOP (2)
  2738. [Extent1].[Id] AS [Id],
  2739. [Extent1].[Name] AS [Name]
  2740. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2741. WHERE 'New' = [Extent1].[Name]10:50:56.925:
  2742. 10:50:56.926: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2743. 10:50:56.926: -- Completed in 0 ms with result: SqlDataReader
  2744. 10:50:56.926:
  2745. 10:50:56.926: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2746. 10:50:56.926: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2747. 10:50:56.927: SELECT
  2748. [Extent1].[ID] AS [ID],
  2749. [Extent1].[Name] AS [Name],
  2750. [Extent1].[SourceSystemId] AS [SourceSystemId],
  2751. [Extent1].[ID_ActionType] AS [ID_ActionType],
  2752. [Extent1].[ID_Group] AS [ID_Group]
  2753. FROM [dbo].[AccessRight] AS [Extent1]10:50:56.927:
  2754. 10:50:56.927: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2755. 10:50:56.927: -- Completed in 0 ms with result: SqlDataReader
  2756. 10:50:56.928:
  2757. 10:50:56.928: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2758. 10:50:56.932: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2759. 10:50:56.932: SELECT TOP (2)
  2760. [Extent1].[Id] AS [Id],
  2761. [Extent1].[Name] AS [Name]
  2762. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2763. WHERE 'New' = [Extent1].[Name]10:50:56.932:
  2764. 10:50:56.933: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2765. 10:50:56.933: -- Completed in 0 ms with result: SqlDataReader
  2766. 10:50:56.933:
  2767. 10:50:56.934: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2768. 10:50:56.934: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2769. 10:50:56.935: SELECT TOP (2)
  2770. [Extent1].[Id] AS [Id],
  2771. [Extent1].[Name] AS [Name]
  2772. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2773. WHERE 'Sent' = [Extent1].[Name]10:50:56.935:
  2774. 10:50:56.935: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2775. 10:50:56.936: -- Completed in 0 ms with result: SqlDataReader
  2776. 10:50:56.937:
  2777. 10:50:56.937: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2778. 10:50:56.938: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2779. 10:50:56.939: SELECT TOP (2)
  2780. [Extent1].[Id] AS [Id],
  2781. [Extent1].[Name] AS [Name]
  2782. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  2783. WHERE 'New' = [Extent1].[Name]10:50:56.939:
  2784. 10:50:56.939: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2785. 10:50:56.94: -- Completed in 0 ms with result: SqlDataReader
  2786. 10:50:56.94:
  2787. 10:50:56.94: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2788. 10:50:56.948: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2789. 10:50:56.949: Started transaction at 7/29/2016 10:50:56 AM +05:00
  2790. 10:50:56.95: UPDATE [dbo].[ProcessQueueItem]
  2791. SET [StatusId] = @0, [Sent] = @1
  2792. WHERE ([Id] = @2)
  2793. 10:50:56.95: -- @0: '2' (Type = Int32)
  2794. 10:50:56.95: -- @1: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2795. 10:50:56.95: -- @2: '6038' (Type = Int32)
  2796. 10:50:56.95: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2797. 10:50:56.952: -- Completed in 1 ms with result: 1
  2798. 10:50:56.953:
  2799. 10:50:56.953: Committed transaction at 7/29/2016 10:50:56 AM +05:00
  2800. 10:50:56.953: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2801. 10:50:56.954: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2802. 10:50:56.957: SELECT
  2803. [Extent2].[UserId] AS [UserId],
  2804. [Extent2].[ApplicationId] AS [ApplicationId],
  2805. [Extent2].[UserName] AS [UserName],
  2806. [Extent2].[LoweredUserName] AS [LoweredUserName],
  2807. [Extent2].[MobileAlias] AS [MobileAlias],
  2808. [Extent2].[IsAnonymous] AS [IsAnonymous],
  2809. [Extent2].[LastActivityDate] AS [LastActivityDate]
  2810. FROM [dbo].[aspnet_UsersInRoles] AS [Extent1]
  2811. INNER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[UserId] = [Extent2].[UserId]
  2812. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:56.957:
  2813. 10:50:56.957: -- EntityKeyValue1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  2814. 10:50:56.957: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2815. 10:50:56.959: -- Completed in 1 ms with result: SqlDataReader
  2816. 10:50:56.96:
  2817. 10:50:56.96: Closed connection at 7/29/2016 10:50:56 AM +05:00
  2818. 10:50:56.962: Opened connection at 7/29/2016 10:50:56 AM +05:00
  2819. 10:50:56.998: SELECT TOP (2)
  2820. [Extent1].[Id] AS [Id],
  2821. [Extent1].[Name] AS [Name]
  2822. FROM [dbo].[TaskStatus] AS [Extent1]
  2823. WHERE N'New' = [Extent1].[Name]10:50:56.998:
  2824. 10:50:56.999: -- Executing at 7/29/2016 10:50:56 AM +05:00
  2825. 10:50:57: -- Completed in 1 ms with result: SqlDataReader
  2826. 10:50:57:
  2827. 10:50:57.002: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2828. 10:50:57.009: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2829. 10:50:57.009: Started transaction at 7/29/2016 10:50:57 AM +05:00
  2830. 10:50:57.01: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  2831. VALUES (NULL, @0)
  2832. SELECT [Id]
  2833. FROM [dbo].[TaskPerformer]
  2834. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.011:
  2835. 10:50:57.011: -- @0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  2836. 10:50:57.011: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2837. 10:50:57.013: -- Completed in 1 ms with result: SqlDataReader
  2838. 10:50:57.013:
  2839. 10:50:57.014: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  2840. 10:50:57.014: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2841. 10:50:57.025: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2842. 10:50:57.026: Started transaction at 7/29/2016 10:50:57 AM +05:00
  2843. 10:50:57.026: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  2844. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  2845. SELECT [Id]
  2846. FROM [dbo].[Task]
  2847. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.026:
  2848. 10:50:57.027: -- @0: '2018' (Type = Int32)
  2849. 10:50:57.027: -- @1: '1' (Type = Int32)
  2850. 10:50:57.027: -- @2: '7/29/2016 10:50:56 AM' (Type = DateTime2)
  2851. 10:50:57.027: -- @3: '974' (Type = Int32)
  2852. 10:50:57.027: -- @4: '1' (Type = Int32)
  2853. 10:50:57.028: -- @5: '969' (Type = Int32)
  2854. 10:50:57.028: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2855. 10:50:57.031: -- Completed in 2 ms with result: SqlDataReader
  2856. 10:50:57.031:
  2857. 10:50:57.032: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  2858. 10:50:57.032: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2859. 10:50:57.034: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2860. 10:50:57.036: SELECT TOP (1)
  2861. [Extent1].[RoleId] AS [RoleId],
  2862. [Extent1].[ApplicationId] AS [ApplicationId],
  2863. [Extent1].[RoleName] AS [RoleName],
  2864. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  2865. [Extent1].[Description] AS [Description]
  2866. FROM [dbo].[aspnet_Roles] AS [Extent1]
  2867. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.036:
  2868. 10:50:57.036: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  2869. 10:50:57.036: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2870. 10:50:57.038: -- Completed in 0 ms with result: SqlDataReader
  2871. 10:50:57.038:
  2872. 10:50:57.038: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2873. 10:50:57.04: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2874. 10:50:57.05: SELECT TOP (2)
  2875. [Extent1].[ID] AS [ID],
  2876. [Extent1].[Name] AS [Name]
  2877. FROM [dbo].[AuditAction] AS [Extent1]
  2878. WHERE [Extent1].[ID] = @p__linq__010:50:57.05:
  2879. 10:50:57.05: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  2880. 10:50:57.051: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2881. 10:50:57.052: -- Completed in 0 ms with result: SqlDataReader
  2882. 10:50:57.052:
  2883. 10:50:57.053: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2884. 10:50:57.062: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2885. 10:50:57.063: Started transaction at 7/29/2016 10:50:57 AM +05:00
  2886. 10:50:57.064: UPDATE [dbo].[Task]
  2887. SET [DocumentId] = @0
  2888. WHERE ([Id] = @1)
  2889. 10:50:57.064: -- @0: '2018' (Type = Int32)
  2890. 10:50:57.064: -- @1: '969' (Type = Int32)
  2891. 10:50:57.064: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2892. 10:50:57.066: -- Completed in 1 ms with result: 1
  2893. 10:50:57.067:
  2894. 10:50:57.067: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  2895. VALUES (@0, @1, @2, @3, @4)
  2896. SELECT [ID]
  2897. FROM [dbo].[AuditTrail]
  2898. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.067:
  2899. 10:50:57.067: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  2900. 10:50:57.067: -- @1: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  2901. 10:50:57.068: -- @2: '2' (Type = Int32)
  2902. 10:50:57.068: -- @3: '2018' (Type = Int32)
  2903. 10:50:57.068: -- @4: '969' (Type = Int32)
  2904. 10:50:57.068: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2905. 10:50:57.071: -- Completed in 2 ms with result: SqlDataReader
  2906. 10:50:57.071:
  2907. 10:50:57.072: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  2908. 10:50:57.072: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2909. 10:50:57.073: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2910. 10:50:57.073: SELECT TOP (2)
  2911. [Extent1].[ID] AS [ID],
  2912. [Extent1].[Name] AS [Name]
  2913. FROM [dbo].[AuditAction] AS [Extent1]
  2914. WHERE [Extent1].[ID] = @p__linq__010:50:57.073:
  2915. 10:50:57.074: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  2916. 10:50:57.074: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2917. 10:50:57.074: -- Completed in 0 ms with result: SqlDataReader
  2918. 10:50:57.074:
  2919. 10:50:57.075: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2920. 10:50:57.081: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2921. 10:50:57.081: Started transaction at 7/29/2016 10:50:57 AM +05:00
  2922. 10:50:57.083: UPDATE [dbo].[Task]
  2923. SET [DocumentId] = @0
  2924. WHERE ([Id] = @1)
  2925. 10:50:57.083: -- @0: '2018' (Type = Int32)
  2926. 10:50:57.083: -- @1: '969' (Type = Int32)
  2927. 10:50:57.083: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2928. 10:50:57.084: -- Completed in 0 ms with result: 1
  2929. 10:50:57.084:
  2930. 10:50:57.084: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  2931. VALUES (@0, @1, @2, @3, @4)
  2932. SELECT [ID]
  2933. FROM [dbo].[AuditTrail]
  2934. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.084:
  2935. 10:50:57.084: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  2936. 10:50:57.085: -- @1: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  2937. 10:50:57.085: -- @2: '2' (Type = Int32)
  2938. 10:50:57.085: -- @3: '2018' (Type = Int32)
  2939. 10:50:57.085: -- @4: '969' (Type = Int32)
  2940. 10:50:57.086: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2941. 10:50:57.086: -- Completed in 0 ms with result: SqlDataReader
  2942. 10:50:57.086:
  2943. 10:50:57.087: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  2944. 10:50:57.087: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2945. 10:50:57.088: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2946. 10:50:57.089: SELECT
  2947. [Extent1].[Id] AS [Id],
  2948. [Extent1].[Name] AS [Name]
  2949. FROM [dbo].[DocumentStatus] AS [Extent1]
  2950. WHERE [Extent1].[Id] = @EntityKeyValue110:50:57.089:
  2951. 10:50:57.089: -- EntityKeyValue1: '1' (Type = Int32)
  2952. 10:50:57.09: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2953. 10:50:57.091: -- Completed in 0 ms with result: SqlDataReader
  2954. 10:50:57.091:
  2955. 10:50:57.092: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2956. 10:50:57.093: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2957. 10:50:57.094: SELECT TOP (1)
  2958. [Extent1].[RoleId] AS [RoleId],
  2959. [Extent1].[ApplicationId] AS [ApplicationId],
  2960. [Extent1].[RoleName] AS [RoleName],
  2961. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  2962. [Extent1].[Description] AS [Description]
  2963. FROM [dbo].[aspnet_Roles] AS [Extent1]
  2964. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.094:
  2965. 10:50:57.094: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  2966. 10:50:57.095: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2967. 10:50:57.095: -- Completed in 0 ms with result: SqlDataReader
  2968. 10:50:57.095:
  2969. 10:50:57.095: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2970. 10:50:57.096: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2971. 10:50:57.099: SELECT TOP (2)
  2972. [Extent1].[ID] AS [ID],
  2973. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  2974. [Extent1].[FirstName] AS [FirstName],
  2975. [Extent1].[LastName] AS [LastName],
  2976. [Extent1].[Active] AS [Active]
  2977. FROM [dbo].[User] AS [Extent1]
  2978. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.099:
  2979. 10:50:57.099: -- p__linq__0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid, IsNullable = false)
  2980. 10:50:57.099: -- Executing at 7/29/2016 10:50:57 AM +05:00
  2981. 10:50:57.101: -- Completed in 1 ms with result: SqlDataReader
  2982. 10:50:57.101:
  2983. 10:50:57.102: Closed connection at 7/29/2016 10:50:57 AM +05:00
  2984. 10:50:57.103: Opened connection at 7/29/2016 10:50:57 AM +05:00
  2985. 10:50:57.122: SELECT
  2986. [Extent1].[UserId] AS [UserId],
  2987. [Extent1].[ApplicationId] AS [ApplicationId],
  2988. [Extent1].[Password] AS [Password],
  2989. [Extent1].[PasswordFormat] AS [PasswordFormat],
  2990. [Extent1].[PasswordSalt] AS [PasswordSalt],
  2991. [Extent1].[MobilePIN] AS [MobilePIN],
  2992. [Extent1].[Email] AS [Email],
  2993. [Extent1].[LoweredEmail] AS [LoweredEmail],
  2994. [Extent1].[PasswordQuestion] AS [PasswordQuestion],
  2995. [Extent1].[PasswordAnswer] AS [PasswordAnswer],
  2996. [Extent1].[IsApproved] AS [IsApproved],
  2997. [Extent1].[IsLockedOut] AS [IsLockedOut],
  2998. [Extent1].[CreateDate] AS [CreateDate],
  2999. [Extent1].[LastLoginDate] AS [LastLoginDate],
  3000. [Extent1].[LastPasswordChangedDate] AS [LastPasswordChangedDate],
  3001. [Extent1].[LastLockoutDate] AS [LastLockoutDate],
  3002. [Extent1].[FailedPasswordAttemptCount] AS [FailedPasswordAttemptCount],
  3003. [Extent1].[FailedPasswordAttemptWindowStart] AS [FailedPasswordAttemptWindowStart],
  3004. [Extent1].[FailedPasswordAnswerAttemptCount] AS [FailedPasswordAnswerAttemptCount],
  3005. [Extent1].[FailedPasswordAnswerAttemptWindowStart] AS [FailedPasswordAnswerAttemptWindowStart],
  3006. [Extent1].[Comment] AS [Comment]
  3007. FROM [dbo].[aspnet_Membership] AS [Extent1]
  3008. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:57.122:
  3009. 10:50:57.123: -- EntityKeyValue1: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid, IsNullable = false)
  3010. 10:50:57.123: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3011. 10:50:57.125: -- Completed in 1 ms with result: SqlDataReader
  3012. 10:50:57.126:
  3013. 10:50:57.136: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3014. Exception thrown: 'System.NullReferenceException' in Core.dll
  3015. 10:50:57.17: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3016. 10:50:57.171: SELECT TOP (2)
  3017. [Extent1].[ID] AS [ID],
  3018. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  3019. [Extent1].[FirstName] AS [FirstName],
  3020. [Extent1].[LastName] AS [LastName],
  3021. [Extent1].[Active] AS [Active]
  3022. FROM [dbo].[User] AS [Extent1]
  3023. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.171:
  3024. 10:50:57.171: -- p__linq__0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid, IsNullable = false)
  3025. 10:50:57.171: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3026. 10:50:57.172: -- Completed in 0 ms with result: SqlDataReader
  3027. 10:50:57.172:
  3028. 10:50:57.172: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3029. 10:50:57.173: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3030. 10:50:57.173: SELECT
  3031. [Extent1].[UserId] AS [UserId],
  3032. [Extent1].[ApplicationId] AS [ApplicationId],
  3033. [Extent1].[Password] AS [Password],
  3034. [Extent1].[PasswordFormat] AS [PasswordFormat],
  3035. [Extent1].[PasswordSalt] AS [PasswordSalt],
  3036. [Extent1].[MobilePIN] AS [MobilePIN],
  3037. [Extent1].[Email] AS [Email],
  3038. [Extent1].[LoweredEmail] AS [LoweredEmail],
  3039. [Extent1].[PasswordQuestion] AS [PasswordQuestion],
  3040. [Extent1].[PasswordAnswer] AS [PasswordAnswer],
  3041. [Extent1].[IsApproved] AS [IsApproved],
  3042. [Extent1].[IsLockedOut] AS [IsLockedOut],
  3043. [Extent1].[CreateDate] AS [CreateDate],
  3044. [Extent1].[LastLoginDate] AS [LastLoginDate],
  3045. [Extent1].[LastPasswordChangedDate] AS [LastPasswordChangedDate],
  3046. [Extent1].[LastLockoutDate] AS [LastLockoutDate],
  3047. [Extent1].[FailedPasswordAttemptCount] AS [FailedPasswordAttemptCount],
  3048. [Extent1].[FailedPasswordAttemptWindowStart] AS [FailedPasswordAttemptWindowStart],
  3049. [Extent1].[FailedPasswordAnswerAttemptCount] AS [FailedPasswordAnswerAttemptCount],
  3050. [Extent1].[FailedPasswordAnswerAttemptWindowStart] AS [FailedPasswordAnswerAttemptWindowStart],
  3051. [Extent1].[Comment] AS [Comment]
  3052. FROM [dbo].[aspnet_Membership] AS [Extent1]
  3053. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:57.173:
  3054. 10:50:57.173: -- EntityKeyValue1: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid, IsNullable = false)
  3055. 10:50:57.174: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3056. 10:50:57.174: -- Completed in 0 ms with result: SqlDataReader
  3057. 10:50:57.174:
  3058. 10:50:57.175: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3059. Exception thrown: 'System.NullReferenceException' in Core.dll
  3060. 10:50:57.186: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3061. 10:50:57.187: SELECT TOP (1)
  3062. [Extent1].[Id] AS [Id],
  3063. [Extent1].[Name] AS [Name],
  3064. [Extent1].[FirstStage] AS [FirstStage]
  3065. FROM [dbo].[BusinessProcess] AS [Extent1]
  3066. WHERE [Extent1].[Name] = @p__linq__010:50:57.187:
  3067. 10:50:57.187: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  3068. 10:50:57.187: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3069. 10:50:57.188: -- Completed in 0 ms with result: SqlDataReader
  3070. 10:50:57.188:
  3071. 10:50:57.188: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3072. 10:50:57.196: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3073. 10:50:57.196: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3074. 10:50:57.198: UPDATE [dbo].[Document]
  3075. SET [DocumentStatusId] = @0
  3076. WHERE ([Id] = @1)
  3077. 10:50:57.198: -- @0: '1' (Type = Int32)
  3078. 10:50:57.198: -- @1: '2028' (Type = Int32)
  3079. 10:50:57.198: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3080. 10:50:57.2: -- Completed in 1 ms with result: 1
  3081. 10:50:57.201:
  3082. 10:50:57.201: UPDATE [dbo].[Task]
  3083. SET [DocumentId] = @0
  3084. WHERE ([Id] = @1)
  3085. 10:50:57.201: -- @0: '2018' (Type = Int32)
  3086. 10:50:57.201: -- @1: '969' (Type = Int32)
  3087. 10:50:57.202: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3088. 10:50:57.202: -- Completed in 0 ms with result: 1
  3089. 10:50:57.202:
  3090. 10:50:57.202: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  3091. VALUES (@0, NULL, @1)
  3092. SELECT [Id]
  3093. FROM [dbo].[Workflow]
  3094. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.203:
  3095. 10:50:57.203: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3096. 10:50:57.203: -- @1: '1' (Type = Int32)
  3097. 10:50:57.203: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3098. 10:50:57.204: -- Completed in 0 ms with result: SqlDataReader
  3099. 10:50:57.204:
  3100. 10:50:57.204: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3101. 10:50:57.205: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3102. 10:50:57.205: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3103. 10:50:57.206: SELECT TOP (1)
  3104. [Extent1].[Id] AS [Id],
  3105. [Extent1].[Name] AS [Name],
  3106. [Extent1].[ActionTypeId] AS [ActionTypeId],
  3107. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  3108. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  3109. FROM [dbo].[Stage] AS [Extent1]
  3110. WHERE [Extent1].[Id] = @p__linq__010:50:57.206:
  3111. 10:50:57.206: -- p__linq__0: '1' (Type = Int32)
  3112. 10:50:57.206: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3113. 10:50:57.207: -- Completed in 0 ms with result: SqlDataReader
  3114. 10:50:57.207:
  3115. 10:50:57.207: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3116. 10:50:57.208: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3117. 10:50:57.208: SELECT TOP (1)
  3118. [Extent1].[ID] AS [ID],
  3119. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  3120. [Extent1].[FirstName] AS [FirstName],
  3121. [Extent1].[LastName] AS [LastName],
  3122. [Extent1].[Active] AS [Active]
  3123. FROM [dbo].[User] AS [Extent1]
  3124. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  3125. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:57.208:
  3126. 10:50:57.208: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  3127. 10:50:57.209: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3128. 10:50:57.209: -- Completed in 0 ms with result: SqlDataReader
  3129. 10:50:57.209:
  3130. 10:50:57.209: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3131. 10:50:57.21: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3132. 10:50:57.211: SELECT TOP (2)
  3133. [Extent1].[Id] AS [Id],
  3134. [Extent1].[Name] AS [Name]
  3135. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3136. WHERE 'New' = [Extent1].[Name]10:50:57.211:
  3137. 10:50:57.211: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3138. 10:50:57.211: -- Completed in 0 ms with result: SqlDataReader
  3139. 10:50:57.212:
  3140. 10:50:57.212: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3141. 10:50:57.22: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3142. 10:50:57.22: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3143. 10:50:57.223: UPDATE [dbo].[Document]
  3144. SET [IsCurrentVersion] = @0
  3145. WHERE ([Id] = @1)
  3146. 10:50:57.223: -- @0: 'False' (Type = Boolean)
  3147. 10:50:57.223: -- @1: '2019' (Type = Int32)
  3148. 10:50:57.224: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3149. 10:50:57.224: -- Completed in 0 ms with result: 1
  3150. 10:50:57.224:
  3151. 10:50:57.224: UPDATE [dbo].[Task]
  3152. SET [DocumentId] = @0
  3153. WHERE ([Id] = @1)
  3154. 10:50:57.225: -- @0: '2018' (Type = Int32)
  3155. 10:50:57.225: -- @1: '969' (Type = Int32)
  3156. 10:50:57.225: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3157. 10:50:57.225: -- Completed in 0 ms with result: 1
  3158. 10:50:57.226:
  3159. 10:50:57.226: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  3160. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  3161. SELECT [Id]
  3162. FROM [dbo].[Document]
  3163. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.226:
  3164. 10:50:57.226: -- @0: '10:50 AM_1' (Type = String, Size = 256)
  3165. 10:50:57.226: -- @1: '2.0' (Type = String, Size = 64)
  3166. 10:50:57.226: -- @2: 'test.bin' (Type = String, Size = 256)
  3167. 10:50:57.227: -- @3: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3168. 10:50:57.227: -- @4: 'True' (Type = Boolean)
  3169. 10:50:57.227: -- @5: '2019' (Type = Int32)
  3170. 10:50:57.227: -- @6: '6' (Type = Int32)
  3171. 10:50:57.227: -- @7: '1' (Type = Int32)
  3172. 10:50:57.228: -- @8: '3' (Type = Int32)
  3173. 10:50:57.228: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  3174. 10:50:57.228: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  3175. 10:50:57.228: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3176. 10:50:57.229: -- Completed in 0 ms with result: SqlDataReader
  3177. 10:50:57.229:
  3178. 10:50:57.23: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  3179. VALUES (@0, NULL, @1)
  3180. SELECT [Id]
  3181. FROM [dbo].[ProcessQueue]
  3182. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.23:
  3183. 10:50:57.23: -- @0: '2029' (Type = Int32)
  3184. 10:50:57.23: -- @1: '2' (Type = Int32)
  3185. 10:50:57.23: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3186. 10:50:57.231: -- Completed in 0 ms with result: SqlDataReader
  3187. 10:50:57.231:
  3188. 10:50:57.231: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  3189. VALUES (@0, NULL, @1)
  3190. SELECT [Id]
  3191. FROM [dbo].[ProcessQueue]
  3192. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.232:
  3193. 10:50:57.232: -- @0: '2029' (Type = Int32)
  3194. 10:50:57.232: -- @1: '3' (Type = Int32)
  3195. 10:50:57.232: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3196. 10:50:57.233: -- Completed in 0 ms with result: SqlDataReader
  3197. 10:50:57.233:
  3198. 10:50:57.233: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  3199. VALUES (@0, NULL, @1)
  3200. SELECT [Id]
  3201. FROM [dbo].[ProcessQueue]
  3202. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.233:
  3203. 10:50:57.233: -- @0: '2029' (Type = Int32)
  3204. 10:50:57.234: -- @1: '1' (Type = Int32)
  3205. 10:50:57.234: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3206. 10:50:57.234: -- Completed in 0 ms with result: SqlDataReader
  3207. 10:50:57.234:
  3208. 10:50:57.235: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  3209. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  3210. SELECT [Id]
  3211. FROM [dbo].[ProcessQueueItem]
  3212. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.235:
  3213. 10:50:57.235: -- @0: '1' (Type = Int32)
  3214. 10:50:57.235: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  3215. 10:50:57.236: -- @2: '6091' (Type = Int32)
  3216. 10:50:57.236: -- @3: '1' (Type = Int32)
  3217. 10:50:57.236: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3218. 10:50:57.236: -- Completed in 0 ms with result: SqlDataReader
  3219. 10:50:57.237:
  3220. 10:50:57.237: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  3221. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  3222. SELECT [Id]
  3223. FROM [dbo].[ProcessQueueItem]
  3224. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.237:
  3225. 10:50:57.237: -- @0: '1' (Type = Int32)
  3226. 10:50:57.238: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  3227. 10:50:57.238: -- @2: '6092' (Type = Int32)
  3228. 10:50:57.238: -- @3: '1' (Type = Int32)
  3229. 10:50:57.238: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3230. 10:50:57.239: -- Completed in 0 ms with result: SqlDataReader
  3231. 10:50:57.239:
  3232. 10:50:57.24: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  3233. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  3234. SELECT [Id]
  3235. FROM [dbo].[ProcessQueueItem]
  3236. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.24:
  3237. 10:50:57.24: -- @0: '1' (Type = Int32)
  3238. 10:50:57.24: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  3239. 10:50:57.241: -- @2: '6093' (Type = Int32)
  3240. 10:50:57.241: -- @3: '1' (Type = Int32)
  3241. 10:50:57.241: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3242. 10:50:57.241: -- Completed in 0 ms with result: SqlDataReader
  3243. 10:50:57.242:
  3244. 10:50:57.242: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3245. 10:50:57.243: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3246. 10:50:57.244: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3247. 10:50:57.244: SELECT
  3248. [Extent1].[ID] AS [ID],
  3249. [Extent1].[Name] AS [Name],
  3250. [Extent1].[SourceSystemId] AS [SourceSystemId],
  3251. [Extent1].[ID_ActionType] AS [ID_ActionType],
  3252. [Extent1].[ID_Group] AS [ID_Group]
  3253. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.244:
  3254. 10:50:57.245: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3255. 10:50:57.245: -- Completed in 0 ms with result: SqlDataReader
  3256. 10:50:57.245:
  3257. 10:50:57.246: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3258. 10:50:57.246: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3259. 10:50:57.246: SELECT TOP (2)
  3260. [Extent1].[Id] AS [Id],
  3261. [Extent1].[Name] AS [Name]
  3262. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3263. WHERE 'New' = [Extent1].[Name]10:50:57.247:
  3264. 10:50:57.247: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3265. 10:50:57.247: -- Completed in 0 ms with result: SqlDataReader
  3266. 10:50:57.248:
  3267. 10:50:57.248: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3268. 10:50:57.248: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3269. 10:50:57.248: SELECT
  3270. [Extent1].[ID] AS [ID],
  3271. [Extent1].[Name] AS [Name],
  3272. [Extent1].[SourceSystemId] AS [SourceSystemId],
  3273. [Extent1].[ID_ActionType] AS [ID_ActionType],
  3274. [Extent1].[ID_Group] AS [ID_Group]
  3275. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.249:
  3276. 10:50:57.249: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3277. 10:50:57.249: -- Completed in 0 ms with result: SqlDataReader
  3278. 10:50:57.249:
  3279. 10:50:57.25: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3280. 10:50:57.25: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3281. 10:50:57.251: SELECT TOP (2)
  3282. [Extent1].[Id] AS [Id],
  3283. [Extent1].[Name] AS [Name]
  3284. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3285. WHERE 'New' = [Extent1].[Name]10:50:57.251:
  3286. 10:50:57.251: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3287. 10:50:57.252: -- Completed in 0 ms with result: SqlDataReader
  3288. 10:50:57.252:
  3289. 10:50:57.252: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3290. 10:50:57.252: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3291. 10:50:57.253: SELECT TOP (2)
  3292. [Extent1].[Id] AS [Id],
  3293. [Extent1].[Name] AS [Name]
  3294. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3295. WHERE 'Sent' = [Extent1].[Name]10:50:57.253:
  3296. 10:50:57.253: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3297. 10:50:57.254: -- Completed in 0 ms with result: SqlDataReader
  3298. 10:50:57.254:
  3299. 10:50:57.254: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3300. 10:50:57.254: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3301. 10:50:57.255: SELECT TOP (2)
  3302. [Extent1].[Id] AS [Id],
  3303. [Extent1].[Name] AS [Name]
  3304. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3305. WHERE 'New' = [Extent1].[Name]10:50:57.255:
  3306. 10:50:57.255: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3307. 10:50:57.256: -- Completed in 0 ms with result: SqlDataReader
  3308. 10:50:57.256:
  3309. 10:50:57.256: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3310. 10:50:57.26: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3311. 10:50:57.261: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3312. 10:50:57.262: UPDATE [dbo].[ProcessQueueItem]
  3313. SET [StatusId] = @0, [Sent] = @1
  3314. WHERE ([Id] = @2)
  3315. 10:50:57.263: -- @0: '2' (Type = Int32)
  3316. 10:50:57.263: -- @1: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3317. 10:50:57.263: -- @2: '6041' (Type = Int32)
  3318. 10:50:57.263: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3319. 10:50:57.264: -- Completed in 0 ms with result: 1
  3320. 10:50:57.264:
  3321. 10:50:57.264: UPDATE [dbo].[Task]
  3322. SET [DocumentId] = @0
  3323. WHERE ([Id] = @1)
  3324. 10:50:57.264: -- @0: '2028' (Type = Int32)
  3325. 10:50:57.265: -- @1: '969' (Type = Int32)
  3326. 10:50:57.265: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3327. 10:50:57.265: -- Completed in 0 ms with result: 1
  3328. 10:50:57.266:
  3329. 10:50:57.266: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3330. 10:50:57.266: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3331. 10:50:57.267: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3332. 10:50:57.267: SELECT
  3333. [Extent2].[UserId] AS [UserId],
  3334. [Extent2].[ApplicationId] AS [ApplicationId],
  3335. [Extent2].[UserName] AS [UserName],
  3336. [Extent2].[LoweredUserName] AS [LoweredUserName],
  3337. [Extent2].[MobileAlias] AS [MobileAlias],
  3338. [Extent2].[IsAnonymous] AS [IsAnonymous],
  3339. [Extent2].[LastActivityDate] AS [LastActivityDate]
  3340. FROM [dbo].[aspnet_UsersInRoles] AS [Extent1]
  3341. INNER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[UserId] = [Extent2].[UserId]
  3342. WHERE [Extent1].[RoleId] = @EntityKeyValue110:50:57.267:
  3343. 10:50:57.268: -- EntityKeyValue1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  3344. 10:50:57.268: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3345. 10:50:57.268: -- Completed in 0 ms with result: SqlDataReader
  3346. 10:50:57.268:
  3347. 10:50:57.269: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3348. 10:50:57.269: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3349. 10:50:57.27: SELECT TOP (2)
  3350. [Extent1].[Id] AS [Id],
  3351. [Extent1].[Name] AS [Name]
  3352. FROM [dbo].[TaskStatus] AS [Extent1]
  3353. WHERE N'New' = [Extent1].[Name]10:50:57.27:
  3354. 10:50:57.27: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3355. 10:50:57.271: -- Completed in 0 ms with result: SqlDataReader
  3356. 10:50:57.272:
  3357. 10:50:57.272: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3358. 10:50:57.279: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3359. 10:50:57.279: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3360. 10:50:57.28: UPDATE [dbo].[Task]
  3361. SET [DocumentId] = @0
  3362. WHERE ([Id] = @1)
  3363. 10:50:57.282: -- @0: '2028' (Type = Int32)
  3364. 10:50:57.283: -- @1: '969' (Type = Int32)
  3365. 10:50:57.284: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3366. 10:50:57.285: -- Completed in 0 ms with result: 1
  3367. 10:50:57.285:
  3368. 10:50:57.286: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  3369. VALUES (NULL, @0)
  3370. SELECT [Id]
  3371. FROM [dbo].[TaskPerformer]
  3372. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.286:
  3373. 10:50:57.286: -- @0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  3374. 10:50:57.286: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3375. 10:50:57.287: -- Completed in 0 ms with result: SqlDataReader
  3376. 10:50:57.287:
  3377. 10:50:57.288: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3378. 10:50:57.288: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3379. 10:50:57.296: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3380. 10:50:57.297: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3381. 10:50:57.298: UPDATE [dbo].[Task]
  3382. SET [DocumentId] = @0
  3383. WHERE ([Id] = @1)
  3384. 10:50:57.299: -- @0: '2028' (Type = Int32)
  3385. 10:50:57.299: -- @1: '969' (Type = Int32)
  3386. 10:50:57.299: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3387. 10:50:57.3: -- Completed in 0 ms with result: 1
  3388. 10:50:57.3:
  3389. 10:50:57.3: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  3390. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  3391. SELECT [Id]
  3392. FROM [dbo].[Task]
  3393. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.3:
  3394. 10:50:57.3: -- @0: '2019' (Type = Int32)
  3395. 10:50:57.301: -- @1: '1' (Type = Int32)
  3396. 10:50:57.301: -- @2: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3397. 10:50:57.301: -- @3: '975' (Type = Int32)
  3398. 10:50:57.301: -- @4: '1' (Type = Int32)
  3399. 10:50:57.301: -- @5: '970' (Type = Int32)
  3400. 10:50:57.302: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3401. 10:50:57.302: -- Completed in 0 ms with result: SqlDataReader
  3402. 10:50:57.302:
  3403. 10:50:57.303: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3404. 10:50:57.303: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3405. 10:50:57.304: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3406. 10:50:57.305: SELECT TOP (1)
  3407. [Extent1].[RoleId] AS [RoleId],
  3408. [Extent1].[ApplicationId] AS [ApplicationId],
  3409. [Extent1].[RoleName] AS [RoleName],
  3410. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  3411. [Extent1].[Description] AS [Description]
  3412. FROM [dbo].[aspnet_Roles] AS [Extent1]
  3413. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.305:
  3414. 10:50:57.305: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  3415. 10:50:57.305: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3416. 10:50:57.306: -- Completed in 0 ms with result: SqlDataReader
  3417. 10:50:57.306:
  3418. 10:50:57.306: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3419. 10:50:57.306: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3420. 10:50:57.307: SELECT TOP (2)
  3421. [Extent1].[ID] AS [ID],
  3422. [Extent1].[Name] AS [Name]
  3423. FROM [dbo].[AuditAction] AS [Extent1]
  3424. WHERE [Extent1].[ID] = @p__linq__010:50:57.307:
  3425. 10:50:57.307: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  3426. 10:50:57.308: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3427. 10:50:57.308: -- Completed in 0 ms with result: SqlDataReader
  3428. 10:50:57.308:
  3429. 10:50:57.308: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3430. 10:50:57.316: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3431. 10:50:57.317: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3432. 10:50:57.318: UPDATE [dbo].[Task]
  3433. SET [DocumentId] = @0
  3434. WHERE ([Id] = @1)
  3435. 10:50:57.318: -- @0: '2028' (Type = Int32)
  3436. 10:50:57.319: -- @1: '969' (Type = Int32)
  3437. 10:50:57.319: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3438. 10:50:57.319: -- Completed in 0 ms with result: 1
  3439. 10:50:57.319:
  3440. 10:50:57.32: UPDATE [dbo].[Task]
  3441. SET [DocumentId] = @0
  3442. WHERE ([Id] = @1)
  3443. 10:50:57.32: -- @0: '2019' (Type = Int32)
  3444. 10:50:57.32: -- @1: '970' (Type = Int32)
  3445. 10:50:57.32: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3446. 10:50:57.321: -- Completed in 0 ms with result: 1
  3447. 10:50:57.321:
  3448. 10:50:57.321: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  3449. VALUES (@0, @1, @2, @3, @4)
  3450. SELECT [ID]
  3451. FROM [dbo].[AuditTrail]
  3452. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.321:
  3453. 10:50:57.322: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3454. 10:50:57.322: -- @1: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  3455. 10:50:57.322: -- @2: '2' (Type = Int32)
  3456. 10:50:57.323: -- @3: '2019' (Type = Int32)
  3457. 10:50:57.323: -- @4: '970' (Type = Int32)
  3458. 10:50:57.323: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3459. 10:50:57.324: -- Completed in 0 ms with result: SqlDataReader
  3460. 10:50:57.324:
  3461. 10:50:57.325: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3462. 10:50:57.325: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3463. 10:50:57.326: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3464. 10:50:57.326: SELECT TOP (2)
  3465. [Extent1].[ID] AS [ID],
  3466. [Extent1].[Name] AS [Name]
  3467. FROM [dbo].[AuditAction] AS [Extent1]
  3468. WHERE [Extent1].[ID] = @p__linq__010:50:57.326:
  3469. 10:50:57.326: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  3470. 10:50:57.326: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3471. 10:50:57.327: -- Completed in 0 ms with result: SqlDataReader
  3472. 10:50:57.327:
  3473. 10:50:57.327: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3474. 10:50:57.335: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3475. 10:50:57.335: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3476. 10:50:57.337: UPDATE [dbo].[Task]
  3477. SET [DocumentId] = @0
  3478. WHERE ([Id] = @1)
  3479. 10:50:57.337: -- @0: '2028' (Type = Int32)
  3480. 10:50:57.337: -- @1: '969' (Type = Int32)
  3481. 10:50:57.338: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3482. 10:50:57.338: -- Completed in 0 ms with result: 1
  3483. 10:50:57.338:
  3484. 10:50:57.339: UPDATE [dbo].[Task]
  3485. SET [DocumentId] = @0
  3486. WHERE ([Id] = @1)
  3487. 10:50:57.339: -- @0: '2019' (Type = Int32)
  3488. 10:50:57.339: -- @1: '970' (Type = Int32)
  3489. 10:50:57.339: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3490. 10:50:57.34: -- Completed in 0 ms with result: 1
  3491. 10:50:57.34:
  3492. 10:50:57.34: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  3493. VALUES (@0, @1, @2, @3, @4)
  3494. SELECT [ID]
  3495. FROM [dbo].[AuditTrail]
  3496. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.341:
  3497. 10:50:57.341: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3498. 10:50:57.341: -- @1: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  3499. 10:50:57.342: -- @2: '2' (Type = Int32)
  3500. 10:50:57.342: -- @3: '2019' (Type = Int32)
  3501. 10:50:57.342: -- @4: '970' (Type = Int32)
  3502. 10:50:57.342: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3503. 10:50:57.343: -- Completed in 0 ms with result: SqlDataReader
  3504. 10:50:57.343:
  3505. 10:50:57.344: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3506. 10:50:57.344: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3507. 10:50:57.345: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3508. 10:50:57.345: SELECT TOP (1)
  3509. [Extent1].[RoleId] AS [RoleId],
  3510. [Extent1].[ApplicationId] AS [ApplicationId],
  3511. [Extent1].[RoleName] AS [RoleName],
  3512. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  3513. [Extent1].[Description] AS [Description]
  3514. FROM [dbo].[aspnet_Roles] AS [Extent1]
  3515. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.346:
  3516. 10:50:57.346: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  3517. 10:50:57.346: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3518. 10:50:57.346: -- Completed in 0 ms with result: SqlDataReader
  3519. 10:50:57.347:
  3520. 10:50:57.347: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3521. 10:50:57.347: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3522. 10:50:57.348: SELECT TOP (2)
  3523. [Extent1].[ID] AS [ID],
  3524. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  3525. [Extent1].[FirstName] AS [FirstName],
  3526. [Extent1].[LastName] AS [LastName],
  3527. [Extent1].[Active] AS [Active]
  3528. FROM [dbo].[User] AS [Extent1]
  3529. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.348:
  3530. 10:50:57.349: -- p__linq__0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid, IsNullable = false)
  3531. 10:50:57.349: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3532. 10:50:57.349: -- Completed in 0 ms with result: SqlDataReader
  3533. 10:50:57.349:
  3534. 10:50:57.35: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3535. 10:50:57.35: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3536. 10:50:57.35: SELECT
  3537. [Extent1].[UserId] AS [UserId],
  3538. [Extent1].[ApplicationId] AS [ApplicationId],
  3539. [Extent1].[Password] AS [Password],
  3540. [Extent1].[PasswordFormat] AS [PasswordFormat],
  3541. [Extent1].[PasswordSalt] AS [PasswordSalt],
  3542. [Extent1].[MobilePIN] AS [MobilePIN],
  3543. [Extent1].[Email] AS [Email],
  3544. [Extent1].[LoweredEmail] AS [LoweredEmail],
  3545. [Extent1].[PasswordQuestion] AS [PasswordQuestion],
  3546. [Extent1].[PasswordAnswer] AS [PasswordAnswer],
  3547. [Extent1].[IsApproved] AS [IsApproved],
  3548. [Extent1].[IsLockedOut] AS [IsLockedOut],
  3549. [Extent1].[CreateDate] AS [CreateDate],
  3550. [Extent1].[LastLoginDate] AS [LastLoginDate],
  3551. [Extent1].[LastPasswordChangedDate] AS [LastPasswordChangedDate],
  3552. [Extent1].[LastLockoutDate] AS [LastLockoutDate],
  3553. [Extent1].[FailedPasswordAttemptCount] AS [FailedPasswordAttemptCount],
  3554. [Extent1].[FailedPasswordAttemptWindowStart] AS [FailedPasswordAttemptWindowStart],
  3555. [Extent1].[FailedPasswordAnswerAttemptCount] AS [FailedPasswordAnswerAttemptCount],
  3556. [Extent1].[FailedPasswordAnswerAttemptWindowStart] AS [FailedPasswordAnswerAttemptWindowStart],
  3557. [Extent1].[Comment] AS [Comment]
  3558. FROM [dbo].[aspnet_Membership] AS [Extent1]
  3559. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:57.351:
  3560. 10:50:57.351: -- EntityKeyValue1: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid, IsNullable = false)
  3561. 10:50:57.351: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3562. 10:50:57.352: -- Completed in 0 ms with result: SqlDataReader
  3563. 10:50:57.352:
  3564. 10:50:57.352: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3565. Exception thrown: 'System.NullReferenceException' in Core.dll
  3566. 10:50:57.367: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3567. 10:50:57.368: SELECT TOP (2)
  3568. [Extent1].[ID] AS [ID],
  3569. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  3570. [Extent1].[FirstName] AS [FirstName],
  3571. [Extent1].[LastName] AS [LastName],
  3572. [Extent1].[Active] AS [Active]
  3573. FROM [dbo].[User] AS [Extent1]
  3574. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.368:
  3575. 10:50:57.368: -- p__linq__0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid, IsNullable = false)
  3576. 10:50:57.368: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3577. 10:50:57.369: -- Completed in 0 ms with result: SqlDataReader
  3578. 10:50:57.369:
  3579. 10:50:57.369: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3580. 10:50:57.37: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3581. 10:50:57.37: SELECT
  3582. [Extent1].[UserId] AS [UserId],
  3583. [Extent1].[ApplicationId] AS [ApplicationId],
  3584. [Extent1].[Password] AS [Password],
  3585. [Extent1].[PasswordFormat] AS [PasswordFormat],
  3586. [Extent1].[PasswordSalt] AS [PasswordSalt],
  3587. [Extent1].[MobilePIN] AS [MobilePIN],
  3588. [Extent1].[Email] AS [Email],
  3589. [Extent1].[LoweredEmail] AS [LoweredEmail],
  3590. [Extent1].[PasswordQuestion] AS [PasswordQuestion],
  3591. [Extent1].[PasswordAnswer] AS [PasswordAnswer],
  3592. [Extent1].[IsApproved] AS [IsApproved],
  3593. [Extent1].[IsLockedOut] AS [IsLockedOut],
  3594. [Extent1].[CreateDate] AS [CreateDate],
  3595. [Extent1].[LastLoginDate] AS [LastLoginDate],
  3596. [Extent1].[LastPasswordChangedDate] AS [LastPasswordChangedDate],
  3597. [Extent1].[LastLockoutDate] AS [LastLockoutDate],
  3598. [Extent1].[FailedPasswordAttemptCount] AS [FailedPasswordAttemptCount],
  3599. [Extent1].[FailedPasswordAttemptWindowStart] AS [FailedPasswordAttemptWindowStart],
  3600. [Extent1].[FailedPasswordAnswerAttemptCount] AS [FailedPasswordAnswerAttemptCount],
  3601. [Extent1].[FailedPasswordAnswerAttemptWindowStart] AS [FailedPasswordAnswerAttemptWindowStart],
  3602. [Extent1].[Comment] AS [Comment]
  3603. FROM [dbo].[aspnet_Membership] AS [Extent1]
  3604. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:57.37:
  3605. 10:50:57.37: -- EntityKeyValue1: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid, IsNullable = false)
  3606. 10:50:57.371: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3607. 10:50:57.371: -- Completed in 0 ms with result: SqlDataReader
  3608. 10:50:57.371:
  3609. 10:50:57.372: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3610. Exception thrown: 'System.NullReferenceException' in Core.dll
  3611. 10:50:57.383: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3612. 10:50:57.384: SELECT TOP (1)
  3613. [Extent1].[Id] AS [Id],
  3614. [Extent1].[Name] AS [Name],
  3615. [Extent1].[FirstStage] AS [FirstStage]
  3616. FROM [dbo].[BusinessProcess] AS [Extent1]
  3617. WHERE [Extent1].[Name] = @p__linq__010:50:57.384:
  3618. 10:50:57.384: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  3619. 10:50:57.384: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3620. 10:50:57.385: -- Completed in 0 ms with result: SqlDataReader
  3621. 10:50:57.385:
  3622. 10:50:57.385: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3623. 10:50:57.393: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3624. 10:50:57.393: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3625. 10:50:57.395: UPDATE [dbo].[Document]
  3626. SET [DocumentStatusId] = @0
  3627. WHERE ([Id] = @1)
  3628. 10:50:57.395: -- @0: '1' (Type = Int32)
  3629. 10:50:57.395: -- @1: '2029' (Type = Int32)
  3630. 10:50:57.396: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3631. 10:50:57.396: -- Completed in 0 ms with result: 1
  3632. 10:50:57.396:
  3633. 10:50:57.397: UPDATE [dbo].[Task]
  3634. SET [DocumentId] = @0
  3635. WHERE ([Id] = @1)
  3636. 10:50:57.397: -- @0: '2028' (Type = Int32)
  3637. 10:50:57.397: -- @1: '969' (Type = Int32)
  3638. 10:50:57.397: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3639. 10:50:57.397: -- Completed in 0 ms with result: 1
  3640. 10:50:57.398:
  3641. 10:50:57.398: UPDATE [dbo].[Task]
  3642. SET [DocumentId] = @0
  3643. WHERE ([Id] = @1)
  3644. 10:50:57.398: -- @0: '2019' (Type = Int32)
  3645. 10:50:57.398: -- @1: '970' (Type = Int32)
  3646. 10:50:57.398: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3647. 10:50:57.399: -- Completed in 0 ms with result: 1
  3648. 10:50:57.399:
  3649. 10:50:57.399: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  3650. VALUES (@0, NULL, @1)
  3651. SELECT [Id]
  3652. FROM [dbo].[Workflow]
  3653. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.4:
  3654. 10:50:57.4: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3655. 10:50:57.4: -- @1: '1' (Type = Int32)
  3656. 10:50:57.4: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3657. 10:50:57.401: -- Completed in 0 ms with result: SqlDataReader
  3658. 10:50:57.401:
  3659. 10:50:57.401: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3660. 10:50:57.402: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3661. 10:50:57.402: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3662. 10:50:57.403: SELECT TOP (1)
  3663. [Extent1].[Id] AS [Id],
  3664. [Extent1].[Name] AS [Name],
  3665. [Extent1].[ActionTypeId] AS [ActionTypeId],
  3666. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  3667. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  3668. FROM [dbo].[Stage] AS [Extent1]
  3669. WHERE [Extent1].[Id] = @p__linq__010:50:57.403:
  3670. 10:50:57.403: -- p__linq__0: '1' (Type = Int32)
  3671. 10:50:57.404: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3672. 10:50:57.404: -- Completed in 0 ms with result: SqlDataReader
  3673. 10:50:57.404:
  3674. 10:50:57.404: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3675. 10:50:57.405: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3676. 10:50:57.405: SELECT TOP (1)
  3677. [Extent1].[ID] AS [ID],
  3678. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  3679. [Extent1].[FirstName] AS [FirstName],
  3680. [Extent1].[LastName] AS [LastName],
  3681. [Extent1].[Active] AS [Active]
  3682. FROM [dbo].[User] AS [Extent1]
  3683. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  3684. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:57.405:
  3685. 10:50:57.406: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  3686. 10:50:57.406: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3687. 10:50:57.406: -- Completed in 0 ms with result: SqlDataReader
  3688. 10:50:57.406:
  3689. 10:50:57.407: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3690. 10:50:57.407: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3691. 10:50:57.408: SELECT TOP (2)
  3692. [Extent1].[Id] AS [Id],
  3693. [Extent1].[Name] AS [Name]
  3694. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3695. WHERE 'New' = [Extent1].[Name]10:50:57.408:
  3696. 10:50:57.408: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3697. 10:50:57.408: -- Completed in 0 ms with result: SqlDataReader
  3698. 10:50:57.409:
  3699. 10:50:57.409: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3700. 10:50:57.418: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3701. 10:50:57.419: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3702. 10:50:57.421: UPDATE [dbo].[Document]
  3703. SET [IsCurrentVersion] = @0
  3704. WHERE ([Id] = @1)
  3705. 10:50:57.421: -- @0: 'False' (Type = Boolean)
  3706. 10:50:57.422: -- @1: '2020' (Type = Int32)
  3707. 10:50:57.422: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3708. 10:50:57.422: -- Completed in 0 ms with result: 1
  3709. 10:50:57.422:
  3710. 10:50:57.423: UPDATE [dbo].[Task]
  3711. SET [DocumentId] = @0
  3712. WHERE ([Id] = @1)
  3713. 10:50:57.423: -- @0: '2028' (Type = Int32)
  3714. 10:50:57.423: -- @1: '969' (Type = Int32)
  3715. 10:50:57.423: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3716. 10:50:57.424: -- Completed in 0 ms with result: 1
  3717. 10:50:57.424:
  3718. 10:50:57.424: UPDATE [dbo].[Task]
  3719. SET [DocumentId] = @0
  3720. WHERE ([Id] = @1)
  3721. 10:50:57.424: -- @0: '2019' (Type = Int32)
  3722. 10:50:57.425: -- @1: '970' (Type = Int32)
  3723. 10:50:57.425: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3724. 10:50:57.425: -- Completed in 0 ms with result: 1
  3725. 10:50:57.426:
  3726. 10:50:57.426: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  3727. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  3728. SELECT [Id]
  3729. FROM [dbo].[Document]
  3730. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.426:
  3731. 10:50:57.426: -- @0: '10:50 AM_2' (Type = String, Size = 256)
  3732. 10:50:57.426: -- @1: '2.0' (Type = String, Size = 64)
  3733. 10:50:57.426: -- @2: 'test.bin' (Type = String, Size = 256)
  3734. 10:50:57.426: -- @3: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3735. 10:50:57.427: -- @4: 'True' (Type = Boolean)
  3736. 10:50:57.427: -- @5: '2020' (Type = Int32)
  3737. 10:50:57.427: -- @6: '6' (Type = Int32)
  3738. 10:50:57.427: -- @7: '1' (Type = Int32)
  3739. 10:50:57.427: -- @8: '2' (Type = Int32)
  3740. 10:50:57.428: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  3741. 10:50:57.428: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  3742. 10:50:57.428: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3743. 10:50:57.429: -- Completed in 0 ms with result: SqlDataReader
  3744. 10:50:57.429:
  3745. 10:50:57.429: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  3746. VALUES (@0, NULL, @1)
  3747. SELECT [Id]
  3748. FROM [dbo].[ProcessQueue]
  3749. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.429:
  3750. 10:50:57.429: -- @0: '2030' (Type = Int32)
  3751. 10:50:57.43: -- @1: '2' (Type = Int32)
  3752. 10:50:57.43: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3753. 10:50:57.43: -- Completed in 0 ms with result: SqlDataReader
  3754. 10:50:57.43:
  3755. 10:50:57.431: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  3756. VALUES (@0, NULL, @1)
  3757. SELECT [Id]
  3758. FROM [dbo].[ProcessQueue]
  3759. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.431:
  3760. 10:50:57.431: -- @0: '2030' (Type = Int32)
  3761. 10:50:57.431: -- @1: '3' (Type = Int32)
  3762. 10:50:57.432: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3763. 10:50:57.432: -- Completed in 0 ms with result: SqlDataReader
  3764. 10:50:57.432:
  3765. 10:50:57.432: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  3766. VALUES (@0, NULL, @1)
  3767. SELECT [Id]
  3768. FROM [dbo].[ProcessQueue]
  3769. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.433:
  3770. 10:50:57.433: -- @0: '2030' (Type = Int32)
  3771. 10:50:57.433: -- @1: '1' (Type = Int32)
  3772. 10:50:57.433: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3773. 10:50:57.433: -- Completed in 0 ms with result: SqlDataReader
  3774. 10:50:57.434:
  3775. 10:50:57.434: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  3776. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  3777. SELECT [Id]
  3778. FROM [dbo].[ProcessQueueItem]
  3779. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.434:
  3780. 10:50:57.434: -- @0: '1' (Type = Int32)
  3781. 10:50:57.435: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  3782. 10:50:57.435: -- @2: '6094' (Type = Int32)
  3783. 10:50:57.435: -- @3: '1' (Type = Int32)
  3784. 10:50:57.435: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3785. 10:50:57.436: -- Completed in 0 ms with result: SqlDataReader
  3786. 10:50:57.436:
  3787. 10:50:57.436: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  3788. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  3789. SELECT [Id]
  3790. FROM [dbo].[ProcessQueueItem]
  3791. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.436:
  3792. 10:50:57.437: -- @0: '1' (Type = Int32)
  3793. 10:50:57.437: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  3794. 10:50:57.437: -- @2: '6095' (Type = Int32)
  3795. 10:50:57.437: -- @3: '1' (Type = Int32)
  3796. 10:50:57.437: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3797. 10:50:57.438: -- Completed in 0 ms with result: SqlDataReader
  3798. 10:50:57.438:
  3799. 10:50:57.438: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  3800. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  3801. SELECT [Id]
  3802. FROM [dbo].[ProcessQueueItem]
  3803. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.439:
  3804. 10:50:57.439: -- @0: '1' (Type = Int32)
  3805. 10:50:57.439: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  3806. 10:50:57.439: -- @2: '6096' (Type = Int32)
  3807. 10:50:57.44: -- @3: '1' (Type = Int32)
  3808. 10:50:57.44: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3809. 10:50:57.44: -- Completed in 0 ms with result: SqlDataReader
  3810. 10:50:57.44:
  3811. 10:50:57.441: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3812. 10:50:57.441: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3813. 10:50:57.442: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3814. 10:50:57.443: SELECT
  3815. [Extent1].[ID] AS [ID],
  3816. [Extent1].[Name] AS [Name],
  3817. [Extent1].[SourceSystemId] AS [SourceSystemId],
  3818. [Extent1].[ID_ActionType] AS [ID_ActionType],
  3819. [Extent1].[ID_Group] AS [ID_Group]
  3820. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.443:
  3821. 10:50:57.443: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3822. 10:50:57.443: -- Completed in 0 ms with result: SqlDataReader
  3823. 10:50:57.444:
  3824. 10:50:57.444: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3825. 10:50:57.444: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3826. 10:50:57.445: SELECT TOP (2)
  3827. [Extent1].[Id] AS [Id],
  3828. [Extent1].[Name] AS [Name]
  3829. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3830. WHERE 'New' = [Extent1].[Name]10:50:57.445:
  3831. 10:50:57.445: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3832. 10:50:57.445: -- Completed in 0 ms with result: SqlDataReader
  3833. 10:50:57.446:
  3834. 10:50:57.446: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3835. 10:50:57.446: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3836. 10:50:57.446: SELECT
  3837. [Extent1].[ID] AS [ID],
  3838. [Extent1].[Name] AS [Name],
  3839. [Extent1].[SourceSystemId] AS [SourceSystemId],
  3840. [Extent1].[ID_ActionType] AS [ID_ActionType],
  3841. [Extent1].[ID_Group] AS [ID_Group]
  3842. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.447:
  3843. 10:50:57.447: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3844. 10:50:57.447: -- Completed in 0 ms with result: SqlDataReader
  3845. 10:50:57.447:
  3846. 10:50:57.448: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3847. 10:50:57.448: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3848. 10:50:57.449: SELECT TOP (2)
  3849. [Extent1].[Id] AS [Id],
  3850. [Extent1].[Name] AS [Name]
  3851. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3852. WHERE 'New' = [Extent1].[Name]10:50:57.449:
  3853. 10:50:57.449: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3854. 10:50:57.449: -- Completed in 0 ms with result: SqlDataReader
  3855. 10:50:57.45:
  3856. 10:50:57.45: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3857. 10:50:57.45: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3858. 10:50:57.45: SELECT TOP (2)
  3859. [Extent1].[Id] AS [Id],
  3860. [Extent1].[Name] AS [Name]
  3861. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3862. WHERE 'Sent' = [Extent1].[Name]10:50:57.451:
  3863. 10:50:57.451: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3864. 10:50:57.451: -- Completed in 0 ms with result: SqlDataReader
  3865. 10:50:57.451:
  3866. 10:50:57.452: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3867. 10:50:57.452: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3868. 10:50:57.452: SELECT TOP (2)
  3869. [Extent1].[Id] AS [Id],
  3870. [Extent1].[Name] AS [Name]
  3871. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  3872. WHERE 'New' = [Extent1].[Name]10:50:57.453:
  3873. 10:50:57.453: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3874. 10:50:57.453: -- Completed in 0 ms with result: SqlDataReader
  3875. 10:50:57.453:
  3876. 10:50:57.454: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3877. 10:50:57.458: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3878. 10:50:57.458: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3879. 10:50:57.46: UPDATE [dbo].[ProcessQueueItem]
  3880. SET [StatusId] = @0, [Sent] = @1
  3881. WHERE ([Id] = @2)
  3882. 10:50:57.46: -- @0: '2' (Type = Int32)
  3883. 10:50:57.46: -- @1: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3884. 10:50:57.461: -- @2: '6044' (Type = Int32)
  3885. 10:50:57.461: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3886. 10:50:57.461: -- Completed in 0 ms with result: 1
  3887. 10:50:57.462:
  3888. 10:50:57.462: UPDATE [dbo].[Task]
  3889. SET [DocumentId] = @0
  3890. WHERE ([Id] = @1)
  3891. 10:50:57.462: -- @0: '2018' (Type = Int32)
  3892. 10:50:57.462: -- @1: '969' (Type = Int32)
  3893. 10:50:57.462: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3894. 10:50:57.463: -- Completed in 0 ms with result: 1
  3895. 10:50:57.463:
  3896. 10:50:57.463: UPDATE [dbo].[Task]
  3897. SET [DocumentId] = @0
  3898. WHERE ([Id] = @1)
  3899. 10:50:57.463: -- @0: '2029' (Type = Int32)
  3900. 10:50:57.464: -- @1: '970' (Type = Int32)
  3901. 10:50:57.464: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3902. 10:50:57.464: -- Completed in 0 ms with result: 1
  3903. 10:50:57.464:
  3904. 10:50:57.465: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3905. 10:50:57.465: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3906. 10:50:57.466: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3907. 10:50:57.466: SELECT TOP (2)
  3908. [Extent1].[Id] AS [Id],
  3909. [Extent1].[Name] AS [Name]
  3910. FROM [dbo].[TaskStatus] AS [Extent1]
  3911. WHERE N'New' = [Extent1].[Name]10:50:57.466:
  3912. 10:50:57.466: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3913. 10:50:57.467: -- Completed in 0 ms with result: SqlDataReader
  3914. 10:50:57.467:
  3915. 10:50:57.467: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3916. 10:50:57.475: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3917. 10:50:57.475: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3918. 10:50:57.477: UPDATE [dbo].[Task]
  3919. SET [DocumentId] = @0
  3920. WHERE ([Id] = @1)
  3921. 10:50:57.477: -- @0: '2018' (Type = Int32)
  3922. 10:50:57.477: -- @1: '969' (Type = Int32)
  3923. 10:50:57.477: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3924. 10:50:57.478: -- Completed in 0 ms with result: 1
  3925. 10:50:57.478:
  3926. 10:50:57.478: UPDATE [dbo].[Task]
  3927. SET [DocumentId] = @0
  3928. WHERE ([Id] = @1)
  3929. 10:50:57.478: -- @0: '2029' (Type = Int32)
  3930. 10:50:57.478: -- @1: '970' (Type = Int32)
  3931. 10:50:57.479: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3932. 10:50:57.479: -- Completed in 0 ms with result: 1
  3933. 10:50:57.479:
  3934. 10:50:57.48: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  3935. VALUES (NULL, @0)
  3936. SELECT [Id]
  3937. FROM [dbo].[TaskPerformer]
  3938. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.48:
  3939. 10:50:57.48: -- @0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  3940. 10:50:57.48: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3941. 10:50:57.481: -- Completed in 0 ms with result: SqlDataReader
  3942. 10:50:57.481:
  3943. 10:50:57.481: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3944. 10:50:57.482: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3945. 10:50:57.49: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3946. 10:50:57.49: Started transaction at 7/29/2016 10:50:57 AM +05:00
  3947. 10:50:57.492: UPDATE [dbo].[Task]
  3948. SET [DocumentId] = @0
  3949. WHERE ([Id] = @1)
  3950. 10:50:57.492: -- @0: '2018' (Type = Int32)
  3951. 10:50:57.492: -- @1: '969' (Type = Int32)
  3952. 10:50:57.494: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3953. 10:50:57.494: -- Completed in 0 ms with result: 1
  3954. 10:50:57.494:
  3955. 10:50:57.495: UPDATE [dbo].[Task]
  3956. SET [DocumentId] = @0
  3957. WHERE ([Id] = @1)
  3958. 10:50:57.495: -- @0: '2029' (Type = Int32)
  3959. 10:50:57.496: -- @1: '970' (Type = Int32)
  3960. 10:50:57.496: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3961. 10:50:57.496: -- Completed in 0 ms with result: 1
  3962. 10:50:57.497:
  3963. 10:50:57.497: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  3964. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  3965. SELECT [Id]
  3966. FROM [dbo].[Task]
  3967. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.497:
  3968. 10:50:57.497: -- @0: '2020' (Type = Int32)
  3969. 10:50:57.498: -- @1: '1' (Type = Int32)
  3970. 10:50:57.498: -- @2: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  3971. 10:50:57.498: -- @3: '976' (Type = Int32)
  3972. 10:50:57.498: -- @4: '1' (Type = Int32)
  3973. 10:50:57.499: -- @5: '971' (Type = Int32)
  3974. 10:50:57.499: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3975. 10:50:57.499: -- Completed in 0 ms with result: SqlDataReader
  3976. 10:50:57.5:
  3977. 10:50:57.5: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  3978. 10:50:57.5: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3979. 10:50:57.501: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3980. 10:50:57.502: SELECT TOP (1)
  3981. [Extent1].[RoleId] AS [RoleId],
  3982. [Extent1].[ApplicationId] AS [ApplicationId],
  3983. [Extent1].[RoleName] AS [RoleName],
  3984. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  3985. [Extent1].[Description] AS [Description]
  3986. FROM [dbo].[aspnet_Roles] AS [Extent1]
  3987. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.502:
  3988. 10:50:57.502: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  3989. 10:50:57.502: -- Executing at 7/29/2016 10:50:57 AM +05:00
  3990. 10:50:57.503: -- Completed in 0 ms with result: SqlDataReader
  3991. 10:50:57.503:
  3992. 10:50:57.503: Closed connection at 7/29/2016 10:50:57 AM +05:00
  3993. 10:50:57.503: Opened connection at 7/29/2016 10:50:57 AM +05:00
  3994. 10:50:57.504: SELECT TOP (2)
  3995. [Extent1].[ID] AS [ID],
  3996. [Extent1].[Name] AS [Name]
  3997. FROM [dbo].[AuditAction] AS [Extent1]
  3998. WHERE [Extent1].[ID] = @p__linq__010:50:57.504:
  3999. 10:50:57.504: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  4000. 10:50:57.504: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4001. 10:50:57.505: -- Completed in 0 ms with result: SqlDataReader
  4002. 10:50:57.505:
  4003. 10:50:57.505: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4004. 10:50:57.514: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4005. 10:50:57.514: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4006. 10:50:57.516: UPDATE [dbo].[Task]
  4007. SET [DocumentId] = @0
  4008. WHERE ([Id] = @1)
  4009. 10:50:57.516: -- @0: '2018' (Type = Int32)
  4010. 10:50:57.516: -- @1: '969' (Type = Int32)
  4011. 10:50:57.517: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4012. 10:50:57.517: -- Completed in 0 ms with result: 1
  4013. 10:50:57.517:
  4014. 10:50:57.518: UPDATE [dbo].[Task]
  4015. SET [DocumentId] = @0
  4016. WHERE ([Id] = @1)
  4017. 10:50:57.518: -- @0: '2029' (Type = Int32)
  4018. 10:50:57.518: -- @1: '970' (Type = Int32)
  4019. 10:50:57.518: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4020. 10:50:57.519: -- Completed in 0 ms with result: 1
  4021. 10:50:57.519:
  4022. 10:50:57.519: UPDATE [dbo].[Task]
  4023. SET [DocumentId] = @0
  4024. WHERE ([Id] = @1)
  4025. 10:50:57.519: -- @0: '2020' (Type = Int32)
  4026. 10:50:57.52: -- @1: '971' (Type = Int32)
  4027. 10:50:57.52: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4028. 10:50:57.52: -- Completed in 0 ms with result: 1
  4029. 10:50:57.52:
  4030. 10:50:57.521: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  4031. VALUES (@0, @1, @2, @3, @4)
  4032. SELECT [ID]
  4033. FROM [dbo].[AuditTrail]
  4034. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.521:
  4035. 10:50:57.521: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4036. 10:50:57.521: -- @1: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  4037. 10:50:57.521: -- @2: '2' (Type = Int32)
  4038. 10:50:57.522: -- @3: '2020' (Type = Int32)
  4039. 10:50:57.522: -- @4: '971' (Type = Int32)
  4040. 10:50:57.522: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4041. 10:50:57.523: -- Completed in 0 ms with result: SqlDataReader
  4042. 10:50:57.523:
  4043. 10:50:57.523: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4044. 10:50:57.524: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4045. 10:50:57.525: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4046. 10:50:57.525: SELECT TOP (2)
  4047. [Extent1].[ID] AS [ID],
  4048. [Extent1].[Name] AS [Name]
  4049. FROM [dbo].[AuditAction] AS [Extent1]
  4050. WHERE [Extent1].[ID] = @p__linq__010:50:57.525:
  4051. 10:50:57.525: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  4052. 10:50:57.526: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4053. 10:50:57.526: -- Completed in 0 ms with result: SqlDataReader
  4054. 10:50:57.526:
  4055. 10:50:57.527: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4056. 10:50:57.535: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4057. 10:50:57.536: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4058. 10:50:57.537: UPDATE [dbo].[Task]
  4059. SET [DocumentId] = @0
  4060. WHERE ([Id] = @1)
  4061. 10:50:57.538: -- @0: '2018' (Type = Int32)
  4062. 10:50:57.538: -- @1: '969' (Type = Int32)
  4063. 10:50:57.538: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4064. 10:50:57.539: -- Completed in 0 ms with result: 1
  4065. 10:50:57.539:
  4066. 10:50:57.539: UPDATE [dbo].[Task]
  4067. SET [DocumentId] = @0
  4068. WHERE ([Id] = @1)
  4069. 10:50:57.539: -- @0: '2029' (Type = Int32)
  4070. 10:50:57.54: -- @1: '970' (Type = Int32)
  4071. 10:50:57.54: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4072. 10:50:57.54: -- Completed in 0 ms with result: 1
  4073. 10:50:57.54:
  4074. 10:50:57.541: UPDATE [dbo].[Task]
  4075. SET [DocumentId] = @0
  4076. WHERE ([Id] = @1)
  4077. 10:50:57.541: -- @0: '2020' (Type = Int32)
  4078. 10:50:57.541: -- @1: '971' (Type = Int32)
  4079. 10:50:57.541: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4080. 10:50:57.542: -- Completed in 0 ms with result: 1
  4081. 10:50:57.542:
  4082. 10:50:57.542: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  4083. VALUES (@0, @1, @2, @3, @4)
  4084. SELECT [ID]
  4085. FROM [dbo].[AuditTrail]
  4086. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.542:
  4087. 10:50:57.543: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4088. 10:50:57.543: -- @1: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  4089. 10:50:57.543: -- @2: '2' (Type = Int32)
  4090. 10:50:57.543: -- @3: '2020' (Type = Int32)
  4091. 10:50:57.543: -- @4: '971' (Type = Int32)
  4092. 10:50:57.544: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4093. 10:50:57.544: -- Completed in 0 ms with result: SqlDataReader
  4094. 10:50:57.544:
  4095. 10:50:57.545: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4096. 10:50:57.545: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4097. 10:50:57.546: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4098. 10:50:57.547: SELECT TOP (1)
  4099. [Extent1].[RoleId] AS [RoleId],
  4100. [Extent1].[ApplicationId] AS [ApplicationId],
  4101. [Extent1].[RoleName] AS [RoleName],
  4102. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  4103. [Extent1].[Description] AS [Description]
  4104. FROM [dbo].[aspnet_Roles] AS [Extent1]
  4105. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.547:
  4106. 10:50:57.547: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  4107. 10:50:57.547: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4108. 10:50:57.548: -- Completed in 0 ms with result: SqlDataReader
  4109. 10:50:57.548:
  4110. 10:50:57.548: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4111. 10:50:57.549: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4112. 10:50:57.55: SELECT TOP (2)
  4113. [Extent1].[ID] AS [ID],
  4114. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  4115. [Extent1].[FirstName] AS [FirstName],
  4116. [Extent1].[LastName] AS [LastName],
  4117. [Extent1].[Active] AS [Active]
  4118. FROM [dbo].[User] AS [Extent1]
  4119. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.55:
  4120. 10:50:57.551: -- p__linq__0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid, IsNullable = false)
  4121. 10:50:57.551: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4122. 10:50:57.551: -- Completed in 0 ms with result: SqlDataReader
  4123. 10:50:57.552:
  4124. 10:50:57.552: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4125. Exception thrown: 'System.NullReferenceException' in Core.dll
  4126. 10:50:57.565: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4127. 10:50:57.566: SELECT TOP (2)
  4128. [Extent1].[ID] AS [ID],
  4129. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  4130. [Extent1].[FirstName] AS [FirstName],
  4131. [Extent1].[LastName] AS [LastName],
  4132. [Extent1].[Active] AS [Active]
  4133. FROM [dbo].[User] AS [Extent1]
  4134. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.567:
  4135. 10:50:57.567: -- p__linq__0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid, IsNullable = false)
  4136. 10:50:57.567: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4137. 10:50:57.568: -- Completed in 0 ms with result: SqlDataReader
  4138. 10:50:57.568:
  4139. 10:50:57.569: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4140. Exception thrown: 'System.NullReferenceException' in Core.dll
  4141. 10:50:57.582: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4142. 10:50:57.583: SELECT TOP (1)
  4143. [Extent1].[Id] AS [Id],
  4144. [Extent1].[Name] AS [Name],
  4145. [Extent1].[FirstStage] AS [FirstStage]
  4146. FROM [dbo].[BusinessProcess] AS [Extent1]
  4147. WHERE [Extent1].[Name] = @p__linq__010:50:57.584:
  4148. 10:50:57.584: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  4149. 10:50:57.584: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4150. 10:50:57.585: -- Completed in 0 ms with result: SqlDataReader
  4151. 10:50:57.585:
  4152. 10:50:57.585: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4153. 10:50:57.594: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4154. 10:50:57.594: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4155. 10:50:57.596: UPDATE [dbo].[Document]
  4156. SET [DocumentStatusId] = @0
  4157. WHERE ([Id] = @1)
  4158. 10:50:57.596: -- @0: '1' (Type = Int32)
  4159. 10:50:57.597: -- @1: '2030' (Type = Int32)
  4160. 10:50:57.597: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4161. 10:50:57.597: -- Completed in 0 ms with result: 1
  4162. 10:50:57.597:
  4163. 10:50:57.598: UPDATE [dbo].[Task]
  4164. SET [DocumentId] = @0
  4165. WHERE ([Id] = @1)
  4166. 10:50:57.598: -- @0: '2018' (Type = Int32)
  4167. 10:50:57.598: -- @1: '969' (Type = Int32)
  4168. 10:50:57.598: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4169. 10:50:57.599: -- Completed in 0 ms with result: 1
  4170. 10:50:57.599:
  4171. 10:50:57.599: UPDATE [dbo].[Task]
  4172. SET [DocumentId] = @0
  4173. WHERE ([Id] = @1)
  4174. 10:50:57.599: -- @0: '2029' (Type = Int32)
  4175. 10:50:57.6: -- @1: '970' (Type = Int32)
  4176. 10:50:57.6: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4177. 10:50:57.6: -- Completed in 0 ms with result: 1
  4178. 10:50:57.6:
  4179. 10:50:57.601: UPDATE [dbo].[Task]
  4180. SET [DocumentId] = @0
  4181. WHERE ([Id] = @1)
  4182. 10:50:57.601: -- @0: '2020' (Type = Int32)
  4183. 10:50:57.601: -- @1: '971' (Type = Int32)
  4184. 10:50:57.601: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4185. 10:50:57.601: -- Completed in 0 ms with result: 1
  4186. 10:50:57.602:
  4187. 10:50:57.602: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  4188. VALUES (@0, NULL, @1)
  4189. SELECT [Id]
  4190. FROM [dbo].[Workflow]
  4191. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.602:
  4192. 10:50:57.602: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4193. 10:50:57.603: -- @1: '1' (Type = Int32)
  4194. 10:50:57.603: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4195. 10:50:57.603: -- Completed in 0 ms with result: SqlDataReader
  4196. 10:50:57.603:
  4197. 10:50:57.604: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4198. 10:50:57.604: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4199. 10:50:57.605: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4200. 10:50:57.606: SELECT TOP (1)
  4201. [Extent1].[Id] AS [Id],
  4202. [Extent1].[Name] AS [Name],
  4203. [Extent1].[ActionTypeId] AS [ActionTypeId],
  4204. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  4205. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  4206. FROM [dbo].[Stage] AS [Extent1]
  4207. WHERE [Extent1].[Id] = @p__linq__010:50:57.606:
  4208. 10:50:57.607: -- p__linq__0: '1' (Type = Int32)
  4209. 10:50:57.607: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4210. 10:50:57.607: -- Completed in 0 ms with result: SqlDataReader
  4211. 10:50:57.608:
  4212. 10:50:57.608: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4213. 10:50:57.608: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4214. 10:50:57.609: SELECT TOP (1)
  4215. [Extent1].[ID] AS [ID],
  4216. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  4217. [Extent1].[FirstName] AS [FirstName],
  4218. [Extent1].[LastName] AS [LastName],
  4219. [Extent1].[Active] AS [Active]
  4220. FROM [dbo].[User] AS [Extent1]
  4221. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  4222. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:57.609:
  4223. 10:50:57.609: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  4224. 10:50:57.609: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4225. 10:50:57.61: -- Completed in 0 ms with result: SqlDataReader
  4226. 10:50:57.61:
  4227. 10:50:57.61: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4228. 10:50:57.611: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4229. 10:50:57.611: SELECT TOP (2)
  4230. [Extent1].[Id] AS [Id],
  4231. [Extent1].[Name] AS [Name]
  4232. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4233. WHERE 'New' = [Extent1].[Name]10:50:57.611:
  4234. 10:50:57.611: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4235. 10:50:57.612: -- Completed in 0 ms with result: SqlDataReader
  4236. 10:50:57.612:
  4237. 10:50:57.612: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4238. 10:50:57.622: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4239. 10:50:57.622: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4240. 10:50:57.625: UPDATE [dbo].[Document]
  4241. SET [IsCurrentVersion] = @0
  4242. WHERE ([Id] = @1)
  4243. 10:50:57.625: -- @0: 'False' (Type = Boolean)
  4244. 10:50:57.626: -- @1: '2021' (Type = Int32)
  4245. 10:50:57.626: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4246. 10:50:57.626: -- Completed in 0 ms with result: 1
  4247. 10:50:57.627:
  4248. 10:50:57.627: UPDATE [dbo].[Task]
  4249. SET [DocumentId] = @0
  4250. WHERE ([Id] = @1)
  4251. 10:50:57.627: -- @0: '2018' (Type = Int32)
  4252. 10:50:57.627: -- @1: '969' (Type = Int32)
  4253. 10:50:57.627: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4254. 10:50:57.628: -- Completed in 0 ms with result: 1
  4255. 10:50:57.628:
  4256. 10:50:57.628: UPDATE [dbo].[Task]
  4257. SET [DocumentId] = @0
  4258. WHERE ([Id] = @1)
  4259. 10:50:57.628: -- @0: '2029' (Type = Int32)
  4260. 10:50:57.629: -- @1: '970' (Type = Int32)
  4261. 10:50:57.629: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4262. 10:50:57.629: -- Completed in 0 ms with result: 1
  4263. 10:50:57.629:
  4264. 10:50:57.63: UPDATE [dbo].[Task]
  4265. SET [DocumentId] = @0
  4266. WHERE ([Id] = @1)
  4267. 10:50:57.63: -- @0: '2020' (Type = Int32)
  4268. 10:50:57.63: -- @1: '971' (Type = Int32)
  4269. 10:50:57.63: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4270. 10:50:57.63: -- Completed in 0 ms with result: 1
  4271. 10:50:57.631:
  4272. 10:50:57.631: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  4273. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  4274. SELECT [Id]
  4275. FROM [dbo].[Document]
  4276. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.631:
  4277. 10:50:57.631: -- @0: '10:50 AM_3' (Type = String, Size = 256)
  4278. 10:50:57.632: -- @1: '2.0' (Type = String, Size = 64)
  4279. 10:50:57.632: -- @2: 'test.bin' (Type = String, Size = 256)
  4280. 10:50:57.632: -- @3: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4281. 10:50:57.632: -- @4: 'True' (Type = Boolean)
  4282. 10:50:57.632: -- @5: '2021' (Type = Int32)
  4283. 10:50:57.633: -- @6: '6' (Type = Int32)
  4284. 10:50:57.633: -- @7: '1' (Type = Int32)
  4285. 10:50:57.633: -- @8: '3' (Type = Int32)
  4286. 10:50:57.633: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  4287. 10:50:57.633: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  4288. 10:50:57.634: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4289. 10:50:57.634: -- Completed in 0 ms with result: SqlDataReader
  4290. 10:50:57.634:
  4291. 10:50:57.635: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  4292. VALUES (@0, NULL, @1)
  4293. SELECT [Id]
  4294. FROM [dbo].[ProcessQueue]
  4295. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.635:
  4296. 10:50:57.635: -- @0: '2031' (Type = Int32)
  4297. 10:50:57.635: -- @1: '2' (Type = Int32)
  4298. 10:50:57.636: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4299. 10:50:57.636: -- Completed in 0 ms with result: SqlDataReader
  4300. 10:50:57.636:
  4301. 10:50:57.637: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  4302. VALUES (@0, NULL, @1)
  4303. SELECT [Id]
  4304. FROM [dbo].[ProcessQueue]
  4305. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.637:
  4306. 10:50:57.637: -- @0: '2031' (Type = Int32)
  4307. 10:50:57.637: -- @1: '3' (Type = Int32)
  4308. 10:50:57.638: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4309. 10:50:57.638: -- Completed in 0 ms with result: SqlDataReader
  4310. 10:50:57.638:
  4311. 10:50:57.639: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  4312. VALUES (@0, NULL, @1)
  4313. SELECT [Id]
  4314. FROM [dbo].[ProcessQueue]
  4315. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.639:
  4316. 10:50:57.639: -- @0: '2031' (Type = Int32)
  4317. 10:50:57.64: -- @1: '1' (Type = Int32)
  4318. 10:50:57.64: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4319. 10:50:57.64: -- Completed in 0 ms with result: SqlDataReader
  4320. 10:50:57.64:
  4321. 10:50:57.641: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  4322. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  4323. SELECT [Id]
  4324. FROM [dbo].[ProcessQueueItem]
  4325. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.641:
  4326. 10:50:57.641: -- @0: '1' (Type = Int32)
  4327. 10:50:57.641: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  4328. 10:50:57.642: -- @2: '6097' (Type = Int32)
  4329. 10:50:57.642: -- @3: '1' (Type = Int32)
  4330. 10:50:57.642: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4331. 10:50:57.643: -- Completed in 0 ms with result: SqlDataReader
  4332. 10:50:57.643:
  4333. 10:50:57.643: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  4334. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  4335. SELECT [Id]
  4336. FROM [dbo].[ProcessQueueItem]
  4337. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.643:
  4338. 10:50:57.644: -- @0: '1' (Type = Int32)
  4339. 10:50:57.644: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  4340. 10:50:57.644: -- @2: '6098' (Type = Int32)
  4341. 10:50:57.644: -- @3: '1' (Type = Int32)
  4342. 10:50:57.644: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4343. 10:50:57.645: -- Completed in 0 ms with result: SqlDataReader
  4344. 10:50:57.645:
  4345. 10:50:57.646: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  4346. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  4347. SELECT [Id]
  4348. FROM [dbo].[ProcessQueueItem]
  4349. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.646:
  4350. 10:50:57.646: -- @0: '1' (Type = Int32)
  4351. 10:50:57.646: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  4352. 10:50:57.646: -- @2: '6099' (Type = Int32)
  4353. 10:50:57.647: -- @3: '1' (Type = Int32)
  4354. 10:50:57.647: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4355. 10:50:57.647: -- Completed in 0 ms with result: SqlDataReader
  4356. 10:50:57.647:
  4357. 10:50:57.648: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4358. 10:50:57.648: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4359. 10:50:57.65: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4360. 10:50:57.65: SELECT
  4361. [Extent1].[ID] AS [ID],
  4362. [Extent1].[Name] AS [Name],
  4363. [Extent1].[SourceSystemId] AS [SourceSystemId],
  4364. [Extent1].[ID_ActionType] AS [ID_ActionType],
  4365. [Extent1].[ID_Group] AS [ID_Group]
  4366. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.65:
  4367. 10:50:57.65: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4368. 10:50:57.651: -- Completed in 0 ms with result: SqlDataReader
  4369. 10:50:57.651:
  4370. 10:50:57.651: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4371. 10:50:57.652: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4372. 10:50:57.652: SELECT TOP (2)
  4373. [Extent1].[Id] AS [Id],
  4374. [Extent1].[Name] AS [Name]
  4375. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4376. WHERE 'New' = [Extent1].[Name]10:50:57.652:
  4377. 10:50:57.653: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4378. 10:50:57.653: -- Completed in 0 ms with result: SqlDataReader
  4379. 10:50:57.653:
  4380. 10:50:57.653: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4381. 10:50:57.654: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4382. 10:50:57.654: SELECT
  4383. [Extent1].[ID] AS [ID],
  4384. [Extent1].[Name] AS [Name],
  4385. [Extent1].[SourceSystemId] AS [SourceSystemId],
  4386. [Extent1].[ID_ActionType] AS [ID_ActionType],
  4387. [Extent1].[ID_Group] AS [ID_Group]
  4388. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.654:
  4389. 10:50:57.654: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4390. 10:50:57.655: -- Completed in 0 ms with result: SqlDataReader
  4391. 10:50:57.655:
  4392. 10:50:57.655: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4393. 10:50:57.656: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4394. 10:50:57.656: SELECT TOP (2)
  4395. [Extent1].[Id] AS [Id],
  4396. [Extent1].[Name] AS [Name]
  4397. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4398. WHERE 'New' = [Extent1].[Name]10:50:57.657:
  4399. 10:50:57.657: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4400. 10:50:57.657: -- Completed in 0 ms with result: SqlDataReader
  4401. 10:50:57.657:
  4402. 10:50:57.658: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4403. 10:50:57.658: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4404. 10:50:57.658: SELECT TOP (2)
  4405. [Extent1].[Id] AS [Id],
  4406. [Extent1].[Name] AS [Name]
  4407. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4408. WHERE 'Sent' = [Extent1].[Name]10:50:57.658:
  4409. 10:50:57.659: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4410. 10:50:57.659: -- Completed in 0 ms with result: SqlDataReader
  4411. 10:50:57.659:
  4412. 10:50:57.659: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4413. 10:50:57.66: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4414. 10:50:57.66: SELECT TOP (2)
  4415. [Extent1].[Id] AS [Id],
  4416. [Extent1].[Name] AS [Name]
  4417. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4418. WHERE 'New' = [Extent1].[Name]10:50:57.66:
  4419. 10:50:57.661: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4420. 10:50:57.661: -- Completed in 0 ms with result: SqlDataReader
  4421. 10:50:57.661:
  4422. 10:50:57.661: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4423. 10:50:57.666: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4424. 10:50:57.667: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4425. 10:50:57.669: UPDATE [dbo].[ProcessQueueItem]
  4426. SET [StatusId] = @0, [Sent] = @1
  4427. WHERE ([Id] = @2)
  4428. 10:50:57.669: -- @0: '2' (Type = Int32)
  4429. 10:50:57.67: -- @1: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4430. 10:50:57.67: -- @2: '6047' (Type = Int32)
  4431. 10:50:57.67: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4432. 10:50:57.67: -- Completed in 0 ms with result: 1
  4433. 10:50:57.671:
  4434. 10:50:57.671: UPDATE [dbo].[Task]
  4435. SET [DocumentId] = @0
  4436. WHERE ([Id] = @1)
  4437. 10:50:57.671: -- @0: '2028' (Type = Int32)
  4438. 10:50:57.671: -- @1: '969' (Type = Int32)
  4439. 10:50:57.672: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4440. 10:50:57.672: -- Completed in 0 ms with result: 1
  4441. 10:50:57.672:
  4442. 10:50:57.672: UPDATE [dbo].[Task]
  4443. SET [DocumentId] = @0
  4444. WHERE ([Id] = @1)
  4445. 10:50:57.673: -- @0: '2019' (Type = Int32)
  4446. 10:50:57.673: -- @1: '970' (Type = Int32)
  4447. 10:50:57.673: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4448. 10:50:57.673: -- Completed in 0 ms with result: 1
  4449. 10:50:57.674:
  4450. 10:50:57.674: UPDATE [dbo].[Task]
  4451. SET [DocumentId] = @0
  4452. WHERE ([Id] = @1)
  4453. 10:50:57.674: -- @0: '2030' (Type = Int32)
  4454. 10:50:57.674: -- @1: '971' (Type = Int32)
  4455. 10:50:57.674: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4456. 10:50:57.675: -- Completed in 0 ms with result: 1
  4457. 10:50:57.675:
  4458. 10:50:57.675: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4459. 10:50:57.676: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4460. 10:50:57.676: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4461. 10:50:57.677: SELECT TOP (2)
  4462. [Extent1].[Id] AS [Id],
  4463. [Extent1].[Name] AS [Name]
  4464. FROM [dbo].[TaskStatus] AS [Extent1]
  4465. WHERE N'New' = [Extent1].[Name]10:50:57.677:
  4466. 10:50:57.677: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4467. 10:50:57.678: -- Completed in 0 ms with result: SqlDataReader
  4468. 10:50:57.678:
  4469. 10:50:57.678: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4470. 10:50:57.686: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4471. 10:50:57.687: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4472. 10:50:57.688: UPDATE [dbo].[Task]
  4473. SET [DocumentId] = @0
  4474. WHERE ([Id] = @1)
  4475. 10:50:57.689: -- @0: '2028' (Type = Int32)
  4476. 10:50:57.689: -- @1: '969' (Type = Int32)
  4477. 10:50:57.689: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4478. 10:50:57.689: -- Completed in 0 ms with result: 1
  4479. 10:50:57.69:
  4480. 10:50:57.69: UPDATE [dbo].[Task]
  4481. SET [DocumentId] = @0
  4482. WHERE ([Id] = @1)
  4483. 10:50:57.69: -- @0: '2019' (Type = Int32)
  4484. 10:50:57.69: -- @1: '970' (Type = Int32)
  4485. 10:50:57.691: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4486. 10:50:57.691: -- Completed in 0 ms with result: 1
  4487. 10:50:57.691:
  4488. 10:50:57.691: UPDATE [dbo].[Task]
  4489. SET [DocumentId] = @0
  4490. WHERE ([Id] = @1)
  4491. 10:50:57.692: -- @0: '2030' (Type = Int32)
  4492. 10:50:57.692: -- @1: '971' (Type = Int32)
  4493. 10:50:57.692: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4494. 10:50:57.692: -- Completed in 0 ms with result: 1
  4495. 10:50:57.693:
  4496. 10:50:57.693: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  4497. VALUES (NULL, @0)
  4498. SELECT [Id]
  4499. FROM [dbo].[TaskPerformer]
  4500. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.693:
  4501. 10:50:57.693: -- @0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  4502. 10:50:57.693: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4503. 10:50:57.694: -- Completed in 0 ms with result: SqlDataReader
  4504. 10:50:57.694:
  4505. 10:50:57.695: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4506. 10:50:57.695: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4507. 10:50:57.703: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4508. 10:50:57.704: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4509. 10:50:57.706: UPDATE [dbo].[Task]
  4510. SET [DocumentId] = @0
  4511. WHERE ([Id] = @1)
  4512. 10:50:57.706: -- @0: '2028' (Type = Int32)
  4513. 10:50:57.706: -- @1: '969' (Type = Int32)
  4514. 10:50:57.706: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4515. 10:50:57.707: -- Completed in 0 ms with result: 1
  4516. 10:50:57.707:
  4517. 10:50:57.707: UPDATE [dbo].[Task]
  4518. SET [DocumentId] = @0
  4519. WHERE ([Id] = @1)
  4520. 10:50:57.707: -- @0: '2019' (Type = Int32)
  4521. 10:50:57.707: -- @1: '970' (Type = Int32)
  4522. 10:50:57.708: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4523. 10:50:57.708: -- Completed in 0 ms with result: 1
  4524. 10:50:57.708:
  4525. 10:50:57.708: UPDATE [dbo].[Task]
  4526. SET [DocumentId] = @0
  4527. WHERE ([Id] = @1)
  4528. 10:50:57.709: -- @0: '2030' (Type = Int32)
  4529. 10:50:57.709: -- @1: '971' (Type = Int32)
  4530. 10:50:57.709: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4531. 10:50:57.709: -- Completed in 0 ms with result: 1
  4532. 10:50:57.71:
  4533. 10:50:57.71: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  4534. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  4535. SELECT [Id]
  4536. FROM [dbo].[Task]
  4537. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.71:
  4538. 10:50:57.71: -- @0: '2021' (Type = Int32)
  4539. 10:50:57.71: -- @1: '1' (Type = Int32)
  4540. 10:50:57.711: -- @2: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4541. 10:50:57.711: -- @3: '977' (Type = Int32)
  4542. 10:50:57.711: -- @4: '1' (Type = Int32)
  4543. 10:50:57.711: -- @5: '972' (Type = Int32)
  4544. 10:50:57.711: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4545. 10:50:57.712: -- Completed in 0 ms with result: SqlDataReader
  4546. 10:50:57.712:
  4547. 10:50:57.712: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4548. 10:50:57.713: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4549. 10:50:57.714: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4550. 10:50:57.714: SELECT TOP (1)
  4551. [Extent1].[RoleId] AS [RoleId],
  4552. [Extent1].[ApplicationId] AS [ApplicationId],
  4553. [Extent1].[RoleName] AS [RoleName],
  4554. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  4555. [Extent1].[Description] AS [Description]
  4556. FROM [dbo].[aspnet_Roles] AS [Extent1]
  4557. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.714:
  4558. 10:50:57.715: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  4559. 10:50:57.715: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4560. 10:50:57.715: -- Completed in 0 ms with result: SqlDataReader
  4561. 10:50:57.715:
  4562. 10:50:57.716: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4563. 10:50:57.716: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4564. 10:50:57.716: SELECT TOP (2)
  4565. [Extent1].[ID] AS [ID],
  4566. [Extent1].[Name] AS [Name]
  4567. FROM [dbo].[AuditAction] AS [Extent1]
  4568. WHERE [Extent1].[ID] = @p__linq__010:50:57.716:
  4569. 10:50:57.717: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  4570. 10:50:57.717: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4571. 10:50:57.717: -- Completed in 0 ms with result: SqlDataReader
  4572. 10:50:57.717:
  4573. 10:50:57.718: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4574. 10:50:57.726: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4575. 10:50:57.726: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4576. 10:50:57.728: UPDATE [dbo].[Task]
  4577. SET [DocumentId] = @0
  4578. WHERE ([Id] = @1)
  4579. 10:50:57.728: -- @0: '2028' (Type = Int32)
  4580. 10:50:57.729: -- @1: '969' (Type = Int32)
  4581. 10:50:57.729: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4582. 10:50:57.729: -- Completed in 0 ms with result: 1
  4583. 10:50:57.729:
  4584. 10:50:57.73: UPDATE [dbo].[Task]
  4585. SET [DocumentId] = @0
  4586. WHERE ([Id] = @1)
  4587. 10:50:57.73: -- @0: '2019' (Type = Int32)
  4588. 10:50:57.73: -- @1: '970' (Type = Int32)
  4589. 10:50:57.73: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4590. 10:50:57.73: -- Completed in 0 ms with result: 1
  4591. 10:50:57.731:
  4592. 10:50:57.731: UPDATE [dbo].[Task]
  4593. SET [DocumentId] = @0
  4594. WHERE ([Id] = @1)
  4595. 10:50:57.731: -- @0: '2030' (Type = Int32)
  4596. 10:50:57.731: -- @1: '971' (Type = Int32)
  4597. 10:50:57.732: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4598. 10:50:57.732: -- Completed in 0 ms with result: 1
  4599. 10:50:57.732:
  4600. 10:50:57.732: UPDATE [dbo].[Task]
  4601. SET [DocumentId] = @0
  4602. WHERE ([Id] = @1)
  4603. 10:50:57.733: -- @0: '2021' (Type = Int32)
  4604. 10:50:57.733: -- @1: '972' (Type = Int32)
  4605. 10:50:57.733: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4606. 10:50:57.733: -- Completed in 0 ms with result: 1
  4607. 10:50:57.733:
  4608. 10:50:57.734: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  4609. VALUES (@0, @1, @2, @3, @4)
  4610. SELECT [ID]
  4611. FROM [dbo].[AuditTrail]
  4612. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.734:
  4613. 10:50:57.734: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4614. 10:50:57.734: -- @1: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  4615. 10:50:57.735: -- @2: '2' (Type = Int32)
  4616. 10:50:57.735: -- @3: '2021' (Type = Int32)
  4617. 10:50:57.735: -- @4: '972' (Type = Int32)
  4618. 10:50:57.735: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4619. 10:50:57.736: -- Completed in 0 ms with result: SqlDataReader
  4620. 10:50:57.736:
  4621. 10:50:57.736: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4622. 10:50:57.737: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4623. 10:50:57.738: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4624. 10:50:57.738: SELECT TOP (2)
  4625. [Extent1].[ID] AS [ID],
  4626. [Extent1].[Name] AS [Name]
  4627. FROM [dbo].[AuditAction] AS [Extent1]
  4628. WHERE [Extent1].[ID] = @p__linq__010:50:57.738:
  4629. 10:50:57.739: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  4630. 10:50:57.739: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4631. 10:50:57.739: -- Completed in 0 ms with result: SqlDataReader
  4632. 10:50:57.739:
  4633. 10:50:57.74: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4634. 10:50:57.748: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4635. 10:50:57.748: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4636. 10:50:57.75: UPDATE [dbo].[Task]
  4637. SET [DocumentId] = @0
  4638. WHERE ([Id] = @1)
  4639. 10:50:57.751: -- @0: '2028' (Type = Int32)
  4640. 10:50:57.751: -- @1: '969' (Type = Int32)
  4641. 10:50:57.751: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4642. 10:50:57.751: -- Completed in 0 ms with result: 1
  4643. 10:50:57.752:
  4644. 10:50:57.752: UPDATE [dbo].[Task]
  4645. SET [DocumentId] = @0
  4646. WHERE ([Id] = @1)
  4647. 10:50:57.752: -- @0: '2019' (Type = Int32)
  4648. 10:50:57.752: -- @1: '970' (Type = Int32)
  4649. 10:50:57.752: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4650. 10:50:57.753: -- Completed in 0 ms with result: 1
  4651. 10:50:57.753:
  4652. 10:50:57.753: UPDATE [dbo].[Task]
  4653. SET [DocumentId] = @0
  4654. WHERE ([Id] = @1)
  4655. 10:50:57.753: -- @0: '2030' (Type = Int32)
  4656. 10:50:57.754: -- @1: '971' (Type = Int32)
  4657. 10:50:57.754: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4658. 10:50:57.754: -- Completed in 0 ms with result: 1
  4659. 10:50:57.754:
  4660. 10:50:57.755: UPDATE [dbo].[Task]
  4661. SET [DocumentId] = @0
  4662. WHERE ([Id] = @1)
  4663. 10:50:57.755: -- @0: '2021' (Type = Int32)
  4664. 10:50:57.755: -- @1: '972' (Type = Int32)
  4665. 10:50:57.755: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4666. 10:50:57.755: -- Completed in 0 ms with result: 1
  4667. 10:50:57.756:
  4668. 10:50:57.756: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  4669. VALUES (@0, @1, @2, @3, @4)
  4670. SELECT [ID]
  4671. FROM [dbo].[AuditTrail]
  4672. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.756:
  4673. 10:50:57.756: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4674. 10:50:57.756: -- @1: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  4675. 10:50:57.757: -- @2: '2' (Type = Int32)
  4676. 10:50:57.757: -- @3: '2021' (Type = Int32)
  4677. 10:50:57.757: -- @4: '972' (Type = Int32)
  4678. 10:50:57.757: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4679. 10:50:57.758: -- Completed in 0 ms with result: SqlDataReader
  4680. 10:50:57.758:
  4681. 10:50:57.758: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4682. 10:50:57.759: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4683. 10:50:57.759: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4684. 10:50:57.76: SELECT TOP (1)
  4685. [Extent1].[RoleId] AS [RoleId],
  4686. [Extent1].[ApplicationId] AS [ApplicationId],
  4687. [Extent1].[RoleName] AS [RoleName],
  4688. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  4689. [Extent1].[Description] AS [Description]
  4690. FROM [dbo].[aspnet_Roles] AS [Extent1]
  4691. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.76:
  4692. 10:50:57.76: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  4693. 10:50:57.761: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4694. 10:50:57.761: -- Completed in 0 ms with result: SqlDataReader
  4695. 10:50:57.761:
  4696. 10:50:57.761: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4697. 10:50:57.762: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4698. 10:50:57.763: SELECT TOP (2)
  4699. [Extent1].[ID] AS [ID],
  4700. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  4701. [Extent1].[FirstName] AS [FirstName],
  4702. [Extent1].[LastName] AS [LastName],
  4703. [Extent1].[Active] AS [Active]
  4704. FROM [dbo].[User] AS [Extent1]
  4705. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.763:
  4706. 10:50:57.763: -- p__linq__0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid, IsNullable = false)
  4707. 10:50:57.763: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4708. 10:50:57.764: -- Completed in 0 ms with result: SqlDataReader
  4709. 10:50:57.764:
  4710. 10:50:57.764: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4711. Exception thrown: 'System.NullReferenceException' in Core.dll
  4712. 10:50:57.775: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4713. 10:50:57.776: SELECT TOP (2)
  4714. [Extent1].[ID] AS [ID],
  4715. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  4716. [Extent1].[FirstName] AS [FirstName],
  4717. [Extent1].[LastName] AS [LastName],
  4718. [Extent1].[Active] AS [Active]
  4719. FROM [dbo].[User] AS [Extent1]
  4720. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.776:
  4721. 10:50:57.777: -- p__linq__0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid, IsNullable = false)
  4722. 10:50:57.777: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4723. 10:50:57.777: -- Completed in 0 ms with result: SqlDataReader
  4724. 10:50:57.778:
  4725. 10:50:57.778: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4726. Exception thrown: 'System.NullReferenceException' in Core.dll
  4727. 10:50:57.789: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4728. 10:50:57.79: SELECT TOP (1)
  4729. [Extent1].[Id] AS [Id],
  4730. [Extent1].[Name] AS [Name],
  4731. [Extent1].[FirstStage] AS [FirstStage]
  4732. FROM [dbo].[BusinessProcess] AS [Extent1]
  4733. WHERE [Extent1].[Name] = @p__linq__010:50:57.79:
  4734. 10:50:57.79: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  4735. 10:50:57.791: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4736. 10:50:57.791: -- Completed in 0 ms with result: SqlDataReader
  4737. 10:50:57.791:
  4738. 10:50:57.792: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4739. 10:50:57.801: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4740. 10:50:57.805: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4741. 10:50:57.814: UPDATE [dbo].[Document]
  4742. SET [DocumentStatusId] = @0
  4743. WHERE ([Id] = @1)
  4744. 10:50:57.814: -- @0: '1' (Type = Int32)
  4745. 10:50:57.815: -- @1: '2031' (Type = Int32)
  4746. 10:50:57.815: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4747. 10:50:57.816: -- Completed in 0 ms with result: 1
  4748. 10:50:57.816:
  4749. 10:50:57.816: UPDATE [dbo].[Task]
  4750. SET [DocumentId] = @0
  4751. WHERE ([Id] = @1)
  4752. 10:50:57.816: -- @0: '2028' (Type = Int32)
  4753. 10:50:57.817: -- @1: '969' (Type = Int32)
  4754. 10:50:57.817: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4755. 10:50:57.818: -- Completed in 0 ms with result: 1
  4756. 10:50:57.818:
  4757. 10:50:57.818: UPDATE [dbo].[Task]
  4758. SET [DocumentId] = @0
  4759. WHERE ([Id] = @1)
  4760. 10:50:57.819: -- @0: '2019' (Type = Int32)
  4761. 10:50:57.819: -- @1: '970' (Type = Int32)
  4762. 10:50:57.819: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4763. 10:50:57.819: -- Completed in 0 ms with result: 1
  4764. 10:50:57.82:
  4765. 10:50:57.82: UPDATE [dbo].[Task]
  4766. SET [DocumentId] = @0
  4767. WHERE ([Id] = @1)
  4768. 10:50:57.82: -- @0: '2030' (Type = Int32)
  4769. 10:50:57.82: -- @1: '971' (Type = Int32)
  4770. 10:50:57.82: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4771. 10:50:57.821: -- Completed in 0 ms with result: 1
  4772. 10:50:57.821:
  4773. 10:50:57.821: UPDATE [dbo].[Task]
  4774. SET [DocumentId] = @0
  4775. WHERE ([Id] = @1)
  4776. 10:50:57.822: -- @0: '2021' (Type = Int32)
  4777. 10:50:57.822: -- @1: '972' (Type = Int32)
  4778. 10:50:57.822: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4779. 10:50:57.822: -- Completed in 0 ms with result: 1
  4780. 10:50:57.822:
  4781. 10:50:57.823: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  4782. VALUES (@0, NULL, @1)
  4783. SELECT [Id]
  4784. FROM [dbo].[Workflow]
  4785. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.823:
  4786. 10:50:57.823: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4787. 10:50:57.824: -- @1: '1' (Type = Int32)
  4788. 10:50:57.824: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4789. 10:50:57.826: -- Completed in 1 ms with result: SqlDataReader
  4790. 10:50:57.826:
  4791. 10:50:57.827: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4792. 10:50:57.827: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4793. 10:50:57.829: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4794. 10:50:57.83: SELECT TOP (1)
  4795. [Extent1].[Id] AS [Id],
  4796. [Extent1].[Name] AS [Name],
  4797. [Extent1].[ActionTypeId] AS [ActionTypeId],
  4798. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  4799. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  4800. FROM [dbo].[Stage] AS [Extent1]
  4801. WHERE [Extent1].[Id] = @p__linq__010:50:57.83:
  4802. 10:50:57.83: -- p__linq__0: '1' (Type = Int32)
  4803. 10:50:57.83: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4804. 10:50:57.831: -- Completed in 0 ms with result: SqlDataReader
  4805. 10:50:57.831:
  4806. 10:50:57.831: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4807. 10:50:57.832: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4808. 10:50:57.832: SELECT TOP (1)
  4809. [Extent1].[ID] AS [ID],
  4810. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  4811. [Extent1].[FirstName] AS [FirstName],
  4812. [Extent1].[LastName] AS [LastName],
  4813. [Extent1].[Active] AS [Active]
  4814. FROM [dbo].[User] AS [Extent1]
  4815. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  4816. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:57.832:
  4817. 10:50:57.832: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  4818. 10:50:57.833: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4819. 10:50:57.833: -- Completed in 0 ms with result: SqlDataReader
  4820. 10:50:57.833:
  4821. 10:50:57.833: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4822. 10:50:57.834: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4823. 10:50:57.834: SELECT TOP (2)
  4824. [Extent1].[Id] AS [Id],
  4825. [Extent1].[Name] AS [Name]
  4826. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4827. WHERE 'New' = [Extent1].[Name]10:50:57.834:
  4828. 10:50:57.834: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4829. 10:50:57.835: -- Completed in 0 ms with result: SqlDataReader
  4830. 10:50:57.835:
  4831. 10:50:57.835: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4832. 10:50:57.845: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4833. 10:50:57.845: Started transaction at 7/29/2016 10:50:57 AM +05:00
  4834. 10:50:57.848: UPDATE [dbo].[Document]
  4835. SET [IsCurrentVersion] = @0
  4836. WHERE ([Id] = @1)
  4837. 10:50:57.849: -- @0: 'False' (Type = Boolean)
  4838. 10:50:57.849: -- @1: '2022' (Type = Int32)
  4839. 10:50:57.849: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4840. 10:50:57.849: -- Completed in 0 ms with result: 1
  4841. 10:50:57.85:
  4842. 10:50:57.85: UPDATE [dbo].[Task]
  4843. SET [DocumentId] = @0
  4844. WHERE ([Id] = @1)
  4845. 10:50:57.85: -- @0: '2028' (Type = Int32)
  4846. 10:50:57.85: -- @1: '969' (Type = Int32)
  4847. 10:50:57.85: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4848. 10:50:57.851: -- Completed in 0 ms with result: 1
  4849. 10:50:57.851:
  4850. 10:50:57.851: UPDATE [dbo].[Task]
  4851. SET [DocumentId] = @0
  4852. WHERE ([Id] = @1)
  4853. 10:50:57.851: -- @0: '2019' (Type = Int32)
  4854. 10:50:57.852: -- @1: '970' (Type = Int32)
  4855. 10:50:57.852: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4856. 10:50:57.852: -- Completed in 0 ms with result: 1
  4857. 10:50:57.852:
  4858. 10:50:57.853: UPDATE [dbo].[Task]
  4859. SET [DocumentId] = @0
  4860. WHERE ([Id] = @1)
  4861. 10:50:57.853: -- @0: '2030' (Type = Int32)
  4862. 10:50:57.853: -- @1: '971' (Type = Int32)
  4863. 10:50:57.853: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4864. 10:50:57.854: -- Completed in 0 ms with result: 1
  4865. 10:50:57.854:
  4866. 10:50:57.854: UPDATE [dbo].[Task]
  4867. SET [DocumentId] = @0
  4868. WHERE ([Id] = @1)
  4869. 10:50:57.854: -- @0: '2021' (Type = Int32)
  4870. 10:50:57.854: -- @1: '972' (Type = Int32)
  4871. 10:50:57.855: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4872. 10:50:57.855: -- Completed in 0 ms with result: 1
  4873. 10:50:57.855:
  4874. 10:50:57.855: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  4875. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  4876. SELECT [Id]
  4877. FROM [dbo].[Document]
  4878. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.856:
  4879. 10:50:57.856: -- @0: '10:50 AM_4' (Type = String, Size = 256)
  4880. 10:50:57.856: -- @1: '2.0' (Type = String, Size = 64)
  4881. 10:50:57.856: -- @2: 'test.bin' (Type = String, Size = 256)
  4882. 10:50:57.856: -- @3: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  4883. 10:50:57.857: -- @4: 'True' (Type = Boolean)
  4884. 10:50:57.857: -- @5: '2022' (Type = Int32)
  4885. 10:50:57.857: -- @6: '6' (Type = Int32)
  4886. 10:50:57.857: -- @7: '1' (Type = Int32)
  4887. 10:50:57.857: -- @8: '2' (Type = Int32)
  4888. 10:50:57.858: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  4889. 10:50:57.858: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  4890. 10:50:57.858: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4891. 10:50:57.859: -- Completed in 0 ms with result: SqlDataReader
  4892. 10:50:57.859:
  4893. 10:50:57.859: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  4894. VALUES (@0, NULL, @1)
  4895. SELECT [Id]
  4896. FROM [dbo].[ProcessQueue]
  4897. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.859:
  4898. 10:50:57.859: -- @0: '2032' (Type = Int32)
  4899. 10:50:57.86: -- @1: '2' (Type = Int32)
  4900. 10:50:57.86: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4901. 10:50:57.86: -- Completed in 0 ms with result: SqlDataReader
  4902. 10:50:57.86:
  4903. 10:50:57.861: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  4904. VALUES (@0, NULL, @1)
  4905. SELECT [Id]
  4906. FROM [dbo].[ProcessQueue]
  4907. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.861:
  4908. 10:50:57.861: -- @0: '2032' (Type = Int32)
  4909. 10:50:57.861: -- @1: '3' (Type = Int32)
  4910. 10:50:57.862: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4911. 10:50:57.862: -- Completed in 0 ms with result: SqlDataReader
  4912. 10:50:57.862:
  4913. 10:50:57.862: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  4914. VALUES (@0, NULL, @1)
  4915. SELECT [Id]
  4916. FROM [dbo].[ProcessQueue]
  4917. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.863:
  4918. 10:50:57.863: -- @0: '2032' (Type = Int32)
  4919. 10:50:57.863: -- @1: '1' (Type = Int32)
  4920. 10:50:57.863: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4921. 10:50:57.863: -- Completed in 0 ms with result: SqlDataReader
  4922. 10:50:57.864:
  4923. 10:50:57.864: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  4924. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  4925. SELECT [Id]
  4926. FROM [dbo].[ProcessQueueItem]
  4927. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.864:
  4928. 10:50:57.864: -- @0: '1' (Type = Int32)
  4929. 10:50:57.865: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  4930. 10:50:57.865: -- @2: '6100' (Type = Int32)
  4931. 10:50:57.865: -- @3: '1' (Type = Int32)
  4932. 10:50:57.865: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4933. 10:50:57.866: -- Completed in 0 ms with result: SqlDataReader
  4934. 10:50:57.866:
  4935. 10:50:57.866: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  4936. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  4937. SELECT [Id]
  4938. FROM [dbo].[ProcessQueueItem]
  4939. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.866:
  4940. 10:50:57.866: -- @0: '1' (Type = Int32)
  4941. 10:50:57.867: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  4942. 10:50:57.867: -- @2: '6101' (Type = Int32)
  4943. 10:50:57.867: -- @3: '1' (Type = Int32)
  4944. 10:50:57.867: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4945. 10:50:57.868: -- Completed in 0 ms with result: SqlDataReader
  4946. 10:50:57.868:
  4947. 10:50:57.868: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  4948. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  4949. SELECT [Id]
  4950. FROM [dbo].[ProcessQueueItem]
  4951. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.868:
  4952. 10:50:57.868: -- @0: '1' (Type = Int32)
  4953. 10:50:57.869: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  4954. 10:50:57.869: -- @2: '6102' (Type = Int32)
  4955. 10:50:57.869: -- @3: '1' (Type = Int32)
  4956. 10:50:57.869: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4957. 10:50:57.87: -- Completed in 0 ms with result: SqlDataReader
  4958. 10:50:57.87:
  4959. 10:50:57.871: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  4960. 10:50:57.871: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4961. 10:50:57.872: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4962. 10:50:57.872: SELECT
  4963. [Extent1].[ID] AS [ID],
  4964. [Extent1].[Name] AS [Name],
  4965. [Extent1].[SourceSystemId] AS [SourceSystemId],
  4966. [Extent1].[ID_ActionType] AS [ID_ActionType],
  4967. [Extent1].[ID_Group] AS [ID_Group]
  4968. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.873:
  4969. 10:50:57.873: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4970. 10:50:57.873: -- Completed in 0 ms with result: SqlDataReader
  4971. 10:50:57.873:
  4972. 10:50:57.874: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4973. 10:50:57.874: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4974. 10:50:57.874: SELECT TOP (2)
  4975. [Extent1].[Id] AS [Id],
  4976. [Extent1].[Name] AS [Name]
  4977. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  4978. WHERE 'New' = [Extent1].[Name]10:50:57.875:
  4979. 10:50:57.875: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4980. 10:50:57.875: -- Completed in 0 ms with result: SqlDataReader
  4981. 10:50:57.875:
  4982. 10:50:57.876: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4983. 10:50:57.876: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4984. 10:50:57.876: SELECT
  4985. [Extent1].[ID] AS [ID],
  4986. [Extent1].[Name] AS [Name],
  4987. [Extent1].[SourceSystemId] AS [SourceSystemId],
  4988. [Extent1].[ID_ActionType] AS [ID_ActionType],
  4989. [Extent1].[ID_Group] AS [ID_Group]
  4990. FROM [dbo].[AccessRight] AS [Extent1]10:50:57.876:
  4991. 10:50:57.877: -- Executing at 7/29/2016 10:50:57 AM +05:00
  4992. 10:50:57.877: -- Completed in 0 ms with result: SqlDataReader
  4993. 10:50:57.877:
  4994. 10:50:57.877: Closed connection at 7/29/2016 10:50:57 AM +05:00
  4995. 10:50:57.878: Opened connection at 7/29/2016 10:50:57 AM +05:00
  4996. 10:50:57.878: SELECT TOP (2)
  4997. [Extent1].[Id] AS [Id],
  4998. [Extent1].[Name] AS [Name]
  4999. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5000. WHERE 'New' = [Extent1].[Name]10:50:57.879:
  5001. 10:50:57.879: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5002. 10:50:57.879: -- Completed in 0 ms with result: SqlDataReader
  5003. 10:50:57.879:
  5004. 10:50:57.879: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5005. 10:50:57.88: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5006. 10:50:57.88: SELECT TOP (2)
  5007. [Extent1].[Id] AS [Id],
  5008. [Extent1].[Name] AS [Name]
  5009. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5010. WHERE 'Sent' = [Extent1].[Name]10:50:57.88:
  5011. 10:50:57.881: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5012. 10:50:57.881: -- Completed in 0 ms with result: SqlDataReader
  5013. 10:50:57.881:
  5014. 10:50:57.881: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5015. 10:50:57.882: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5016. 10:50:57.882: SELECT TOP (2)
  5017. [Extent1].[Id] AS [Id],
  5018. [Extent1].[Name] AS [Name]
  5019. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5020. WHERE 'New' = [Extent1].[Name]10:50:57.882:
  5021. 10:50:57.882: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5022. 10:50:57.883: -- Completed in 0 ms with result: SqlDataReader
  5023. 10:50:57.883:
  5024. 10:50:57.883: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5025. 10:50:57.888: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5026. 10:50:57.888: Started transaction at 7/29/2016 10:50:57 AM +05:00
  5027. 10:50:57.891: UPDATE [dbo].[ProcessQueueItem]
  5028. SET [StatusId] = @0, [Sent] = @1
  5029. WHERE ([Id] = @2)
  5030. 10:50:57.891: -- @0: '2' (Type = Int32)
  5031. 10:50:57.891: -- @1: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  5032. 10:50:57.891: -- @2: '6050' (Type = Int32)
  5033. 10:50:57.891: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5034. 10:50:57.892: -- Completed in 0 ms with result: 1
  5035. 10:50:57.892:
  5036. 10:50:57.892: UPDATE [dbo].[Task]
  5037. SET [DocumentId] = @0
  5038. WHERE ([Id] = @1)
  5039. 10:50:57.893: -- @0: '2018' (Type = Int32)
  5040. 10:50:57.893: -- @1: '969' (Type = Int32)
  5041. 10:50:57.893: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5042. 10:50:57.893: -- Completed in 0 ms with result: 1
  5043. 10:50:57.893:
  5044. 10:50:57.894: UPDATE [dbo].[Task]
  5045. SET [DocumentId] = @0
  5046. WHERE ([Id] = @1)
  5047. 10:50:57.894: -- @0: '2029' (Type = Int32)
  5048. 10:50:57.894: -- @1: '970' (Type = Int32)
  5049. 10:50:57.894: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5050. 10:50:57.895: -- Completed in 0 ms with result: 1
  5051. 10:50:57.895:
  5052. 10:50:57.895: UPDATE [dbo].[Task]
  5053. SET [DocumentId] = @0
  5054. WHERE ([Id] = @1)
  5055. 10:50:57.895: -- @0: '2020' (Type = Int32)
  5056. 10:50:57.896: -- @1: '971' (Type = Int32)
  5057. 10:50:57.896: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5058. 10:50:57.896: -- Completed in 0 ms with result: 1
  5059. 10:50:57.896:
  5060. 10:50:57.897: UPDATE [dbo].[Task]
  5061. SET [DocumentId] = @0
  5062. WHERE ([Id] = @1)
  5063. 10:50:57.897: -- @0: '2031' (Type = Int32)
  5064. 10:50:57.897: -- @1: '972' (Type = Int32)
  5065. 10:50:57.897: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5066. 10:50:57.898: -- Completed in 0 ms with result: 1
  5067. 10:50:57.898:
  5068. 10:50:57.898: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  5069. 10:50:57.899: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5070. 10:50:57.899: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5071. 10:50:57.9: SELECT TOP (2)
  5072. [Extent1].[Id] AS [Id],
  5073. [Extent1].[Name] AS [Name]
  5074. FROM [dbo].[TaskStatus] AS [Extent1]
  5075. WHERE N'New' = [Extent1].[Name]10:50:57.9:
  5076. 10:50:57.9: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5077. 10:50:57.9: -- Completed in 0 ms with result: SqlDataReader
  5078. 10:50:57.901:
  5079. 10:50:57.901: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5080. 10:50:57.909: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5081. 10:50:57.91: Started transaction at 7/29/2016 10:50:57 AM +05:00
  5082. 10:50:57.912: UPDATE [dbo].[Task]
  5083. SET [DocumentId] = @0
  5084. WHERE ([Id] = @1)
  5085. 10:50:57.912: -- @0: '2018' (Type = Int32)
  5086. 10:50:57.912: -- @1: '969' (Type = Int32)
  5087. 10:50:57.912: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5088. 10:50:57.913: -- Completed in 0 ms with result: 1
  5089. 10:50:57.913:
  5090. 10:50:57.913: UPDATE [dbo].[Task]
  5091. SET [DocumentId] = @0
  5092. WHERE ([Id] = @1)
  5093. 10:50:57.913: -- @0: '2029' (Type = Int32)
  5094. 10:50:57.914: -- @1: '970' (Type = Int32)
  5095. 10:50:57.914: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5096. 10:50:57.914: -- Completed in 0 ms with result: 1
  5097. 10:50:57.914:
  5098. 10:50:57.915: UPDATE [dbo].[Task]
  5099. SET [DocumentId] = @0
  5100. WHERE ([Id] = @1)
  5101. 10:50:57.915: -- @0: '2020' (Type = Int32)
  5102. 10:50:57.915: -- @1: '971' (Type = Int32)
  5103. 10:50:57.915: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5104. 10:50:57.915: -- Completed in 0 ms with result: 1
  5105. 10:50:57.916:
  5106. 10:50:57.916: UPDATE [dbo].[Task]
  5107. SET [DocumentId] = @0
  5108. WHERE ([Id] = @1)
  5109. 10:50:57.916: -- @0: '2031' (Type = Int32)
  5110. 10:50:57.916: -- @1: '972' (Type = Int32)
  5111. 10:50:57.917: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5112. 10:50:57.917: -- Completed in 0 ms with result: 1
  5113. 10:50:57.917:
  5114. 10:50:57.917: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  5115. VALUES (NULL, @0)
  5116. SELECT [Id]
  5117. FROM [dbo].[TaskPerformer]
  5118. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.918:
  5119. 10:50:57.918: -- @0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  5120. 10:50:57.918: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5121. 10:50:57.918: -- Completed in 0 ms with result: SqlDataReader
  5122. 10:50:57.919:
  5123. 10:50:57.919: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  5124. 10:50:57.919: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5125. 10:50:57.928: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5126. 10:50:57.929: Started transaction at 7/29/2016 10:50:57 AM +05:00
  5127. 10:50:57.931: UPDATE [dbo].[Task]
  5128. SET [DocumentId] = @0
  5129. WHERE ([Id] = @1)
  5130. 10:50:57.931: -- @0: '2018' (Type = Int32)
  5131. 10:50:57.931: -- @1: '969' (Type = Int32)
  5132. 10:50:57.931: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5133. 10:50:57.932: -- Completed in 0 ms with result: 1
  5134. 10:50:57.932:
  5135. 10:50:57.932: UPDATE [dbo].[Task]
  5136. SET [DocumentId] = @0
  5137. WHERE ([Id] = @1)
  5138. 10:50:57.932: -- @0: '2029' (Type = Int32)
  5139. 10:50:57.933: -- @1: '970' (Type = Int32)
  5140. 10:50:57.933: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5141. 10:50:57.933: -- Completed in 0 ms with result: 1
  5142. 10:50:57.933:
  5143. 10:50:57.933: UPDATE [dbo].[Task]
  5144. SET [DocumentId] = @0
  5145. WHERE ([Id] = @1)
  5146. 10:50:57.934: -- @0: '2020' (Type = Int32)
  5147. 10:50:57.934: -- @1: '971' (Type = Int32)
  5148. 10:50:57.934: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5149. 10:50:57.934: -- Completed in 0 ms with result: 1
  5150. 10:50:57.935:
  5151. 10:50:57.935: UPDATE [dbo].[Task]
  5152. SET [DocumentId] = @0
  5153. WHERE ([Id] = @1)
  5154. 10:50:57.935: -- @0: '2031' (Type = Int32)
  5155. 10:50:57.935: -- @1: '972' (Type = Int32)
  5156. 10:50:57.935: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5157. 10:50:57.936: -- Completed in 0 ms with result: 1
  5158. 10:50:57.936:
  5159. 10:50:57.936: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  5160. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  5161. SELECT [Id]
  5162. FROM [dbo].[Task]
  5163. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:57.936:
  5164. 10:50:57.937: -- @0: '2022' (Type = Int32)
  5165. 10:50:57.937: -- @1: '1' (Type = Int32)
  5166. 10:50:57.937: -- @2: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  5167. 10:50:57.937: -- @3: '978' (Type = Int32)
  5168. 10:50:57.937: -- @4: '1' (Type = Int32)
  5169. 10:50:57.938: -- @5: '973' (Type = Int32)
  5170. 10:50:57.938: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5171. 10:50:57.938: -- Completed in 0 ms with result: SqlDataReader
  5172. 10:50:57.938:
  5173. 10:50:57.939: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  5174. 10:50:57.939: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5175. 10:50:57.94: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5176. 10:50:57.941: SELECT TOP (1)
  5177. [Extent1].[RoleId] AS [RoleId],
  5178. [Extent1].[ApplicationId] AS [ApplicationId],
  5179. [Extent1].[RoleName] AS [RoleName],
  5180. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  5181. [Extent1].[Description] AS [Description]
  5182. FROM [dbo].[aspnet_Roles] AS [Extent1]
  5183. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.941:
  5184. 10:50:57.941: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  5185. 10:50:57.941: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5186. 10:50:57.942: -- Completed in 0 ms with result: SqlDataReader
  5187. 10:50:57.942:
  5188. 10:50:57.942: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5189. 10:50:57.942: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5190. 10:50:57.943: SELECT TOP (2)
  5191. [Extent1].[ID] AS [ID],
  5192. [Extent1].[Name] AS [Name]
  5193. FROM [dbo].[AuditAction] AS [Extent1]
  5194. WHERE [Extent1].[ID] = @p__linq__010:50:57.943:
  5195. 10:50:57.943: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  5196. 10:50:57.943: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5197. 10:50:57.944: -- Completed in 0 ms with result: SqlDataReader
  5198. 10:50:57.944:
  5199. 10:50:57.944: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5200. 10:50:57.953: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5201. 10:50:57.954: Started transaction at 7/29/2016 10:50:57 AM +05:00
  5202. 10:50:57.956: UPDATE [dbo].[Task]
  5203. SET [DocumentId] = @0
  5204. WHERE ([Id] = @1)
  5205. 10:50:57.956: -- @0: '2018' (Type = Int32)
  5206. 10:50:57.956: -- @1: '969' (Type = Int32)
  5207. 10:50:57.956: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5208. 10:50:57.957: -- Completed in 0 ms with result: 1
  5209. 10:50:57.957:
  5210. 10:50:57.957: UPDATE [dbo].[Task]
  5211. SET [DocumentId] = @0
  5212. WHERE ([Id] = @1)
  5213. 10:50:57.957: -- @0: '2029' (Type = Int32)
  5214. 10:50:57.958: -- @1: '970' (Type = Int32)
  5215. 10:50:57.958: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5216. 10:50:57.958: -- Completed in 0 ms with result: 1
  5217. 10:50:57.958:
  5218. 10:50:57.958: UPDATE [dbo].[Task]
  5219. SET [DocumentId] = @0
  5220. WHERE ([Id] = @1)
  5221. 10:50:57.959: -- @0: '2020' (Type = Int32)
  5222. 10:50:57.959: -- @1: '971' (Type = Int32)
  5223. 10:50:57.959: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5224. 10:50:57.959: -- Completed in 0 ms with result: 1
  5225. 10:50:57.96:
  5226. 10:50:57.96: UPDATE [dbo].[Task]
  5227. SET [DocumentId] = @0
  5228. WHERE ([Id] = @1)
  5229. 10:50:57.96: -- @0: '2031' (Type = Int32)
  5230. 10:50:57.96: -- @1: '972' (Type = Int32)
  5231. 10:50:57.96: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5232. 10:50:57.961: -- Completed in 0 ms with result: 1
  5233. 10:50:57.961:
  5234. 10:50:57.961: UPDATE [dbo].[Task]
  5235. SET [DocumentId] = @0
  5236. WHERE ([Id] = @1)
  5237. 10:50:57.961: -- @0: '2022' (Type = Int32)
  5238. 10:50:57.962: -- @1: '973' (Type = Int32)
  5239. 10:50:57.962: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5240. 10:50:57.962: -- Completed in 0 ms with result: 1
  5241. 10:50:57.962:
  5242. 10:50:57.963: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  5243. VALUES (@0, @1, @2, @3, @4)
  5244. SELECT [ID]
  5245. FROM [dbo].[AuditTrail]
  5246. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.963:
  5247. 10:50:57.963: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  5248. 10:50:57.963: -- @1: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  5249. 10:50:57.963: -- @2: '2' (Type = Int32)
  5250. 10:50:57.964: -- @3: '2022' (Type = Int32)
  5251. 10:50:57.964: -- @4: '973' (Type = Int32)
  5252. 10:50:57.964: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5253. 10:50:57.964: -- Completed in 0 ms with result: SqlDataReader
  5254. 10:50:57.965:
  5255. 10:50:57.965: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  5256. 10:50:57.965: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5257. 10:50:57.966: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5258. 10:50:57.967: SELECT TOP (2)
  5259. [Extent1].[ID] AS [ID],
  5260. [Extent1].[Name] AS [Name]
  5261. FROM [dbo].[AuditAction] AS [Extent1]
  5262. WHERE [Extent1].[ID] = @p__linq__010:50:57.967:
  5263. 10:50:57.967: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  5264. 10:50:57.967: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5265. 10:50:57.968: -- Completed in 0 ms with result: SqlDataReader
  5266. 10:50:57.968:
  5267. 10:50:57.968: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5268. 10:50:57.977: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5269. 10:50:57.977: Started transaction at 7/29/2016 10:50:57 AM +05:00
  5270. 10:50:57.98: UPDATE [dbo].[Task]
  5271. SET [DocumentId] = @0
  5272. WHERE ([Id] = @1)
  5273. 10:50:57.98: -- @0: '2018' (Type = Int32)
  5274. 10:50:57.98: -- @1: '969' (Type = Int32)
  5275. 10:50:57.98: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5276. 10:50:57.981: -- Completed in 0 ms with result: 1
  5277. 10:50:57.981:
  5278. 10:50:57.981: UPDATE [dbo].[Task]
  5279. SET [DocumentId] = @0
  5280. WHERE ([Id] = @1)
  5281. 10:50:57.981: -- @0: '2029' (Type = Int32)
  5282. 10:50:57.982: -- @1: '970' (Type = Int32)
  5283. 10:50:57.982: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5284. 10:50:57.982: -- Completed in 0 ms with result: 1
  5285. 10:50:57.982:
  5286. 10:50:57.983: UPDATE [dbo].[Task]
  5287. SET [DocumentId] = @0
  5288. WHERE ([Id] = @1)
  5289. 10:50:57.983: -- @0: '2020' (Type = Int32)
  5290. 10:50:57.983: -- @1: '971' (Type = Int32)
  5291. 10:50:57.983: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5292. 10:50:57.984: -- Completed in 0 ms with result: 1
  5293. 10:50:57.984:
  5294. 10:50:57.984: UPDATE [dbo].[Task]
  5295. SET [DocumentId] = @0
  5296. WHERE ([Id] = @1)
  5297. 10:50:57.984: -- @0: '2031' (Type = Int32)
  5298. 10:50:57.984: -- @1: '972' (Type = Int32)
  5299. 10:50:57.985: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5300. 10:50:57.985: -- Completed in 0 ms with result: 1
  5301. 10:50:57.985:
  5302. 10:50:57.985: UPDATE [dbo].[Task]
  5303. SET [DocumentId] = @0
  5304. WHERE ([Id] = @1)
  5305. 10:50:57.985: -- @0: '2022' (Type = Int32)
  5306. 10:50:57.986: -- @1: '973' (Type = Int32)
  5307. 10:50:57.986: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5308. 10:50:57.986: -- Completed in 0 ms with result: 1
  5309. 10:50:57.986:
  5310. 10:50:57.987: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  5311. VALUES (@0, @1, @2, @3, @4)
  5312. SELECT [ID]
  5313. FROM [dbo].[AuditTrail]
  5314. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:57.987:
  5315. 10:50:57.987: -- @0: '7/29/2016 10:50:57 AM' (Type = DateTime2)
  5316. 10:50:57.987: -- @1: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  5317. 10:50:57.987: -- @2: '2' (Type = Int32)
  5318. 10:50:57.988: -- @3: '2022' (Type = Int32)
  5319. 10:50:57.988: -- @4: '973' (Type = Int32)
  5320. 10:50:57.988: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5321. 10:50:57.988: -- Completed in 0 ms with result: SqlDataReader
  5322. 10:50:57.989:
  5323. 10:50:57.989: Committed transaction at 7/29/2016 10:50:57 AM +05:00
  5324. 10:50:57.989: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5325. 10:50:57.99: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5326. 10:50:57.991: SELECT TOP (1)
  5327. [Extent1].[RoleId] AS [RoleId],
  5328. [Extent1].[ApplicationId] AS [ApplicationId],
  5329. [Extent1].[RoleName] AS [RoleName],
  5330. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  5331. [Extent1].[Description] AS [Description]
  5332. FROM [dbo].[aspnet_Roles] AS [Extent1]
  5333. WHERE [Extent1].[RoleId] = @p__linq__010:50:57.991:
  5334. 10:50:57.991: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  5335. 10:50:57.991: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5336. 10:50:57.992: -- Completed in 0 ms with result: SqlDataReader
  5337. 10:50:57.992:
  5338. 10:50:57.992: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5339. 10:50:57.993: Opened connection at 7/29/2016 10:50:57 AM +05:00
  5340. 10:50:57.993: SELECT TOP (2)
  5341. [Extent1].[ID] AS [ID],
  5342. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  5343. [Extent1].[FirstName] AS [FirstName],
  5344. [Extent1].[LastName] AS [LastName],
  5345. [Extent1].[Active] AS [Active]
  5346. FROM [dbo].[User] AS [Extent1]
  5347. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:57.994:
  5348. 10:50:57.994: -- p__linq__0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid, IsNullable = false)
  5349. 10:50:57.994: -- Executing at 7/29/2016 10:50:57 AM +05:00
  5350. 10:50:57.994: -- Completed in 0 ms with result: SqlDataReader
  5351. 10:50:57.995:
  5352. 10:50:57.995: Closed connection at 7/29/2016 10:50:57 AM +05:00
  5353. Exception thrown: 'System.NullReferenceException' in Core.dll
  5354. 10:50:58.007: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5355. 10:50:58.008: SELECT TOP (2)
  5356. [Extent1].[ID] AS [ID],
  5357. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  5358. [Extent1].[FirstName] AS [FirstName],
  5359. [Extent1].[LastName] AS [LastName],
  5360. [Extent1].[Active] AS [Active]
  5361. FROM [dbo].[User] AS [Extent1]
  5362. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.008:
  5363. 10:50:58.008: -- p__linq__0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid, IsNullable = false)
  5364. 10:50:58.008: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5365. 10:50:58.009: -- Completed in 0 ms with result: SqlDataReader
  5366. 10:50:58.009:
  5367. 10:50:58.009: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5368. Exception thrown: 'System.NullReferenceException' in Core.dll
  5369. 10:50:58.021: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5370. 10:50:58.021: SELECT TOP (1)
  5371. [Extent1].[Id] AS [Id],
  5372. [Extent1].[Name] AS [Name],
  5373. [Extent1].[FirstStage] AS [FirstStage]
  5374. FROM [dbo].[BusinessProcess] AS [Extent1]
  5375. WHERE [Extent1].[Name] = @p__linq__010:50:58.022:
  5376. 10:50:58.022: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  5377. 10:50:58.022: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5378. 10:50:58.023: -- Completed in 0 ms with result: SqlDataReader
  5379. 10:50:58.023:
  5380. 10:50:58.023: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5381. 10:50:58.032: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5382. 10:50:58.033: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5383. 10:50:58.035: UPDATE [dbo].[Document]
  5384. SET [DocumentStatusId] = @0
  5385. WHERE ([Id] = @1)
  5386. 10:50:58.036: -- @0: '1' (Type = Int32)
  5387. 10:50:58.036: -- @1: '2032' (Type = Int32)
  5388. 10:50:58.036: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5389. 10:50:58.037: -- Completed in 0 ms with result: 1
  5390. 10:50:58.038:
  5391. 10:50:58.038: UPDATE [dbo].[Task]
  5392. SET [DocumentId] = @0
  5393. WHERE ([Id] = @1)
  5394. 10:50:58.038: -- @0: '2018' (Type = Int32)
  5395. 10:50:58.039: -- @1: '969' (Type = Int32)
  5396. 10:50:58.039: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5397. 10:50:58.041: -- Completed in 0 ms with result: 1
  5398. 10:50:58.043:
  5399. 10:50:58.043: UPDATE [dbo].[Task]
  5400. SET [DocumentId] = @0
  5401. WHERE ([Id] = @1)
  5402. 10:50:58.043: -- @0: '2029' (Type = Int32)
  5403. 10:50:58.044: -- @1: '970' (Type = Int32)
  5404. 10:50:58.044: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5405. 10:50:58.045: -- Completed in 0 ms with result: 1
  5406. 10:50:58.045:
  5407. 10:50:58.045: UPDATE [dbo].[Task]
  5408. SET [DocumentId] = @0
  5409. WHERE ([Id] = @1)
  5410. 10:50:58.045: -- @0: '2020' (Type = Int32)
  5411. 10:50:58.046: -- @1: '971' (Type = Int32)
  5412. 10:50:58.046: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5413. 10:50:58.046: -- Completed in 0 ms with result: 1
  5414. 10:50:58.046:
  5415. 10:50:58.047: UPDATE [dbo].[Task]
  5416. SET [DocumentId] = @0
  5417. WHERE ([Id] = @1)
  5418. 10:50:58.047: -- @0: '2031' (Type = Int32)
  5419. 10:50:58.047: -- @1: '972' (Type = Int32)
  5420. 10:50:58.047: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5421. 10:50:58.048: -- Completed in 0 ms with result: 1
  5422. 10:50:58.048:
  5423. 10:50:58.048: UPDATE [dbo].[Task]
  5424. SET [DocumentId] = @0
  5425. WHERE ([Id] = @1)
  5426. 10:50:58.048: -- @0: '2022' (Type = Int32)
  5427. 10:50:58.049: -- @1: '973' (Type = Int32)
  5428. 10:50:58.049: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5429. 10:50:58.049: -- Completed in 0 ms with result: 1
  5430. 10:50:58.049:
  5431. 10:50:58.05: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  5432. VALUES (@0, NULL, @1)
  5433. SELECT [Id]
  5434. FROM [dbo].[Workflow]
  5435. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.05:
  5436. 10:50:58.05: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  5437. 10:50:58.05: -- @1: '1' (Type = Int32)
  5438. 10:50:58.05: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5439. 10:50:58.051: -- Completed in 0 ms with result: SqlDataReader
  5440. 10:50:58.051:
  5441. 10:50:58.051: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  5442. 10:50:58.052: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5443. 10:50:58.053: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5444. 10:50:58.053: SELECT TOP (1)
  5445. [Extent1].[Id] AS [Id],
  5446. [Extent1].[Name] AS [Name],
  5447. [Extent1].[ActionTypeId] AS [ActionTypeId],
  5448. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  5449. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  5450. FROM [dbo].[Stage] AS [Extent1]
  5451. WHERE [Extent1].[Id] = @p__linq__010:50:58.053:
  5452. 10:50:58.054: -- p__linq__0: '1' (Type = Int32)
  5453. 10:50:58.054: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5454. 10:50:58.054: -- Completed in 0 ms with result: SqlDataReader
  5455. 10:50:58.054:
  5456. 10:50:58.055: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5457. 10:50:58.055: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5458. 10:50:58.055: SELECT TOP (1)
  5459. [Extent1].[ID] AS [ID],
  5460. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  5461. [Extent1].[FirstName] AS [FirstName],
  5462. [Extent1].[LastName] AS [LastName],
  5463. [Extent1].[Active] AS [Active]
  5464. FROM [dbo].[User] AS [Extent1]
  5465. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  5466. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:58.056:
  5467. 10:50:58.056: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  5468. 10:50:58.056: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5469. 10:50:58.056: -- Completed in 0 ms with result: SqlDataReader
  5470. 10:50:58.057:
  5471. 10:50:58.057: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5472. 10:50:58.057: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5473. 10:50:58.057: SELECT TOP (2)
  5474. [Extent1].[Id] AS [Id],
  5475. [Extent1].[Name] AS [Name]
  5476. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5477. WHERE 'New' = [Extent1].[Name]10:50:58.058:
  5478. 10:50:58.058: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5479. 10:50:58.058: -- Completed in 0 ms with result: SqlDataReader
  5480. 10:50:58.059:
  5481. 10:50:58.059: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5482. 10:50:58.071: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5483. 10:50:58.071: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5484. 10:50:58.075: UPDATE [dbo].[Document]
  5485. SET [IsCurrentVersion] = @0
  5486. WHERE ([Id] = @1)
  5487. 10:50:58.075: -- @0: 'False' (Type = Boolean)
  5488. 10:50:58.075: -- @1: '2023' (Type = Int32)
  5489. 10:50:58.075: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5490. 10:50:58.076: -- Completed in 0 ms with result: 1
  5491. 10:50:58.076:
  5492. 10:50:58.076: UPDATE [dbo].[Task]
  5493. SET [DocumentId] = @0
  5494. WHERE ([Id] = @1)
  5495. 10:50:58.076: -- @0: '2018' (Type = Int32)
  5496. 10:50:58.077: -- @1: '969' (Type = Int32)
  5497. 10:50:58.077: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5498. 10:50:58.077: -- Completed in 0 ms with result: 1
  5499. 10:50:58.077:
  5500. 10:50:58.078: UPDATE [dbo].[Task]
  5501. SET [DocumentId] = @0
  5502. WHERE ([Id] = @1)
  5503. 10:50:58.078: -- @0: '2029' (Type = Int32)
  5504. 10:50:58.078: -- @1: '970' (Type = Int32)
  5505. 10:50:58.078: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5506. 10:50:58.079: -- Completed in 0 ms with result: 1
  5507. 10:50:58.079:
  5508. 10:50:58.079: UPDATE [dbo].[Task]
  5509. SET [DocumentId] = @0
  5510. WHERE ([Id] = @1)
  5511. 10:50:58.079: -- @0: '2020' (Type = Int32)
  5512. 10:50:58.079: -- @1: '971' (Type = Int32)
  5513. 10:50:58.08: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5514. 10:50:58.08: -- Completed in 0 ms with result: 1
  5515. 10:50:58.08:
  5516. 10:50:58.08: UPDATE [dbo].[Task]
  5517. SET [DocumentId] = @0
  5518. WHERE ([Id] = @1)
  5519. 10:50:58.081: -- @0: '2031' (Type = Int32)
  5520. 10:50:58.081: -- @1: '972' (Type = Int32)
  5521. 10:50:58.081: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5522. 10:50:58.081: -- Completed in 0 ms with result: 1
  5523. 10:50:58.081:
  5524. 10:50:58.082: UPDATE [dbo].[Task]
  5525. SET [DocumentId] = @0
  5526. WHERE ([Id] = @1)
  5527. 10:50:58.082: -- @0: '2022' (Type = Int32)
  5528. 10:50:58.082: -- @1: '973' (Type = Int32)
  5529. 10:50:58.082: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5530. 10:50:58.083: -- Completed in 0 ms with result: 1
  5531. 10:50:58.083:
  5532. 10:50:58.083: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  5533. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  5534. SELECT [Id]
  5535. FROM [dbo].[Document]
  5536. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.083:
  5537. 10:50:58.084: -- @0: '10:50 AM_5' (Type = String, Size = 256)
  5538. 10:50:58.084: -- @1: '2.0' (Type = String, Size = 64)
  5539. 10:50:58.084: -- @2: 'test.bin' (Type = String, Size = 256)
  5540. 10:50:58.084: -- @3: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  5541. 10:50:58.084: -- @4: 'True' (Type = Boolean)
  5542. 10:50:58.085: -- @5: '2023' (Type = Int32)
  5543. 10:50:58.085: -- @6: '6' (Type = Int32)
  5544. 10:50:58.085: -- @7: '1' (Type = Int32)
  5545. 10:50:58.085: -- @8: '3' (Type = Int32)
  5546. 10:50:58.085: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  5547. 10:50:58.086: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  5548. 10:50:58.086: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5549. 10:50:58.086: -- Completed in 0 ms with result: SqlDataReader
  5550. 10:50:58.087:
  5551. 10:50:58.087: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  5552. VALUES (@0, NULL, @1)
  5553. SELECT [Id]
  5554. FROM [dbo].[ProcessQueue]
  5555. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.087:
  5556. 10:50:58.087: -- @0: '2033' (Type = Int32)
  5557. 10:50:58.087: -- @1: '2' (Type = Int32)
  5558. 10:50:58.088: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5559. 10:50:58.088: -- Completed in 0 ms with result: SqlDataReader
  5560. 10:50:58.088:
  5561. 10:50:58.088: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  5562. VALUES (@0, NULL, @1)
  5563. SELECT [Id]
  5564. FROM [dbo].[ProcessQueue]
  5565. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.089:
  5566. 10:50:58.089: -- @0: '2033' (Type = Int32)
  5567. 10:50:58.089: -- @1: '3' (Type = Int32)
  5568. 10:50:58.089: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5569. 10:50:58.09: -- Completed in 0 ms with result: SqlDataReader
  5570. 10:50:58.09:
  5571. 10:50:58.09: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  5572. VALUES (@0, NULL, @1)
  5573. SELECT [Id]
  5574. FROM [dbo].[ProcessQueue]
  5575. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.09:
  5576. 10:50:58.091: -- @0: '2033' (Type = Int32)
  5577. 10:50:58.091: -- @1: '1' (Type = Int32)
  5578. 10:50:58.091: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5579. 10:50:58.091: -- Completed in 0 ms with result: SqlDataReader
  5580. 10:50:58.091:
  5581. 10:50:58.092: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  5582. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  5583. SELECT [Id]
  5584. FROM [dbo].[ProcessQueueItem]
  5585. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.092:
  5586. 10:50:58.092: -- @0: '1' (Type = Int32)
  5587. 10:50:58.092: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  5588. 10:50:58.093: -- @2: '6103' (Type = Int32)
  5589. 10:50:58.093: -- @3: '1' (Type = Int32)
  5590. 10:50:58.093: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5591. 10:50:58.093: -- Completed in 0 ms with result: SqlDataReader
  5592. 10:50:58.094:
  5593. 10:50:58.094: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  5594. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  5595. SELECT [Id]
  5596. FROM [dbo].[ProcessQueueItem]
  5597. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.094:
  5598. 10:50:58.094: -- @0: '1' (Type = Int32)
  5599. 10:50:58.095: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  5600. 10:50:58.095: -- @2: '6104' (Type = Int32)
  5601. 10:50:58.095: -- @3: '1' (Type = Int32)
  5602. 10:50:58.095: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5603. 10:50:58.096: -- Completed in 0 ms with result: SqlDataReader
  5604. 10:50:58.096:
  5605. 10:50:58.096: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  5606. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  5607. SELECT [Id]
  5608. FROM [dbo].[ProcessQueueItem]
  5609. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.096:
  5610. 10:50:58.096: -- @0: '1' (Type = Int32)
  5611. 10:50:58.097: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  5612. 10:50:58.097: -- @2: '6105' (Type = Int32)
  5613. 10:50:58.097: -- @3: '1' (Type = Int32)
  5614. 10:50:58.097: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5615. 10:50:58.098: -- Completed in 0 ms with result: SqlDataReader
  5616. 10:50:58.098:
  5617. 10:50:58.099: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  5618. 10:50:58.099: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5619. 10:50:58.1: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5620. 10:50:58.101: SELECT
  5621. [Extent1].[ID] AS [ID],
  5622. [Extent1].[Name] AS [Name],
  5623. [Extent1].[SourceSystemId] AS [SourceSystemId],
  5624. [Extent1].[ID_ActionType] AS [ID_ActionType],
  5625. [Extent1].[ID_Group] AS [ID_Group]
  5626. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.101:
  5627. 10:50:58.101: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5628. 10:50:58.101: -- Completed in 0 ms with result: SqlDataReader
  5629. 10:50:58.101:
  5630. 10:50:58.102: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5631. 10:50:58.102: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5632. 10:50:58.103: SELECT TOP (2)
  5633. [Extent1].[Id] AS [Id],
  5634. [Extent1].[Name] AS [Name]
  5635. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5636. WHERE 'New' = [Extent1].[Name]10:50:58.103:
  5637. 10:50:58.103: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5638. 10:50:58.103: -- Completed in 0 ms with result: SqlDataReader
  5639. 10:50:58.103:
  5640. 10:50:58.104: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5641. 10:50:58.104: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5642. 10:50:58.104: SELECT
  5643. [Extent1].[ID] AS [ID],
  5644. [Extent1].[Name] AS [Name],
  5645. [Extent1].[SourceSystemId] AS [SourceSystemId],
  5646. [Extent1].[ID_ActionType] AS [ID_ActionType],
  5647. [Extent1].[ID_Group] AS [ID_Group]
  5648. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.104:
  5649. 10:50:58.105: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5650. 10:50:58.105: -- Completed in 0 ms with result: SqlDataReader
  5651. 10:50:58.105:
  5652. 10:50:58.105: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5653. 10:50:58.106: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5654. 10:50:58.106: SELECT TOP (2)
  5655. [Extent1].[Id] AS [Id],
  5656. [Extent1].[Name] AS [Name]
  5657. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5658. WHERE 'New' = [Extent1].[Name]10:50:58.106:
  5659. 10:50:58.107: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5660. 10:50:58.107: -- Completed in 0 ms with result: SqlDataReader
  5661. 10:50:58.107:
  5662. 10:50:58.107: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5663. 10:50:58.108: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5664. 10:50:58.108: SELECT TOP (2)
  5665. [Extent1].[Id] AS [Id],
  5666. [Extent1].[Name] AS [Name]
  5667. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5668. WHERE 'Sent' = [Extent1].[Name]10:50:58.108:
  5669. 10:50:58.108: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5670. 10:50:58.109: -- Completed in 0 ms with result: SqlDataReader
  5671. 10:50:58.109:
  5672. 10:50:58.109: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5673. 10:50:58.109: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5674. 10:50:58.11: SELECT TOP (2)
  5675. [Extent1].[Id] AS [Id],
  5676. [Extent1].[Name] AS [Name]
  5677. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  5678. WHERE 'New' = [Extent1].[Name]10:50:58.11:
  5679. 10:50:58.11: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5680. 10:50:58.11: -- Completed in 0 ms with result: SqlDataReader
  5681. 10:50:58.111:
  5682. 10:50:58.111: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5683. 10:50:58.116: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5684. 10:50:58.116: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5685. 10:50:58.119: UPDATE [dbo].[ProcessQueueItem]
  5686. SET [StatusId] = @0, [Sent] = @1
  5687. WHERE ([Id] = @2)
  5688. 10:50:58.119: -- @0: '2' (Type = Int32)
  5689. 10:50:58.119: -- @1: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  5690. 10:50:58.119: -- @2: '6053' (Type = Int32)
  5691. 10:50:58.12: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5692. 10:50:58.12: -- Completed in 0 ms with result: 1
  5693. 10:50:58.12:
  5694. 10:50:58.121: UPDATE [dbo].[Task]
  5695. SET [DocumentId] = @0
  5696. WHERE ([Id] = @1)
  5697. 10:50:58.121: -- @0: '2028' (Type = Int32)
  5698. 10:50:58.121: -- @1: '969' (Type = Int32)
  5699. 10:50:58.121: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5700. 10:50:58.122: -- Completed in 0 ms with result: 1
  5701. 10:50:58.122:
  5702. 10:50:58.122: UPDATE [dbo].[Task]
  5703. SET [DocumentId] = @0
  5704. WHERE ([Id] = @1)
  5705. 10:50:58.122: -- @0: '2019' (Type = Int32)
  5706. 10:50:58.122: -- @1: '970' (Type = Int32)
  5707. 10:50:58.123: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5708. 10:50:58.123: -- Completed in 0 ms with result: 1
  5709. 10:50:58.123:
  5710. 10:50:58.123: UPDATE [dbo].[Task]
  5711. SET [DocumentId] = @0
  5712. WHERE ([Id] = @1)
  5713. 10:50:58.124: -- @0: '2030' (Type = Int32)
  5714. 10:50:58.124: -- @1: '971' (Type = Int32)
  5715. 10:50:58.124: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5716. 10:50:58.124: -- Completed in 0 ms with result: 1
  5717. 10:50:58.124:
  5718. 10:50:58.125: UPDATE [dbo].[Task]
  5719. SET [DocumentId] = @0
  5720. WHERE ([Id] = @1)
  5721. 10:50:58.125: -- @0: '2021' (Type = Int32)
  5722. 10:50:58.125: -- @1: '972' (Type = Int32)
  5723. 10:50:58.125: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5724. 10:50:58.126: -- Completed in 0 ms with result: 1
  5725. 10:50:58.126:
  5726. 10:50:58.126: UPDATE [dbo].[Task]
  5727. SET [DocumentId] = @0
  5728. WHERE ([Id] = @1)
  5729. 10:50:58.126: -- @0: '2032' (Type = Int32)
  5730. 10:50:58.127: -- @1: '973' (Type = Int32)
  5731. 10:50:58.127: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5732. 10:50:58.127: -- Completed in 0 ms with result: 1
  5733. 10:50:58.127:
  5734. 10:50:58.128: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  5735. 10:50:58.128: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5736. 10:50:58.129: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5737. 10:50:58.129: SELECT TOP (2)
  5738. [Extent1].[Id] AS [Id],
  5739. [Extent1].[Name] AS [Name]
  5740. FROM [dbo].[TaskStatus] AS [Extent1]
  5741. WHERE N'New' = [Extent1].[Name]10:50:58.129:
  5742. 10:50:58.13: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5743. 10:50:58.13: -- Completed in 0 ms with result: SqlDataReader
  5744. 10:50:58.13:
  5745. 10:50:58.13: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5746. 10:50:58.14: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5747. 10:50:58.14: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5748. 10:50:58.142: UPDATE [dbo].[Task]
  5749. SET [DocumentId] = @0
  5750. WHERE ([Id] = @1)
  5751. 10:50:58.142: -- @0: '2028' (Type = Int32)
  5752. 10:50:58.143: -- @1: '969' (Type = Int32)
  5753. 10:50:58.143: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5754. 10:50:58.143: -- Completed in 0 ms with result: 1
  5755. 10:50:58.143:
  5756. 10:50:58.144: UPDATE [dbo].[Task]
  5757. SET [DocumentId] = @0
  5758. WHERE ([Id] = @1)
  5759. 10:50:58.144: -- @0: '2019' (Type = Int32)
  5760. 10:50:58.144: -- @1: '970' (Type = Int32)
  5761. 10:50:58.144: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5762. 10:50:58.145: -- Completed in 0 ms with result: 1
  5763. 10:50:58.145:
  5764. 10:50:58.145: UPDATE [dbo].[Task]
  5765. SET [DocumentId] = @0
  5766. WHERE ([Id] = @1)
  5767. 10:50:58.145: -- @0: '2030' (Type = Int32)
  5768. 10:50:58.145: -- @1: '971' (Type = Int32)
  5769. 10:50:58.146: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5770. 10:50:58.146: -- Completed in 0 ms with result: 1
  5771. 10:50:58.146:
  5772. 10:50:58.146: UPDATE [dbo].[Task]
  5773. SET [DocumentId] = @0
  5774. WHERE ([Id] = @1)
  5775. 10:50:58.146: -- @0: '2021' (Type = Int32)
  5776. 10:50:58.147: -- @1: '972' (Type = Int32)
  5777. 10:50:58.147: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5778. 10:50:58.147: -- Completed in 0 ms with result: 1
  5779. 10:50:58.147:
  5780. 10:50:58.148: UPDATE [dbo].[Task]
  5781. SET [DocumentId] = @0
  5782. WHERE ([Id] = @1)
  5783. 10:50:58.148: -- @0: '2032' (Type = Int32)
  5784. 10:50:58.148: -- @1: '973' (Type = Int32)
  5785. 10:50:58.148: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5786. 10:50:58.149: -- Completed in 0 ms with result: 1
  5787. 10:50:58.149:
  5788. 10:50:58.149: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  5789. VALUES (NULL, @0)
  5790. SELECT [Id]
  5791. FROM [dbo].[TaskPerformer]
  5792. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.149:
  5793. 10:50:58.149: -- @0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  5794. 10:50:58.15: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5795. 10:50:58.15: -- Completed in 0 ms with result: SqlDataReader
  5796. 10:50:58.15:
  5797. 10:50:58.151: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  5798. 10:50:58.151: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5799. 10:50:58.161: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5800. 10:50:58.161: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5801. 10:50:58.163: UPDATE [dbo].[Task]
  5802. SET [DocumentId] = @0
  5803. WHERE ([Id] = @1)
  5804. 10:50:58.163: -- @0: '2028' (Type = Int32)
  5805. 10:50:58.164: -- @1: '969' (Type = Int32)
  5806. 10:50:58.164: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5807. 10:50:58.164: -- Completed in 0 ms with result: 1
  5808. 10:50:58.164:
  5809. 10:50:58.165: UPDATE [dbo].[Task]
  5810. SET [DocumentId] = @0
  5811. WHERE ([Id] = @1)
  5812. 10:50:58.165: -- @0: '2019' (Type = Int32)
  5813. 10:50:58.165: -- @1: '970' (Type = Int32)
  5814. 10:50:58.165: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5815. 10:50:58.166: -- Completed in 0 ms with result: 1
  5816. 10:50:58.166:
  5817. 10:50:58.166: UPDATE [dbo].[Task]
  5818. SET [DocumentId] = @0
  5819. WHERE ([Id] = @1)
  5820. 10:50:58.166: -- @0: '2030' (Type = Int32)
  5821. 10:50:58.166: -- @1: '971' (Type = Int32)
  5822. 10:50:58.167: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5823. 10:50:58.167: -- Completed in 0 ms with result: 1
  5824. 10:50:58.167:
  5825. 10:50:58.167: UPDATE [dbo].[Task]
  5826. SET [DocumentId] = @0
  5827. WHERE ([Id] = @1)
  5828. 10:50:58.168: -- @0: '2021' (Type = Int32)
  5829. 10:50:58.168: -- @1: '972' (Type = Int32)
  5830. 10:50:58.168: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5831. 10:50:58.168: -- Completed in 0 ms with result: 1
  5832. 10:50:58.168:
  5833. 10:50:58.169: UPDATE [dbo].[Task]
  5834. SET [DocumentId] = @0
  5835. WHERE ([Id] = @1)
  5836. 10:50:58.169: -- @0: '2032' (Type = Int32)
  5837. 10:50:58.169: -- @1: '973' (Type = Int32)
  5838. 10:50:58.169: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5839. 10:50:58.17: -- Completed in 0 ms with result: 1
  5840. 10:50:58.17:
  5841. 10:50:58.17: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  5842. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  5843. SELECT [Id]
  5844. FROM [dbo].[Task]
  5845. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.17:
  5846. 10:50:58.171: -- @0: '2023' (Type = Int32)
  5847. 10:50:58.171: -- @1: '1' (Type = Int32)
  5848. 10:50:58.171: -- @2: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  5849. 10:50:58.171: -- @3: '979' (Type = Int32)
  5850. 10:50:58.171: -- @4: '1' (Type = Int32)
  5851. 10:50:58.172: -- @5: '974' (Type = Int32)
  5852. 10:50:58.172: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5853. 10:50:58.172: -- Completed in 0 ms with result: SqlDataReader
  5854. 10:50:58.172:
  5855. 10:50:58.173: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  5856. 10:50:58.173: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5857. 10:50:58.174: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5858. 10:50:58.175: SELECT TOP (1)
  5859. [Extent1].[RoleId] AS [RoleId],
  5860. [Extent1].[ApplicationId] AS [ApplicationId],
  5861. [Extent1].[RoleName] AS [RoleName],
  5862. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  5863. [Extent1].[Description] AS [Description]
  5864. FROM [dbo].[aspnet_Roles] AS [Extent1]
  5865. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.175:
  5866. 10:50:58.175: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  5867. 10:50:58.175: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5868. 10:50:58.176: -- Completed in 0 ms with result: SqlDataReader
  5869. 10:50:58.176:
  5870. 10:50:58.176: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5871. 10:50:58.177: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5872. 10:50:58.177: SELECT TOP (2)
  5873. [Extent1].[ID] AS [ID],
  5874. [Extent1].[Name] AS [Name]
  5875. FROM [dbo].[AuditAction] AS [Extent1]
  5876. WHERE [Extent1].[ID] = @p__linq__010:50:58.177:
  5877. 10:50:58.177: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  5878. 10:50:58.177: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5879. 10:50:58.178: -- Completed in 0 ms with result: SqlDataReader
  5880. 10:50:58.178:
  5881. 10:50:58.178: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5882. 10:50:58.188: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5883. 10:50:58.188: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5884. 10:50:58.19: UPDATE [dbo].[Task]
  5885. SET [DocumentId] = @0
  5886. WHERE ([Id] = @1)
  5887. 10:50:58.191: -- @0: '2028' (Type = Int32)
  5888. 10:50:58.191: -- @1: '969' (Type = Int32)
  5889. 10:50:58.191: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5890. 10:50:58.192: -- Completed in 0 ms with result: 1
  5891. 10:50:58.192:
  5892. 10:50:58.192: UPDATE [dbo].[Task]
  5893. SET [DocumentId] = @0
  5894. WHERE ([Id] = @1)
  5895. 10:50:58.192: -- @0: '2019' (Type = Int32)
  5896. 10:50:58.192: -- @1: '970' (Type = Int32)
  5897. 10:50:58.193: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5898. 10:50:58.193: -- Completed in 0 ms with result: 1
  5899. 10:50:58.193:
  5900. 10:50:58.193: UPDATE [dbo].[Task]
  5901. SET [DocumentId] = @0
  5902. WHERE ([Id] = @1)
  5903. 10:50:58.194: -- @0: '2030' (Type = Int32)
  5904. 10:50:58.194: -- @1: '971' (Type = Int32)
  5905. 10:50:58.194: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5906. 10:50:58.194: -- Completed in 0 ms with result: 1
  5907. 10:50:58.195:
  5908. 10:50:58.195: UPDATE [dbo].[Task]
  5909. SET [DocumentId] = @0
  5910. WHERE ([Id] = @1)
  5911. 10:50:58.195: -- @0: '2021' (Type = Int32)
  5912. 10:50:58.195: -- @1: '972' (Type = Int32)
  5913. 10:50:58.195: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5914. 10:50:58.196: -- Completed in 0 ms with result: 1
  5915. 10:50:58.196:
  5916. 10:50:58.196: UPDATE [dbo].[Task]
  5917. SET [DocumentId] = @0
  5918. WHERE ([Id] = @1)
  5919. 10:50:58.196: -- @0: '2032' (Type = Int32)
  5920. 10:50:58.197: -- @1: '973' (Type = Int32)
  5921. 10:50:58.197: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5922. 10:50:58.197: -- Completed in 0 ms with result: 1
  5923. 10:50:58.197:
  5924. 10:50:58.198: UPDATE [dbo].[Task]
  5925. SET [DocumentId] = @0
  5926. WHERE ([Id] = @1)
  5927. 10:50:58.198: -- @0: '2023' (Type = Int32)
  5928. 10:50:58.198: -- @1: '974' (Type = Int32)
  5929. 10:50:58.198: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5930. 10:50:58.198: -- Completed in 0 ms with result: 1
  5931. 10:50:58.199:
  5932. 10:50:58.199: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  5933. VALUES (@0, @1, @2, @3, @4)
  5934. SELECT [ID]
  5935. FROM [dbo].[AuditTrail]
  5936. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:58.199:
  5937. 10:50:58.199: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  5938. 10:50:58.2: -- @1: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  5939. 10:50:58.2: -- @2: '2' (Type = Int32)
  5940. 10:50:58.2: -- @3: '2023' (Type = Int32)
  5941. 10:50:58.2: -- @4: '974' (Type = Int32)
  5942. 10:50:58.2: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5943. 10:50:58.201: -- Completed in 0 ms with result: SqlDataReader
  5944. 10:50:58.201:
  5945. 10:50:58.201: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  5946. 10:50:58.202: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5947. 10:50:58.203: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5948. 10:50:58.203: SELECT TOP (2)
  5949. [Extent1].[ID] AS [ID],
  5950. [Extent1].[Name] AS [Name]
  5951. FROM [dbo].[AuditAction] AS [Extent1]
  5952. WHERE [Extent1].[ID] = @p__linq__010:50:58.203:
  5953. 10:50:58.204: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  5954. 10:50:58.204: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5955. 10:50:58.204: -- Completed in 0 ms with result: SqlDataReader
  5956. 10:50:58.204:
  5957. 10:50:58.205: Closed connection at 7/29/2016 10:50:58 AM +05:00
  5958. 10:50:58.214: Opened connection at 7/29/2016 10:50:58 AM +05:00
  5959. 10:50:58.215: Started transaction at 7/29/2016 10:50:58 AM +05:00
  5960. 10:50:58.217: UPDATE [dbo].[Task]
  5961. SET [DocumentId] = @0
  5962. WHERE ([Id] = @1)
  5963. 10:50:58.218: -- @0: '2028' (Type = Int32)
  5964. 10:50:58.218: -- @1: '969' (Type = Int32)
  5965. 10:50:58.218: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5966. 10:50:58.218: -- Completed in 0 ms with result: 1
  5967. 10:50:58.219:
  5968. 10:50:58.219: UPDATE [dbo].[Task]
  5969. SET [DocumentId] = @0
  5970. WHERE ([Id] = @1)
  5971. 10:50:58.219: -- @0: '2019' (Type = Int32)
  5972. 10:50:58.219: -- @1: '970' (Type = Int32)
  5973. 10:50:58.219: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5974. 10:50:58.22: -- Completed in 0 ms with result: 1
  5975. 10:50:58.22:
  5976. 10:50:58.22: UPDATE [dbo].[Task]
  5977. SET [DocumentId] = @0
  5978. WHERE ([Id] = @1)
  5979. 10:50:58.22: -- @0: '2030' (Type = Int32)
  5980. 10:50:58.221: -- @1: '971' (Type = Int32)
  5981. 10:50:58.221: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5982. 10:50:58.221: -- Completed in 0 ms with result: 1
  5983. 10:50:58.221:
  5984. 10:50:58.222: UPDATE [dbo].[Task]
  5985. SET [DocumentId] = @0
  5986. WHERE ([Id] = @1)
  5987. 10:50:58.222: -- @0: '2021' (Type = Int32)
  5988. 10:50:58.222: -- @1: '972' (Type = Int32)
  5989. 10:50:58.222: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5990. 10:50:58.222: -- Completed in 0 ms with result: 1
  5991. 10:50:58.223:
  5992. 10:50:58.223: UPDATE [dbo].[Task]
  5993. SET [DocumentId] = @0
  5994. WHERE ([Id] = @1)
  5995. 10:50:58.223: -- @0: '2032' (Type = Int32)
  5996. 10:50:58.223: -- @1: '973' (Type = Int32)
  5997. 10:50:58.224: -- Executing at 7/29/2016 10:50:58 AM +05:00
  5998. 10:50:58.224: -- Completed in 0 ms with result: 1
  5999. 10:50:58.224:
  6000. 10:50:58.224: UPDATE [dbo].[Task]
  6001. SET [DocumentId] = @0
  6002. WHERE ([Id] = @1)
  6003. 10:50:58.224: -- @0: '2023' (Type = Int32)
  6004. 10:50:58.225: -- @1: '974' (Type = Int32)
  6005. 10:50:58.225: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6006. 10:50:58.225: -- Completed in 0 ms with result: 1
  6007. 10:50:58.225:
  6008. 10:50:58.226: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  6009. VALUES (@0, @1, @2, @3, @4)
  6010. SELECT [ID]
  6011. FROM [dbo].[AuditTrail]
  6012. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:58.226:
  6013. 10:50:58.226: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6014. 10:50:58.226: -- @1: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  6015. 10:50:58.226: -- @2: '2' (Type = Int32)
  6016. 10:50:58.227: -- @3: '2023' (Type = Int32)
  6017. 10:50:58.227: -- @4: '974' (Type = Int32)
  6018. 10:50:58.227: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6019. 10:50:58.227: -- Completed in 0 ms with result: SqlDataReader
  6020. 10:50:58.227:
  6021. 10:50:58.228: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6022. 10:50:58.228: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6023. 10:50:58.229: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6024. 10:50:58.229: SELECT TOP (1)
  6025. [Extent1].[RoleId] AS [RoleId],
  6026. [Extent1].[ApplicationId] AS [ApplicationId],
  6027. [Extent1].[RoleName] AS [RoleName],
  6028. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  6029. [Extent1].[Description] AS [Description]
  6030. FROM [dbo].[aspnet_Roles] AS [Extent1]
  6031. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.229:
  6032. 10:50:58.23: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  6033. 10:50:58.23: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6034. 10:50:58.23: -- Completed in 0 ms with result: SqlDataReader
  6035. 10:50:58.23:
  6036. 10:50:58.231: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6037. 10:50:58.231: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6038. 10:50:58.232: SELECT TOP (2)
  6039. [Extent1].[ID] AS [ID],
  6040. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  6041. [Extent1].[FirstName] AS [FirstName],
  6042. [Extent1].[LastName] AS [LastName],
  6043. [Extent1].[Active] AS [Active]
  6044. FROM [dbo].[User] AS [Extent1]
  6045. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.232:
  6046. 10:50:58.232: -- p__linq__0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid, IsNullable = false)
  6047. 10:50:58.233: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6048. 10:50:58.233: -- Completed in 0 ms with result: SqlDataReader
  6049. 10:50:58.233:
  6050. 10:50:58.233: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6051. Exception thrown: 'System.NullReferenceException' in Core.dll
  6052. 10:50:58.245: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6053. 10:50:58.246: SELECT TOP (2)
  6054. [Extent1].[ID] AS [ID],
  6055. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  6056. [Extent1].[FirstName] AS [FirstName],
  6057. [Extent1].[LastName] AS [LastName],
  6058. [Extent1].[Active] AS [Active]
  6059. FROM [dbo].[User] AS [Extent1]
  6060. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.246:
  6061. 10:50:58.246: -- p__linq__0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid, IsNullable = false)
  6062. 10:50:58.247: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6063. 10:50:58.247: -- Completed in 0 ms with result: SqlDataReader
  6064. 10:50:58.248:
  6065. 10:50:58.248: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6066. Exception thrown: 'System.NullReferenceException' in Core.dll
  6067. 10:50:58.263: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6068. 10:50:58.264: SELECT TOP (1)
  6069. [Extent1].[Id] AS [Id],
  6070. [Extent1].[Name] AS [Name],
  6071. [Extent1].[FirstStage] AS [FirstStage]
  6072. FROM [dbo].[BusinessProcess] AS [Extent1]
  6073. WHERE [Extent1].[Name] = @p__linq__010:50:58.264:
  6074. 10:50:58.264: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  6075. 10:50:58.265: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6076. 10:50:58.265: -- Completed in 0 ms with result: SqlDataReader
  6077. 10:50:58.265:
  6078. 10:50:58.266: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6079. 10:50:58.276: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6080. 10:50:58.276: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6081. 10:50:58.28: UPDATE [dbo].[Document]
  6082. SET [DocumentStatusId] = @0
  6083. WHERE ([Id] = @1)
  6084. 10:50:58.28: -- @0: '1' (Type = Int32)
  6085. 10:50:58.281: -- @1: '2033' (Type = Int32)
  6086. 10:50:58.281: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6087. 10:50:58.282: -- Completed in 0 ms with result: 1
  6088. 10:50:58.282:
  6089. 10:50:58.283: UPDATE [dbo].[Task]
  6090. SET [DocumentId] = @0
  6091. WHERE ([Id] = @1)
  6092. 10:50:58.283: -- @0: '2028' (Type = Int32)
  6093. 10:50:58.283: -- @1: '969' (Type = Int32)
  6094. 10:50:58.283: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6095. 10:50:58.284: -- Completed in 0 ms with result: 1
  6096. 10:50:58.284:
  6097. 10:50:58.284: UPDATE [dbo].[Task]
  6098. SET [DocumentId] = @0
  6099. WHERE ([Id] = @1)
  6100. 10:50:58.285: -- @0: '2019' (Type = Int32)
  6101. 10:50:58.285: -- @1: '970' (Type = Int32)
  6102. 10:50:58.285: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6103. 10:50:58.286: -- Completed in 0 ms with result: 1
  6104. 10:50:58.286:
  6105. 10:50:58.286: UPDATE [dbo].[Task]
  6106. SET [DocumentId] = @0
  6107. WHERE ([Id] = @1)
  6108. 10:50:58.286: -- @0: '2030' (Type = Int32)
  6109. 10:50:58.286: -- @1: '971' (Type = Int32)
  6110. 10:50:58.287: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6111. 10:50:58.287: -- Completed in 0 ms with result: 1
  6112. 10:50:58.287:
  6113. 10:50:58.288: UPDATE [dbo].[Task]
  6114. SET [DocumentId] = @0
  6115. WHERE ([Id] = @1)
  6116. 10:50:58.288: -- @0: '2021' (Type = Int32)
  6117. 10:50:58.288: -- @1: '972' (Type = Int32)
  6118. 10:50:58.288: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6119. 10:50:58.288: -- Completed in 0 ms with result: 1
  6120. 10:50:58.289:
  6121. 10:50:58.289: UPDATE [dbo].[Task]
  6122. SET [DocumentId] = @0
  6123. WHERE ([Id] = @1)
  6124. 10:50:58.289: -- @0: '2032' (Type = Int32)
  6125. 10:50:58.289: -- @1: '973' (Type = Int32)
  6126. 10:50:58.29: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6127. 10:50:58.29: -- Completed in 0 ms with result: 1
  6128. 10:50:58.29:
  6129. 10:50:58.29: UPDATE [dbo].[Task]
  6130. SET [DocumentId] = @0
  6131. WHERE ([Id] = @1)
  6132. 10:50:58.291: -- @0: '2023' (Type = Int32)
  6133. 10:50:58.291: -- @1: '974' (Type = Int32)
  6134. 10:50:58.291: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6135. 10:50:58.291: -- Completed in 0 ms with result: 1
  6136. 10:50:58.292:
  6137. 10:50:58.292: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  6138. VALUES (@0, NULL, @1)
  6139. SELECT [Id]
  6140. FROM [dbo].[Workflow]
  6141. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.292:
  6142. 10:50:58.292: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6143. 10:50:58.293: -- @1: '1' (Type = Int32)
  6144. 10:50:58.293: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6145. 10:50:58.293: -- Completed in 0 ms with result: SqlDataReader
  6146. 10:50:58.293:
  6147. 10:50:58.294: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6148. 10:50:58.294: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6149. 10:50:58.295: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6150. 10:50:58.296: SELECT TOP (1)
  6151. [Extent1].[Id] AS [Id],
  6152. [Extent1].[Name] AS [Name],
  6153. [Extent1].[ActionTypeId] AS [ActionTypeId],
  6154. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  6155. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  6156. FROM [dbo].[Stage] AS [Extent1]
  6157. WHERE [Extent1].[Id] = @p__linq__010:50:58.296:
  6158. 10:50:58.296: -- p__linq__0: '1' (Type = Int32)
  6159. 10:50:58.296: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6160. 10:50:58.297: -- Completed in 0 ms with result: SqlDataReader
  6161. 10:50:58.297:
  6162. 10:50:58.297: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6163. 10:50:58.297: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6164. 10:50:58.298: SELECT TOP (1)
  6165. [Extent1].[ID] AS [ID],
  6166. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  6167. [Extent1].[FirstName] AS [FirstName],
  6168. [Extent1].[LastName] AS [LastName],
  6169. [Extent1].[Active] AS [Active]
  6170. FROM [dbo].[User] AS [Extent1]
  6171. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  6172. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:58.298:
  6173. 10:50:58.298: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  6174. 10:50:58.298: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6175. 10:50:58.299: -- Completed in 0 ms with result: SqlDataReader
  6176. 10:50:58.299:
  6177. 10:50:58.299: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6178. 10:50:58.3: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6179. 10:50:58.3: SELECT TOP (2)
  6180. [Extent1].[Id] AS [Id],
  6181. [Extent1].[Name] AS [Name]
  6182. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  6183. WHERE 'New' = [Extent1].[Name]10:50:58.3:
  6184. 10:50:58.3: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6185. 10:50:58.301: -- Completed in 0 ms with result: SqlDataReader
  6186. 10:50:58.301:
  6187. 10:50:58.301: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6188. 10:50:58.312: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6189. 10:50:58.313: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6190. 10:50:58.316: UPDATE [dbo].[Document]
  6191. SET [IsCurrentVersion] = @0
  6192. WHERE ([Id] = @1)
  6193. 10:50:58.317: -- @0: 'False' (Type = Boolean)
  6194. 10:50:58.317: -- @1: '2024' (Type = Int32)
  6195. 10:50:58.317: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6196. 10:50:58.317: -- Completed in 0 ms with result: 1
  6197. 10:50:58.318:
  6198. 10:50:58.318: UPDATE [dbo].[Task]
  6199. SET [DocumentId] = @0
  6200. WHERE ([Id] = @1)
  6201. 10:50:58.318: -- @0: '2028' (Type = Int32)
  6202. 10:50:58.318: -- @1: '969' (Type = Int32)
  6203. 10:50:58.318: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6204. 10:50:58.319: -- Completed in 0 ms with result: 1
  6205. 10:50:58.319:
  6206. 10:50:58.319: UPDATE [dbo].[Task]
  6207. SET [DocumentId] = @0
  6208. WHERE ([Id] = @1)
  6209. 10:50:58.319: -- @0: '2019' (Type = Int32)
  6210. 10:50:58.32: -- @1: '970' (Type = Int32)
  6211. 10:50:58.32: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6212. 10:50:58.32: -- Completed in 0 ms with result: 1
  6213. 10:50:58.32:
  6214. 10:50:58.32: UPDATE [dbo].[Task]
  6215. SET [DocumentId] = @0
  6216. WHERE ([Id] = @1)
  6217. 10:50:58.321: -- @0: '2030' (Type = Int32)
  6218. 10:50:58.321: -- @1: '971' (Type = Int32)
  6219. 10:50:58.321: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6220. 10:50:58.321: -- Completed in 0 ms with result: 1
  6221. 10:50:58.322:
  6222. 10:50:58.322: UPDATE [dbo].[Task]
  6223. SET [DocumentId] = @0
  6224. WHERE ([Id] = @1)
  6225. 10:50:58.322: -- @0: '2021' (Type = Int32)
  6226. 10:50:58.322: -- @1: '972' (Type = Int32)
  6227. 10:50:58.322: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6228. 10:50:58.323: -- Completed in 0 ms with result: 1
  6229. 10:50:58.323:
  6230. 10:50:58.323: UPDATE [dbo].[Task]
  6231. SET [DocumentId] = @0
  6232. WHERE ([Id] = @1)
  6233. 10:50:58.323: -- @0: '2032' (Type = Int32)
  6234. 10:50:58.324: -- @1: '973' (Type = Int32)
  6235. 10:50:58.324: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6236. 10:50:58.324: -- Completed in 0 ms with result: 1
  6237. 10:50:58.324:
  6238. 10:50:58.325: UPDATE [dbo].[Task]
  6239. SET [DocumentId] = @0
  6240. WHERE ([Id] = @1)
  6241. 10:50:58.325: -- @0: '2023' (Type = Int32)
  6242. 10:50:58.325: -- @1: '974' (Type = Int32)
  6243. 10:50:58.325: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6244. 10:50:58.326: -- Completed in 0 ms with result: 1
  6245. 10:50:58.326:
  6246. 10:50:58.326: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  6247. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  6248. SELECT [Id]
  6249. FROM [dbo].[Document]
  6250. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.326:
  6251. 10:50:58.326: -- @0: '10:50 AM_6' (Type = String, Size = 256)
  6252. 10:50:58.327: -- @1: '2.0' (Type = String, Size = 64)
  6253. 10:50:58.327: -- @2: 'test.bin' (Type = String, Size = 256)
  6254. 10:50:58.327: -- @3: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6255. 10:50:58.327: -- @4: 'True' (Type = Boolean)
  6256. 10:50:58.327: -- @5: '2024' (Type = Int32)
  6257. 10:50:58.327: -- @6: '6' (Type = Int32)
  6258. 10:50:58.327: -- @7: '1' (Type = Int32)
  6259. 10:50:58.328: -- @8: '2' (Type = Int32)
  6260. 10:50:58.328: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  6261. 10:50:58.328: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  6262. 10:50:58.328: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6263. 10:50:58.329: -- Completed in 0 ms with result: SqlDataReader
  6264. 10:50:58.329:
  6265. 10:50:58.329: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  6266. VALUES (@0, NULL, @1)
  6267. SELECT [Id]
  6268. FROM [dbo].[ProcessQueue]
  6269. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.329:
  6270. 10:50:58.33: -- @0: '2034' (Type = Int32)
  6271. 10:50:58.33: -- @1: '2' (Type = Int32)
  6272. 10:50:58.33: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6273. 10:50:58.33: -- Completed in 0 ms with result: SqlDataReader
  6274. 10:50:58.331:
  6275. 10:50:58.331: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  6276. VALUES (@0, NULL, @1)
  6277. SELECT [Id]
  6278. FROM [dbo].[ProcessQueue]
  6279. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.331:
  6280. 10:50:58.331: -- @0: '2034' (Type = Int32)
  6281. 10:50:58.331: -- @1: '3' (Type = Int32)
  6282. 10:50:58.332: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6283. 10:50:58.332: -- Completed in 0 ms with result: SqlDataReader
  6284. 10:50:58.332:
  6285. 10:50:58.332: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  6286. VALUES (@0, NULL, @1)
  6287. SELECT [Id]
  6288. FROM [dbo].[ProcessQueue]
  6289. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.333:
  6290. 10:50:58.333: -- @0: '2034' (Type = Int32)
  6291. 10:50:58.333: -- @1: '1' (Type = Int32)
  6292. 10:50:58.333: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6293. 10:50:58.334: -- Completed in 0 ms with result: SqlDataReader
  6294. 10:50:58.334:
  6295. 10:50:58.334: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  6296. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  6297. SELECT [Id]
  6298. FROM [dbo].[ProcessQueueItem]
  6299. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.334:
  6300. 10:50:58.334: -- @0: '1' (Type = Int32)
  6301. 10:50:58.335: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  6302. 10:50:58.335: -- @2: '6106' (Type = Int32)
  6303. 10:50:58.335: -- @3: '1' (Type = Int32)
  6304. 10:50:58.335: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6305. 10:50:58.336: -- Completed in 0 ms with result: SqlDataReader
  6306. 10:50:58.336:
  6307. 10:50:58.336: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  6308. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  6309. SELECT [Id]
  6310. FROM [dbo].[ProcessQueueItem]
  6311. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.336:
  6312. 10:50:58.336: -- @0: '1' (Type = Int32)
  6313. 10:50:58.337: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  6314. 10:50:58.337: -- @2: '6107' (Type = Int32)
  6315. 10:50:58.337: -- @3: '1' (Type = Int32)
  6316. 10:50:58.337: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6317. 10:50:58.338: -- Completed in 0 ms with result: SqlDataReader
  6318. 10:50:58.338:
  6319. 10:50:58.338: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  6320. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  6321. SELECT [Id]
  6322. FROM [dbo].[ProcessQueueItem]
  6323. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.338:
  6324. 10:50:58.339: -- @0: '1' (Type = Int32)
  6325. 10:50:58.339: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  6326. 10:50:58.339: -- @2: '6108' (Type = Int32)
  6327. 10:50:58.339: -- @3: '1' (Type = Int32)
  6328. 10:50:58.339: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6329. 10:50:58.34: -- Completed in 0 ms with result: SqlDataReader
  6330. 10:50:58.34:
  6331. 10:50:58.341: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6332. 10:50:58.341: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6333. 10:50:58.342: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6334. 10:50:58.343: SELECT
  6335. [Extent1].[ID] AS [ID],
  6336. [Extent1].[Name] AS [Name],
  6337. [Extent1].[SourceSystemId] AS [SourceSystemId],
  6338. [Extent1].[ID_ActionType] AS [ID_ActionType],
  6339. [Extent1].[ID_Group] AS [ID_Group]
  6340. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.343:
  6341. 10:50:58.343: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6342. 10:50:58.343: -- Completed in 0 ms with result: SqlDataReader
  6343. 10:50:58.344:
  6344. 10:50:58.344: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6345. 10:50:58.344: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6346. 10:50:58.345: SELECT TOP (2)
  6347. [Extent1].[Id] AS [Id],
  6348. [Extent1].[Name] AS [Name]
  6349. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  6350. WHERE 'New' = [Extent1].[Name]10:50:58.345:
  6351. 10:50:58.345: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6352. 10:50:58.345: -- Completed in 0 ms with result: SqlDataReader
  6353. 10:50:58.346:
  6354. 10:50:58.346: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6355. 10:50:58.346: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6356. 10:50:58.346: SELECT
  6357. [Extent1].[ID] AS [ID],
  6358. [Extent1].[Name] AS [Name],
  6359. [Extent1].[SourceSystemId] AS [SourceSystemId],
  6360. [Extent1].[ID_ActionType] AS [ID_ActionType],
  6361. [Extent1].[ID_Group] AS [ID_Group]
  6362. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.346:
  6363. 10:50:58.347: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6364. 10:50:58.347: -- Completed in 0 ms with result: SqlDataReader
  6365. 10:50:58.347:
  6366. 10:50:58.347: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6367. 10:50:58.348: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6368. 10:50:58.348: SELECT TOP (2)
  6369. [Extent1].[Id] AS [Id],
  6370. [Extent1].[Name] AS [Name]
  6371. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  6372. WHERE 'New' = [Extent1].[Name]10:50:58.348:
  6373. 10:50:58.349: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6374. 10:50:58.349: -- Completed in 0 ms with result: SqlDataReader
  6375. 10:50:58.349:
  6376. 10:50:58.349: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6377. 10:50:58.35: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6378. 10:50:58.35: SELECT TOP (2)
  6379. [Extent1].[Id] AS [Id],
  6380. [Extent1].[Name] AS [Name]
  6381. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  6382. WHERE 'Sent' = [Extent1].[Name]10:50:58.35:
  6383. 10:50:58.351: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6384. 10:50:58.351: -- Completed in 0 ms with result: SqlDataReader
  6385. 10:50:58.351:
  6386. 10:50:58.351: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6387. 10:50:58.352: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6388. 10:50:58.352: SELECT TOP (2)
  6389. [Extent1].[Id] AS [Id],
  6390. [Extent1].[Name] AS [Name]
  6391. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  6392. WHERE 'New' = [Extent1].[Name]10:50:58.352:
  6393. 10:50:58.352: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6394. 10:50:58.353: -- Completed in 0 ms with result: SqlDataReader
  6395. 10:50:58.353:
  6396. 10:50:58.353: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6397. 10:50:58.359: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6398. 10:50:58.359: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6399. 10:50:58.362: UPDATE [dbo].[ProcessQueueItem]
  6400. SET [StatusId] = @0, [Sent] = @1
  6401. WHERE ([Id] = @2)
  6402. 10:50:58.362: -- @0: '2' (Type = Int32)
  6403. 10:50:58.362: -- @1: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6404. 10:50:58.363: -- @2: '6056' (Type = Int32)
  6405. 10:50:58.363: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6406. 10:50:58.363: -- Completed in 0 ms with result: 1
  6407. 10:50:58.363:
  6408. 10:50:58.364: UPDATE [dbo].[Task]
  6409. SET [DocumentId] = @0
  6410. WHERE ([Id] = @1)
  6411. 10:50:58.364: -- @0: '2018' (Type = Int32)
  6412. 10:50:58.364: -- @1: '969' (Type = Int32)
  6413. 10:50:58.364: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6414. 10:50:58.365: -- Completed in 0 ms with result: 1
  6415. 10:50:58.365:
  6416. 10:50:58.365: UPDATE [dbo].[Task]
  6417. SET [DocumentId] = @0
  6418. WHERE ([Id] = @1)
  6419. 10:50:58.365: -- @0: '2029' (Type = Int32)
  6420. 10:50:58.365: -- @1: '970' (Type = Int32)
  6421. 10:50:58.366: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6422. 10:50:58.366: -- Completed in 0 ms with result: 1
  6423. 10:50:58.366:
  6424. 10:50:58.366: UPDATE [dbo].[Task]
  6425. SET [DocumentId] = @0
  6426. WHERE ([Id] = @1)
  6427. 10:50:58.367: -- @0: '2020' (Type = Int32)
  6428. 10:50:58.367: -- @1: '971' (Type = Int32)
  6429. 10:50:58.367: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6430. 10:50:58.367: -- Completed in 0 ms with result: 1
  6431. 10:50:58.368:
  6432. 10:50:58.368: UPDATE [dbo].[Task]
  6433. SET [DocumentId] = @0
  6434. WHERE ([Id] = @1)
  6435. 10:50:58.368: -- @0: '2031' (Type = Int32)
  6436. 10:50:58.368: -- @1: '972' (Type = Int32)
  6437. 10:50:58.368: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6438. 10:50:58.369: -- Completed in 0 ms with result: 1
  6439. 10:50:58.369:
  6440. 10:50:58.369: UPDATE [dbo].[Task]
  6441. SET [DocumentId] = @0
  6442. WHERE ([Id] = @1)
  6443. 10:50:58.369: -- @0: '2022' (Type = Int32)
  6444. 10:50:58.37: -- @1: '973' (Type = Int32)
  6445. 10:50:58.37: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6446. 10:50:58.37: -- Completed in 0 ms with result: 1
  6447. 10:50:58.37:
  6448. 10:50:58.371: UPDATE [dbo].[Task]
  6449. SET [DocumentId] = @0
  6450. WHERE ([Id] = @1)
  6451. 10:50:58.371: -- @0: '2033' (Type = Int32)
  6452. 10:50:58.371: -- @1: '974' (Type = Int32)
  6453. 10:50:58.371: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6454. 10:50:58.372: -- Completed in 0 ms with result: 1
  6455. 10:50:58.372:
  6456. 10:50:58.372: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6457. 10:50:58.373: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6458. 10:50:58.374: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6459. 10:50:58.374: SELECT TOP (2)
  6460. [Extent1].[Id] AS [Id],
  6461. [Extent1].[Name] AS [Name]
  6462. FROM [dbo].[TaskStatus] AS [Extent1]
  6463. WHERE N'New' = [Extent1].[Name]10:50:58.374:
  6464. 10:50:58.374: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6465. 10:50:58.375: -- Completed in 0 ms with result: SqlDataReader
  6466. 10:50:58.375:
  6467. 10:50:58.375: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6468. 10:50:58.385: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6469. 10:50:58.385: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6470. 10:50:58.387: UPDATE [dbo].[Task]
  6471. SET [DocumentId] = @0
  6472. WHERE ([Id] = @1)
  6473. 10:50:58.388: -- @0: '2018' (Type = Int32)
  6474. 10:50:58.388: -- @1: '969' (Type = Int32)
  6475. 10:50:58.388: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6476. 10:50:58.388: -- Completed in 0 ms with result: 1
  6477. 10:50:58.389:
  6478. 10:50:58.389: UPDATE [dbo].[Task]
  6479. SET [DocumentId] = @0
  6480. WHERE ([Id] = @1)
  6481. 10:50:58.389: -- @0: '2029' (Type = Int32)
  6482. 10:50:58.389: -- @1: '970' (Type = Int32)
  6483. 10:50:58.389: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6484. 10:50:58.39: -- Completed in 0 ms with result: 1
  6485. 10:50:58.39:
  6486. 10:50:58.39: UPDATE [dbo].[Task]
  6487. SET [DocumentId] = @0
  6488. WHERE ([Id] = @1)
  6489. 10:50:58.39: -- @0: '2020' (Type = Int32)
  6490. 10:50:58.391: -- @1: '971' (Type = Int32)
  6491. 10:50:58.391: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6492. 10:50:58.391: -- Completed in 0 ms with result: 1
  6493. 10:50:58.391:
  6494. 10:50:58.392: UPDATE [dbo].[Task]
  6495. SET [DocumentId] = @0
  6496. WHERE ([Id] = @1)
  6497. 10:50:58.392: -- @0: '2031' (Type = Int32)
  6498. 10:50:58.392: -- @1: '972' (Type = Int32)
  6499. 10:50:58.392: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6500. 10:50:58.392: -- Completed in 0 ms with result: 1
  6501. 10:50:58.393:
  6502. 10:50:58.393: UPDATE [dbo].[Task]
  6503. SET [DocumentId] = @0
  6504. WHERE ([Id] = @1)
  6505. 10:50:58.393: -- @0: '2022' (Type = Int32)
  6506. 10:50:58.393: -- @1: '973' (Type = Int32)
  6507. 10:50:58.394: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6508. 10:50:58.394: -- Completed in 0 ms with result: 1
  6509. 10:50:58.394:
  6510. 10:50:58.394: UPDATE [dbo].[Task]
  6511. SET [DocumentId] = @0
  6512. WHERE ([Id] = @1)
  6513. 10:50:58.394: -- @0: '2033' (Type = Int32)
  6514. 10:50:58.395: -- @1: '974' (Type = Int32)
  6515. 10:50:58.395: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6516. 10:50:58.395: -- Completed in 0 ms with result: 1
  6517. 10:50:58.395:
  6518. 10:50:58.396: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  6519. VALUES (NULL, @0)
  6520. SELECT [Id]
  6521. FROM [dbo].[TaskPerformer]
  6522. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.396:
  6523. 10:50:58.396: -- @0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  6524. 10:50:58.396: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6525. 10:50:58.397: -- Completed in 0 ms with result: SqlDataReader
  6526. 10:50:58.397:
  6527. 10:50:58.397: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6528. 10:50:58.398: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6529. 10:50:58.408: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6530. 10:50:58.408: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6531. 10:50:58.411: UPDATE [dbo].[Task]
  6532. SET [DocumentId] = @0
  6533. WHERE ([Id] = @1)
  6534. 10:50:58.411: -- @0: '2018' (Type = Int32)
  6535. 10:50:58.412: -- @1: '969' (Type = Int32)
  6536. 10:50:58.412: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6537. 10:50:58.412: -- Completed in 0 ms with result: 1
  6538. 10:50:58.412:
  6539. 10:50:58.413: UPDATE [dbo].[Task]
  6540. SET [DocumentId] = @0
  6541. WHERE ([Id] = @1)
  6542. 10:50:58.413: -- @0: '2029' (Type = Int32)
  6543. 10:50:58.413: -- @1: '970' (Type = Int32)
  6544. 10:50:58.413: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6545. 10:50:58.414: -- Completed in 0 ms with result: 1
  6546. 10:50:58.414:
  6547. 10:50:58.414: UPDATE [dbo].[Task]
  6548. SET [DocumentId] = @0
  6549. WHERE ([Id] = @1)
  6550. 10:50:58.414: -- @0: '2020' (Type = Int32)
  6551. 10:50:58.414: -- @1: '971' (Type = Int32)
  6552. 10:50:58.415: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6553. 10:50:58.415: -- Completed in 0 ms with result: 1
  6554. 10:50:58.415:
  6555. 10:50:58.415: UPDATE [dbo].[Task]
  6556. SET [DocumentId] = @0
  6557. WHERE ([Id] = @1)
  6558. 10:50:58.416: -- @0: '2031' (Type = Int32)
  6559. 10:50:58.416: -- @1: '972' (Type = Int32)
  6560. 10:50:58.416: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6561. 10:50:58.416: -- Completed in 0 ms with result: 1
  6562. 10:50:58.417:
  6563. 10:50:58.417: UPDATE [dbo].[Task]
  6564. SET [DocumentId] = @0
  6565. WHERE ([Id] = @1)
  6566. 10:50:58.417: -- @0: '2022' (Type = Int32)
  6567. 10:50:58.417: -- @1: '973' (Type = Int32)
  6568. 10:50:58.417: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6569. 10:50:58.418: -- Completed in 0 ms with result: 1
  6570. 10:50:58.418:
  6571. 10:50:58.418: UPDATE [dbo].[Task]
  6572. SET [DocumentId] = @0
  6573. WHERE ([Id] = @1)
  6574. 10:50:58.418: -- @0: '2033' (Type = Int32)
  6575. 10:50:58.419: -- @1: '974' (Type = Int32)
  6576. 10:50:58.419: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6577. 10:50:58.419: -- Completed in 0 ms with result: 1
  6578. 10:50:58.419:
  6579. 10:50:58.42: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  6580. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  6581. SELECT [Id]
  6582. FROM [dbo].[Task]
  6583. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.42:
  6584. 10:50:58.42: -- @0: '2024' (Type = Int32)
  6585. 10:50:58.42: -- @1: '1' (Type = Int32)
  6586. 10:50:58.42: -- @2: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6587. 10:50:58.421: -- @3: '980' (Type = Int32)
  6588. 10:50:58.421: -- @4: '1' (Type = Int32)
  6589. 10:50:58.421: -- @5: '975' (Type = Int32)
  6590. 10:50:58.421: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6591. 10:50:58.422: -- Completed in 0 ms with result: SqlDataReader
  6592. 10:50:58.422:
  6593. 10:50:58.422: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6594. 10:50:58.423: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6595. 10:50:58.424: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6596. 10:50:58.424: SELECT TOP (1)
  6597. [Extent1].[RoleId] AS [RoleId],
  6598. [Extent1].[ApplicationId] AS [ApplicationId],
  6599. [Extent1].[RoleName] AS [RoleName],
  6600. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  6601. [Extent1].[Description] AS [Description]
  6602. FROM [dbo].[aspnet_Roles] AS [Extent1]
  6603. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.424:
  6604. 10:50:58.425: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  6605. 10:50:58.425: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6606. 10:50:58.425: -- Completed in 0 ms with result: SqlDataReader
  6607. 10:50:58.425:
  6608. 10:50:58.426: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6609. 10:50:58.426: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6610. 10:50:58.426: SELECT TOP (2)
  6611. [Extent1].[ID] AS [ID],
  6612. [Extent1].[Name] AS [Name]
  6613. FROM [dbo].[AuditAction] AS [Extent1]
  6614. WHERE [Extent1].[ID] = @p__linq__010:50:58.427:
  6615. 10:50:58.427: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  6616. 10:50:58.427: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6617. 10:50:58.427: -- Completed in 0 ms with result: SqlDataReader
  6618. 10:50:58.427:
  6619. 10:50:58.427: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6620. 10:50:58.437: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6621. 10:50:58.438: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6622. 10:50:58.44: UPDATE [dbo].[Task]
  6623. SET [DocumentId] = @0
  6624. WHERE ([Id] = @1)
  6625. 10:50:58.441: -- @0: '2018' (Type = Int32)
  6626. 10:50:58.441: -- @1: '969' (Type = Int32)
  6627. 10:50:58.441: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6628. 10:50:58.441: -- Completed in 0 ms with result: 1
  6629. 10:50:58.442:
  6630. 10:50:58.442: UPDATE [dbo].[Task]
  6631. SET [DocumentId] = @0
  6632. WHERE ([Id] = @1)
  6633. 10:50:58.442: -- @0: '2029' (Type = Int32)
  6634. 10:50:58.442: -- @1: '970' (Type = Int32)
  6635. 10:50:58.442: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6636. 10:50:58.443: -- Completed in 0 ms with result: 1
  6637. 10:50:58.443:
  6638. 10:50:58.443: UPDATE [dbo].[Task]
  6639. SET [DocumentId] = @0
  6640. WHERE ([Id] = @1)
  6641. 10:50:58.443: -- @0: '2020' (Type = Int32)
  6642. 10:50:58.444: -- @1: '971' (Type = Int32)
  6643. 10:50:58.444: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6644. 10:50:58.444: -- Completed in 0 ms with result: 1
  6645. 10:50:58.444:
  6646. 10:50:58.445: UPDATE [dbo].[Task]
  6647. SET [DocumentId] = @0
  6648. WHERE ([Id] = @1)
  6649. 10:50:58.445: -- @0: '2031' (Type = Int32)
  6650. 10:50:58.445: -- @1: '972' (Type = Int32)
  6651. 10:50:58.445: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6652. 10:50:58.445: -- Completed in 0 ms with result: 1
  6653. 10:50:58.446:
  6654. 10:50:58.446: UPDATE [dbo].[Task]
  6655. SET [DocumentId] = @0
  6656. WHERE ([Id] = @1)
  6657. 10:50:58.446: -- @0: '2022' (Type = Int32)
  6658. 10:50:58.446: -- @1: '973' (Type = Int32)
  6659. 10:50:58.446: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6660. 10:50:58.447: -- Completed in 0 ms with result: 1
  6661. 10:50:58.447:
  6662. 10:50:58.447: UPDATE [dbo].[Task]
  6663. SET [DocumentId] = @0
  6664. WHERE ([Id] = @1)
  6665. 10:50:58.447: -- @0: '2033' (Type = Int32)
  6666. 10:50:58.448: -- @1: '974' (Type = Int32)
  6667. 10:50:58.448: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6668. 10:50:58.448: -- Completed in 0 ms with result: 1
  6669. 10:50:58.448:
  6670. 10:50:58.449: UPDATE [dbo].[Task]
  6671. SET [DocumentId] = @0
  6672. WHERE ([Id] = @1)
  6673. 10:50:58.449: -- @0: '2024' (Type = Int32)
  6674. 10:50:58.449: -- @1: '975' (Type = Int32)
  6675. 10:50:58.449: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6676. 10:50:58.45: -- Completed in 0 ms with result: 1
  6677. 10:50:58.45:
  6678. 10:50:58.45: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  6679. VALUES (@0, @1, @2, @3, @4)
  6680. SELECT [ID]
  6681. FROM [dbo].[AuditTrail]
  6682. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:58.45:
  6683. 10:50:58.45: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6684. 10:50:58.451: -- @1: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  6685. 10:50:58.451: -- @2: '2' (Type = Int32)
  6686. 10:50:58.451: -- @3: '2024' (Type = Int32)
  6687. 10:50:58.451: -- @4: '975' (Type = Int32)
  6688. 10:50:58.451: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6689. 10:50:58.452: -- Completed in 0 ms with result: SqlDataReader
  6690. 10:50:58.452:
  6691. 10:50:58.452: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6692. 10:50:58.453: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6693. 10:50:58.454: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6694. 10:50:58.454: SELECT TOP (2)
  6695. [Extent1].[ID] AS [ID],
  6696. [Extent1].[Name] AS [Name]
  6697. FROM [dbo].[AuditAction] AS [Extent1]
  6698. WHERE [Extent1].[ID] = @p__linq__010:50:58.454:
  6699. 10:50:58.455: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  6700. 10:50:58.455: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6701. 10:50:58.455: -- Completed in 0 ms with result: SqlDataReader
  6702. 10:50:58.455:
  6703. 10:50:58.456: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6704. 10:50:58.465: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6705. 10:50:58.466: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6706. 10:50:58.469: UPDATE [dbo].[Task]
  6707. SET [DocumentId] = @0
  6708. WHERE ([Id] = @1)
  6709. 10:50:58.469: -- @0: '2018' (Type = Int32)
  6710. 10:50:58.469: -- @1: '969' (Type = Int32)
  6711. 10:50:58.469: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6712. 10:50:58.47: -- Completed in 0 ms with result: 1
  6713. 10:50:58.47:
  6714. 10:50:58.47: UPDATE [dbo].[Task]
  6715. SET [DocumentId] = @0
  6716. WHERE ([Id] = @1)
  6717. 10:50:58.47: -- @0: '2029' (Type = Int32)
  6718. 10:50:58.471: -- @1: '970' (Type = Int32)
  6719. 10:50:58.471: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6720. 10:50:58.471: -- Completed in 0 ms with result: 1
  6721. 10:50:58.471:
  6722. 10:50:58.472: UPDATE [dbo].[Task]
  6723. SET [DocumentId] = @0
  6724. WHERE ([Id] = @1)
  6725. 10:50:58.472: -- @0: '2020' (Type = Int32)
  6726. 10:50:58.472: -- @1: '971' (Type = Int32)
  6727. 10:50:58.472: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6728. 10:50:58.473: -- Completed in 0 ms with result: 1
  6729. 10:50:58.473:
  6730. 10:50:58.473: UPDATE [dbo].[Task]
  6731. SET [DocumentId] = @0
  6732. WHERE ([Id] = @1)
  6733. 10:50:58.473: -- @0: '2031' (Type = Int32)
  6734. 10:50:58.474: -- @1: '972' (Type = Int32)
  6735. 10:50:58.474: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6736. 10:50:58.474: -- Completed in 0 ms with result: 1
  6737. 10:50:58.474:
  6738. 10:50:58.475: UPDATE [dbo].[Task]
  6739. SET [DocumentId] = @0
  6740. WHERE ([Id] = @1)
  6741. 10:50:58.475: -- @0: '2022' (Type = Int32)
  6742. 10:50:58.475: -- @1: '973' (Type = Int32)
  6743. 10:50:58.475: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6744. 10:50:58.476: -- Completed in 0 ms with result: 1
  6745. 10:50:58.476:
  6746. 10:50:58.476: UPDATE [dbo].[Task]
  6747. SET [DocumentId] = @0
  6748. WHERE ([Id] = @1)
  6749. 10:50:58.476: -- @0: '2033' (Type = Int32)
  6750. 10:50:58.476: -- @1: '974' (Type = Int32)
  6751. 10:50:58.477: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6752. 10:50:58.477: -- Completed in 0 ms with result: 1
  6753. 10:50:58.477:
  6754. 10:50:58.477: UPDATE [dbo].[Task]
  6755. SET [DocumentId] = @0
  6756. WHERE ([Id] = @1)
  6757. 10:50:58.478: -- @0: '2024' (Type = Int32)
  6758. 10:50:58.478: -- @1: '975' (Type = Int32)
  6759. 10:50:58.478: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6760. 10:50:58.479: -- Completed in 0 ms with result: 1
  6761. 10:50:58.479:
  6762. 10:50:58.479: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  6763. VALUES (@0, @1, @2, @3, @4)
  6764. SELECT [ID]
  6765. FROM [dbo].[AuditTrail]
  6766. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:58.479:
  6767. 10:50:58.48: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6768. 10:50:58.48: -- @1: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  6769. 10:50:58.481: -- @2: '2' (Type = Int32)
  6770. 10:50:58.481: -- @3: '2024' (Type = Int32)
  6771. 10:50:58.482: -- @4: '975' (Type = Int32)
  6772. 10:50:58.482: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6773. 10:50:58.486: -- Completed in 0 ms with result: SqlDataReader
  6774. 10:50:58.489:
  6775. 10:50:58.492: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6776. 10:50:58.493: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6777. 10:50:58.494: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6778. 10:50:58.495: SELECT TOP (1)
  6779. [Extent1].[RoleId] AS [RoleId],
  6780. [Extent1].[ApplicationId] AS [ApplicationId],
  6781. [Extent1].[RoleName] AS [RoleName],
  6782. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  6783. [Extent1].[Description] AS [Description]
  6784. FROM [dbo].[aspnet_Roles] AS [Extent1]
  6785. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.495:
  6786. 10:50:58.495: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  6787. 10:50:58.496: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6788. 10:50:58.497: -- Completed in 0 ms with result: SqlDataReader
  6789. 10:50:58.499:
  6790. 10:50:58.5: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6791. 10:50:58.501: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6792. 10:50:58.503: SELECT TOP (2)
  6793. [Extent1].[ID] AS [ID],
  6794. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  6795. [Extent1].[FirstName] AS [FirstName],
  6796. [Extent1].[LastName] AS [LastName],
  6797. [Extent1].[Active] AS [Active]
  6798. FROM [dbo].[User] AS [Extent1]
  6799. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.503:
  6800. 10:50:58.504: -- p__linq__0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid, IsNullable = false)
  6801. 10:50:58.504: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6802. 10:50:58.504: -- Completed in 0 ms with result: SqlDataReader
  6803. 10:50:58.505:
  6804. 10:50:58.505: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6805. Exception thrown: 'System.NullReferenceException' in Core.dll
  6806. 10:50:58.517: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6807. 10:50:58.518: SELECT TOP (2)
  6808. [Extent1].[ID] AS [ID],
  6809. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  6810. [Extent1].[FirstName] AS [FirstName],
  6811. [Extent1].[LastName] AS [LastName],
  6812. [Extent1].[Active] AS [Active]
  6813. FROM [dbo].[User] AS [Extent1]
  6814. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.518:
  6815. 10:50:58.518: -- p__linq__0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid, IsNullable = false)
  6816. 10:50:58.518: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6817. 10:50:58.519: -- Completed in 0 ms with result: SqlDataReader
  6818. 10:50:58.519:
  6819. 10:50:58.519: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6820. Exception thrown: 'System.NullReferenceException' in Core.dll
  6821. 10:50:58.531: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6822. 10:50:58.531: SELECT TOP (1)
  6823. [Extent1].[Id] AS [Id],
  6824. [Extent1].[Name] AS [Name],
  6825. [Extent1].[FirstStage] AS [FirstStage]
  6826. FROM [dbo].[BusinessProcess] AS [Extent1]
  6827. WHERE [Extent1].[Name] = @p__linq__010:50:58.531:
  6828. 10:50:58.532: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  6829. 10:50:58.532: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6830. 10:50:58.532: -- Completed in 0 ms with result: SqlDataReader
  6831. 10:50:58.533:
  6832. 10:50:58.533: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6833. 10:50:58.543: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6834. 10:50:58.544: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6835. 10:50:58.547: UPDATE [dbo].[Document]
  6836. SET [DocumentStatusId] = @0
  6837. WHERE ([Id] = @1)
  6838. 10:50:58.547: -- @0: '1' (Type = Int32)
  6839. 10:50:58.547: -- @1: '2034' (Type = Int32)
  6840. 10:50:58.547: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6841. 10:50:58.548: -- Completed in 0 ms with result: 1
  6842. 10:50:58.548:
  6843. 10:50:58.548: UPDATE [dbo].[Task]
  6844. SET [DocumentId] = @0
  6845. WHERE ([Id] = @1)
  6846. 10:50:58.549: -- @0: '2018' (Type = Int32)
  6847. 10:50:58.549: -- @1: '969' (Type = Int32)
  6848. 10:50:58.549: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6849. 10:50:58.549: -- Completed in 0 ms with result: 1
  6850. 10:50:58.55:
  6851. 10:50:58.55: UPDATE [dbo].[Task]
  6852. SET [DocumentId] = @0
  6853. WHERE ([Id] = @1)
  6854. 10:50:58.55: -- @0: '2029' (Type = Int32)
  6855. 10:50:58.55: -- @1: '970' (Type = Int32)
  6856. 10:50:58.55: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6857. 10:50:58.551: -- Completed in 0 ms with result: 1
  6858. 10:50:58.551:
  6859. 10:50:58.551: UPDATE [dbo].[Task]
  6860. SET [DocumentId] = @0
  6861. WHERE ([Id] = @1)
  6862. 10:50:58.552: -- @0: '2020' (Type = Int32)
  6863. 10:50:58.552: -- @1: '971' (Type = Int32)
  6864. 10:50:58.552: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6865. 10:50:58.552: -- Completed in 0 ms with result: 1
  6866. 10:50:58.552:
  6867. 10:50:58.553: UPDATE [dbo].[Task]
  6868. SET [DocumentId] = @0
  6869. WHERE ([Id] = @1)
  6870. 10:50:58.553: -- @0: '2031' (Type = Int32)
  6871. 10:50:58.553: -- @1: '972' (Type = Int32)
  6872. 10:50:58.553: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6873. 10:50:58.554: -- Completed in 0 ms with result: 1
  6874. 10:50:58.554:
  6875. 10:50:58.554: UPDATE [dbo].[Task]
  6876. SET [DocumentId] = @0
  6877. WHERE ([Id] = @1)
  6878. 10:50:58.554: -- @0: '2022' (Type = Int32)
  6879. 10:50:58.555: -- @1: '973' (Type = Int32)
  6880. 10:50:58.555: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6881. 10:50:58.555: -- Completed in 0 ms with result: 1
  6882. 10:50:58.555:
  6883. 10:50:58.556: UPDATE [dbo].[Task]
  6884. SET [DocumentId] = @0
  6885. WHERE ([Id] = @1)
  6886. 10:50:58.556: -- @0: '2033' (Type = Int32)
  6887. 10:50:58.556: -- @1: '974' (Type = Int32)
  6888. 10:50:58.556: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6889. 10:50:58.556: -- Completed in 0 ms with result: 1
  6890. 10:50:58.557:
  6891. 10:50:58.557: UPDATE [dbo].[Task]
  6892. SET [DocumentId] = @0
  6893. WHERE ([Id] = @1)
  6894. 10:50:58.557: -- @0: '2024' (Type = Int32)
  6895. 10:50:58.557: -- @1: '975' (Type = Int32)
  6896. 10:50:58.558: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6897. 10:50:58.558: -- Completed in 0 ms with result: 1
  6898. 10:50:58.558:
  6899. 10:50:58.559: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  6900. VALUES (@0, NULL, @1)
  6901. SELECT [Id]
  6902. FROM [dbo].[Workflow]
  6903. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.559:
  6904. 10:50:58.559: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  6905. 10:50:58.559: -- @1: '1' (Type = Int32)
  6906. 10:50:58.559: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6907. 10:50:58.56: -- Completed in 0 ms with result: SqlDataReader
  6908. 10:50:58.56:
  6909. 10:50:58.56: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  6910. 10:50:58.561: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6911. 10:50:58.562: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6912. 10:50:58.562: SELECT TOP (1)
  6913. [Extent1].[Id] AS [Id],
  6914. [Extent1].[Name] AS [Name],
  6915. [Extent1].[ActionTypeId] AS [ActionTypeId],
  6916. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  6917. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  6918. FROM [dbo].[Stage] AS [Extent1]
  6919. WHERE [Extent1].[Id] = @p__linq__010:50:58.563:
  6920. 10:50:58.563: -- p__linq__0: '1' (Type = Int32)
  6921. 10:50:58.563: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6922. 10:50:58.563: -- Completed in 0 ms with result: SqlDataReader
  6923. 10:50:58.564:
  6924. 10:50:58.564: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6925. 10:50:58.564: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6926. 10:50:58.564: SELECT TOP (1)
  6927. [Extent1].[ID] AS [ID],
  6928. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  6929. [Extent1].[FirstName] AS [FirstName],
  6930. [Extent1].[LastName] AS [LastName],
  6931. [Extent1].[Active] AS [Active]
  6932. FROM [dbo].[User] AS [Extent1]
  6933. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  6934. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:58.565:
  6935. 10:50:58.565: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  6936. 10:50:58.565: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6937. 10:50:58.565: -- Completed in 0 ms with result: SqlDataReader
  6938. 10:50:58.566:
  6939. 10:50:58.566: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6940. 10:50:58.566: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6941. 10:50:58.566: SELECT TOP (2)
  6942. [Extent1].[Id] AS [Id],
  6943. [Extent1].[Name] AS [Name]
  6944. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  6945. WHERE 'New' = [Extent1].[Name]10:50:58.567:
  6946. 10:50:58.567: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6947. 10:50:58.567: -- Completed in 0 ms with result: SqlDataReader
  6948. 10:50:58.567:
  6949. 10:50:58.568: Closed connection at 7/29/2016 10:50:58 AM +05:00
  6950. 10:50:58.579: Opened connection at 7/29/2016 10:50:58 AM +05:00
  6951. 10:50:58.579: Started transaction at 7/29/2016 10:50:58 AM +05:00
  6952. 10:50:58.583: UPDATE [dbo].[Document]
  6953. SET [IsCurrentVersion] = @0
  6954. WHERE ([Id] = @1)
  6955. 10:50:58.583: -- @0: 'False' (Type = Boolean)
  6956. 10:50:58.584: -- @1: '2025' (Type = Int32)
  6957. 10:50:58.584: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6958. 10:50:58.584: -- Completed in 0 ms with result: 1
  6959. 10:50:58.584:
  6960. 10:50:58.585: UPDATE [dbo].[Task]
  6961. SET [DocumentId] = @0
  6962. WHERE ([Id] = @1)
  6963. 10:50:58.585: -- @0: '2018' (Type = Int32)
  6964. 10:50:58.585: -- @1: '969' (Type = Int32)
  6965. 10:50:58.585: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6966. 10:50:58.586: -- Completed in 0 ms with result: 1
  6967. 10:50:58.586:
  6968. 10:50:58.586: UPDATE [dbo].[Task]
  6969. SET [DocumentId] = @0
  6970. WHERE ([Id] = @1)
  6971. 10:50:58.586: -- @0: '2029' (Type = Int32)
  6972. 10:50:58.586: -- @1: '970' (Type = Int32)
  6973. 10:50:58.587: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6974. 10:50:58.587: -- Completed in 0 ms with result: 1
  6975. 10:50:58.587:
  6976. 10:50:58.587: UPDATE [dbo].[Task]
  6977. SET [DocumentId] = @0
  6978. WHERE ([Id] = @1)
  6979. 10:50:58.588: -- @0: '2020' (Type = Int32)
  6980. 10:50:58.588: -- @1: '971' (Type = Int32)
  6981. 10:50:58.588: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6982. 10:50:58.588: -- Completed in 0 ms with result: 1
  6983. 10:50:58.589:
  6984. 10:50:58.589: UPDATE [dbo].[Task]
  6985. SET [DocumentId] = @0
  6986. WHERE ([Id] = @1)
  6987. 10:50:58.589: -- @0: '2031' (Type = Int32)
  6988. 10:50:58.589: -- @1: '972' (Type = Int32)
  6989. 10:50:58.589: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6990. 10:50:58.59: -- Completed in 0 ms with result: 1
  6991. 10:50:58.59:
  6992. 10:50:58.59: UPDATE [dbo].[Task]
  6993. SET [DocumentId] = @0
  6994. WHERE ([Id] = @1)
  6995. 10:50:58.59: -- @0: '2022' (Type = Int32)
  6996. 10:50:58.591: -- @1: '973' (Type = Int32)
  6997. 10:50:58.591: -- Executing at 7/29/2016 10:50:58 AM +05:00
  6998. 10:50:58.591: -- Completed in 0 ms with result: 1
  6999. 10:50:58.591:
  7000. 10:50:58.591: UPDATE [dbo].[Task]
  7001. SET [DocumentId] = @0
  7002. WHERE ([Id] = @1)
  7003. 10:50:58.592: -- @0: '2033' (Type = Int32)
  7004. 10:50:58.592: -- @1: '974' (Type = Int32)
  7005. 10:50:58.592: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7006. 10:50:58.592: -- Completed in 0 ms with result: 1
  7007. 10:50:58.593:
  7008. 10:50:58.593: UPDATE [dbo].[Task]
  7009. SET [DocumentId] = @0
  7010. WHERE ([Id] = @1)
  7011. 10:50:58.593: -- @0: '2024' (Type = Int32)
  7012. 10:50:58.593: -- @1: '975' (Type = Int32)
  7013. 10:50:58.593: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7014. 10:50:58.594: -- Completed in 0 ms with result: 1
  7015. 10:50:58.594:
  7016. 10:50:58.594: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  7017. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  7018. SELECT [Id]
  7019. FROM [dbo].[Document]
  7020. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.595:
  7021. 10:50:58.595: -- @0: '10:50 AM_7' (Type = String, Size = 256)
  7022. 10:50:58.595: -- @1: '2.0' (Type = String, Size = 64)
  7023. 10:50:58.595: -- @2: 'test.bin' (Type = String, Size = 256)
  7024. 10:50:58.595: -- @3: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7025. 10:50:58.595: -- @4: 'True' (Type = Boolean)
  7026. 10:50:58.596: -- @5: '2025' (Type = Int32)
  7027. 10:50:58.596: -- @6: '6' (Type = Int32)
  7028. 10:50:58.596: -- @7: '1' (Type = Int32)
  7029. 10:50:58.596: -- @8: '3' (Type = Int32)
  7030. 10:50:58.596: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  7031. 10:50:58.597: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  7032. 10:50:58.597: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7033. 10:50:58.597: -- Completed in 0 ms with result: SqlDataReader
  7034. 10:50:58.598:
  7035. 10:50:58.598: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  7036. VALUES (@0, NULL, @1)
  7037. SELECT [Id]
  7038. FROM [dbo].[ProcessQueue]
  7039. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.598:
  7040. 10:50:58.598: -- @0: '2035' (Type = Int32)
  7041. 10:50:58.598: -- @1: '2' (Type = Int32)
  7042. 10:50:58.599: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7043. 10:50:58.599: -- Completed in 0 ms with result: SqlDataReader
  7044. 10:50:58.599:
  7045. 10:50:58.6: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  7046. VALUES (@0, NULL, @1)
  7047. SELECT [Id]
  7048. FROM [dbo].[ProcessQueue]
  7049. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.6:
  7050. 10:50:58.6: -- @0: '2035' (Type = Int32)
  7051. 10:50:58.6: -- @1: '3' (Type = Int32)
  7052. 10:50:58.6: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7053. 10:50:58.601: -- Completed in 0 ms with result: SqlDataReader
  7054. 10:50:58.601:
  7055. 10:50:58.601: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  7056. VALUES (@0, NULL, @1)
  7057. SELECT [Id]
  7058. FROM [dbo].[ProcessQueue]
  7059. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.601:
  7060. 10:50:58.602: -- @0: '2035' (Type = Int32)
  7061. 10:50:58.602: -- @1: '1' (Type = Int32)
  7062. 10:50:58.602: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7063. 10:50:58.602: -- Completed in 0 ms with result: SqlDataReader
  7064. 10:50:58.603:
  7065. 10:50:58.603: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  7066. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  7067. SELECT [Id]
  7068. FROM [dbo].[ProcessQueueItem]
  7069. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.603:
  7070. 10:50:58.603: -- @0: '1' (Type = Int32)
  7071. 10:50:58.603: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  7072. 10:50:58.604: -- @2: '6109' (Type = Int32)
  7073. 10:50:58.604: -- @3: '1' (Type = Int32)
  7074. 10:50:58.604: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7075. 10:50:58.604: -- Completed in 0 ms with result: SqlDataReader
  7076. 10:50:58.605:
  7077. 10:50:58.605: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  7078. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  7079. SELECT [Id]
  7080. FROM [dbo].[ProcessQueueItem]
  7081. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.605:
  7082. 10:50:58.606: -- @0: '1' (Type = Int32)
  7083. 10:50:58.606: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  7084. 10:50:58.606: -- @2: '6110' (Type = Int32)
  7085. 10:50:58.606: -- @3: '1' (Type = Int32)
  7086. 10:50:58.606: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7087. 10:50:58.607: -- Completed in 0 ms with result: SqlDataReader
  7088. 10:50:58.607:
  7089. 10:50:58.607: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  7090. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  7091. SELECT [Id]
  7092. FROM [dbo].[ProcessQueueItem]
  7093. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.608:
  7094. 10:50:58.608: -- @0: '1' (Type = Int32)
  7095. 10:50:58.608: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  7096. 10:50:58.608: -- @2: '6111' (Type = Int32)
  7097. 10:50:58.608: -- @3: '1' (Type = Int32)
  7098. 10:50:58.609: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7099. 10:50:58.609: -- Completed in 0 ms with result: SqlDataReader
  7100. 10:50:58.609:
  7101. 10:50:58.61: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7102. 10:50:58.61: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7103. 10:50:58.612: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7104. 10:50:58.612: SELECT
  7105. [Extent1].[ID] AS [ID],
  7106. [Extent1].[Name] AS [Name],
  7107. [Extent1].[SourceSystemId] AS [SourceSystemId],
  7108. [Extent1].[ID_ActionType] AS [ID_ActionType],
  7109. [Extent1].[ID_Group] AS [ID_Group]
  7110. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.613:
  7111. 10:50:58.613: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7112. 10:50:58.613: -- Completed in 0 ms with result: SqlDataReader
  7113. 10:50:58.613:
  7114. 10:50:58.614: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7115. 10:50:58.614: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7116. 10:50:58.614: SELECT TOP (2)
  7117. [Extent1].[Id] AS [Id],
  7118. [Extent1].[Name] AS [Name]
  7119. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7120. WHERE 'New' = [Extent1].[Name]10:50:58.615:
  7121. 10:50:58.615: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7122. 10:50:58.615: -- Completed in 0 ms with result: SqlDataReader
  7123. 10:50:58.615:
  7124. 10:50:58.615: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7125. 10:50:58.616: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7126. 10:50:58.616: SELECT
  7127. [Extent1].[ID] AS [ID],
  7128. [Extent1].[Name] AS [Name],
  7129. [Extent1].[SourceSystemId] AS [SourceSystemId],
  7130. [Extent1].[ID_ActionType] AS [ID_ActionType],
  7131. [Extent1].[ID_Group] AS [ID_Group]
  7132. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.616:
  7133. 10:50:58.616: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7134. 10:50:58.617: -- Completed in 0 ms with result: SqlDataReader
  7135. 10:50:58.617:
  7136. 10:50:58.617: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7137. 10:50:58.618: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7138. 10:50:58.618: SELECT TOP (2)
  7139. [Extent1].[Id] AS [Id],
  7140. [Extent1].[Name] AS [Name]
  7141. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7142. WHERE 'New' = [Extent1].[Name]10:50:58.618:
  7143. 10:50:58.618: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7144. 10:50:58.619: -- Completed in 0 ms with result: SqlDataReader
  7145. 10:50:58.619:
  7146. 10:50:58.619: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7147. 10:50:58.619: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7148. 10:50:58.62: SELECT TOP (2)
  7149. [Extent1].[Id] AS [Id],
  7150. [Extent1].[Name] AS [Name]
  7151. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7152. WHERE 'Sent' = [Extent1].[Name]10:50:58.62:
  7153. 10:50:58.62: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7154. 10:50:58.62: -- Completed in 0 ms with result: SqlDataReader
  7155. 10:50:58.621:
  7156. 10:50:58.621: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7157. 10:50:58.621: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7158. 10:50:58.621: SELECT TOP (2)
  7159. [Extent1].[Id] AS [Id],
  7160. [Extent1].[Name] AS [Name]
  7161. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7162. WHERE 'New' = [Extent1].[Name]10:50:58.622:
  7163. 10:50:58.622: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7164. 10:50:58.622: -- Completed in 0 ms with result: SqlDataReader
  7165. 10:50:58.622:
  7166. 10:50:58.623: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7167. 10:50:58.628: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7168. 10:50:58.628: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7169. 10:50:58.631: UPDATE [dbo].[ProcessQueueItem]
  7170. SET [StatusId] = @0, [Sent] = @1
  7171. WHERE ([Id] = @2)
  7172. 10:50:58.632: -- @0: '2' (Type = Int32)
  7173. 10:50:58.632: -- @1: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7174. 10:50:58.632: -- @2: '6059' (Type = Int32)
  7175. 10:50:58.632: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7176. 10:50:58.633: -- Completed in 0 ms with result: 1
  7177. 10:50:58.633:
  7178. 10:50:58.633: UPDATE [dbo].[Task]
  7179. SET [DocumentId] = @0
  7180. WHERE ([Id] = @1)
  7181. 10:50:58.633: -- @0: '2028' (Type = Int32)
  7182. 10:50:58.634: -- @1: '969' (Type = Int32)
  7183. 10:50:58.634: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7184. 10:50:58.634: -- Completed in 0 ms with result: 1
  7185. 10:50:58.634:
  7186. 10:50:58.634: UPDATE [dbo].[Task]
  7187. SET [DocumentId] = @0
  7188. WHERE ([Id] = @1)
  7189. 10:50:58.635: -- @0: '2019' (Type = Int32)
  7190. 10:50:58.635: -- @1: '970' (Type = Int32)
  7191. 10:50:58.635: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7192. 10:50:58.635: -- Completed in 0 ms with result: 1
  7193. 10:50:58.636:
  7194. 10:50:58.636: UPDATE [dbo].[Task]
  7195. SET [DocumentId] = @0
  7196. WHERE ([Id] = @1)
  7197. 10:50:58.636: -- @0: '2030' (Type = Int32)
  7198. 10:50:58.636: -- @1: '971' (Type = Int32)
  7199. 10:50:58.637: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7200. 10:50:58.637: -- Completed in 0 ms with result: 1
  7201. 10:50:58.637:
  7202. 10:50:58.637: UPDATE [dbo].[Task]
  7203. SET [DocumentId] = @0
  7204. WHERE ([Id] = @1)
  7205. 10:50:58.638: -- @0: '2021' (Type = Int32)
  7206. 10:50:58.638: -- @1: '972' (Type = Int32)
  7207. 10:50:58.638: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7208. 10:50:58.638: -- Completed in 0 ms with result: 1
  7209. 10:50:58.638:
  7210. 10:50:58.639: UPDATE [dbo].[Task]
  7211. SET [DocumentId] = @0
  7212. WHERE ([Id] = @1)
  7213. 10:50:58.639: -- @0: '2032' (Type = Int32)
  7214. 10:50:58.639: -- @1: '973' (Type = Int32)
  7215. 10:50:58.639: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7216. 10:50:58.64: -- Completed in 0 ms with result: 1
  7217. 10:50:58.64:
  7218. 10:50:58.64: UPDATE [dbo].[Task]
  7219. SET [DocumentId] = @0
  7220. WHERE ([Id] = @1)
  7221. 10:50:58.64: -- @0: '2023' (Type = Int32)
  7222. 10:50:58.64: -- @1: '974' (Type = Int32)
  7223. 10:50:58.641: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7224. 10:50:58.641: -- Completed in 0 ms with result: 1
  7225. 10:50:58.641:
  7226. 10:50:58.641: UPDATE [dbo].[Task]
  7227. SET [DocumentId] = @0
  7228. WHERE ([Id] = @1)
  7229. 10:50:58.642: -- @0: '2034' (Type = Int32)
  7230. 10:50:58.642: -- @1: '975' (Type = Int32)
  7231. 10:50:58.642: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7232. 10:50:58.642: -- Completed in 0 ms with result: 1
  7233. 10:50:58.643:
  7234. 10:50:58.643: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7235. 10:50:58.643: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7236. 10:50:58.644: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7237. 10:50:58.645: SELECT TOP (2)
  7238. [Extent1].[Id] AS [Id],
  7239. [Extent1].[Name] AS [Name]
  7240. FROM [dbo].[TaskStatus] AS [Extent1]
  7241. WHERE N'New' = [Extent1].[Name]10:50:58.645:
  7242. 10:50:58.645: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7243. 10:50:58.645: -- Completed in 0 ms with result: SqlDataReader
  7244. 10:50:58.646:
  7245. 10:50:58.646: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7246. 10:50:58.656: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7247. 10:50:58.657: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7248. 10:50:58.659: UPDATE [dbo].[Task]
  7249. SET [DocumentId] = @0
  7250. WHERE ([Id] = @1)
  7251. 10:50:58.66: -- @0: '2028' (Type = Int32)
  7252. 10:50:58.66: -- @1: '969' (Type = Int32)
  7253. 10:50:58.66: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7254. 10:50:58.661: -- Completed in 0 ms with result: 1
  7255. 10:50:58.661:
  7256. 10:50:58.661: UPDATE [dbo].[Task]
  7257. SET [DocumentId] = @0
  7258. WHERE ([Id] = @1)
  7259. 10:50:58.661: -- @0: '2019' (Type = Int32)
  7260. 10:50:58.662: -- @1: '970' (Type = Int32)
  7261. 10:50:58.662: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7262. 10:50:58.662: -- Completed in 0 ms with result: 1
  7263. 10:50:58.662:
  7264. 10:50:58.662: UPDATE [dbo].[Task]
  7265. SET [DocumentId] = @0
  7266. WHERE ([Id] = @1)
  7267. 10:50:58.663: -- @0: '2030' (Type = Int32)
  7268. 10:50:58.663: -- @1: '971' (Type = Int32)
  7269. 10:50:58.663: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7270. 10:50:58.663: -- Completed in 0 ms with result: 1
  7271. 10:50:58.664:
  7272. 10:50:58.664: UPDATE [dbo].[Task]
  7273. SET [DocumentId] = @0
  7274. WHERE ([Id] = @1)
  7275. 10:50:58.664: -- @0: '2021' (Type = Int32)
  7276. 10:50:58.665: -- @1: '972' (Type = Int32)
  7277. 10:50:58.665: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7278. 10:50:58.665: -- Completed in 0 ms with result: 1
  7279. 10:50:58.665:
  7280. 10:50:58.666: UPDATE [dbo].[Task]
  7281. SET [DocumentId] = @0
  7282. WHERE ([Id] = @1)
  7283. 10:50:58.666: -- @0: '2032' (Type = Int32)
  7284. 10:50:58.666: -- @1: '973' (Type = Int32)
  7285. 10:50:58.666: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7286. 10:50:58.666: -- Completed in 0 ms with result: 1
  7287. 10:50:58.667:
  7288. 10:50:58.667: UPDATE [dbo].[Task]
  7289. SET [DocumentId] = @0
  7290. WHERE ([Id] = @1)
  7291. 10:50:58.667: -- @0: '2023' (Type = Int32)
  7292. 10:50:58.667: -- @1: '974' (Type = Int32)
  7293. 10:50:58.668: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7294. 10:50:58.668: -- Completed in 0 ms with result: 1
  7295. 10:50:58.668:
  7296. 10:50:58.668: UPDATE [dbo].[Task]
  7297. SET [DocumentId] = @0
  7298. WHERE ([Id] = @1)
  7299. 10:50:58.669: -- @0: '2034' (Type = Int32)
  7300. 10:50:58.669: -- @1: '975' (Type = Int32)
  7301. 10:50:58.669: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7302. 10:50:58.669: -- Completed in 0 ms with result: 1
  7303. 10:50:58.67:
  7304. 10:50:58.67: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  7305. VALUES (NULL, @0)
  7306. SELECT [Id]
  7307. FROM [dbo].[TaskPerformer]
  7308. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.67:
  7309. 10:50:58.67: -- @0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  7310. 10:50:58.67: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7311. 10:50:58.671: -- Completed in 0 ms with result: SqlDataReader
  7312. 10:50:58.671:
  7313. 10:50:58.672: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7314. 10:50:58.672: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7315. 10:50:58.683: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7316. 10:50:58.683: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7317. 10:50:58.686: UPDATE [dbo].[Task]
  7318. SET [DocumentId] = @0
  7319. WHERE ([Id] = @1)
  7320. 10:50:58.686: -- @0: '2028' (Type = Int32)
  7321. 10:50:58.686: -- @1: '969' (Type = Int32)
  7322. 10:50:58.687: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7323. 10:50:58.687: -- Completed in 0 ms with result: 1
  7324. 10:50:58.687:
  7325. 10:50:58.687: UPDATE [dbo].[Task]
  7326. SET [DocumentId] = @0
  7327. WHERE ([Id] = @1)
  7328. 10:50:58.688: -- @0: '2019' (Type = Int32)
  7329. 10:50:58.688: -- @1: '970' (Type = Int32)
  7330. 10:50:58.688: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7331. 10:50:58.688: -- Completed in 0 ms with result: 1
  7332. 10:50:58.689:
  7333. 10:50:58.689: UPDATE [dbo].[Task]
  7334. SET [DocumentId] = @0
  7335. WHERE ([Id] = @1)
  7336. 10:50:58.689: -- @0: '2030' (Type = Int32)
  7337. 10:50:58.689: -- @1: '971' (Type = Int32)
  7338. 10:50:58.689: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7339. 10:50:58.69: -- Completed in 0 ms with result: 1
  7340. 10:50:58.69:
  7341. 10:50:58.69: UPDATE [dbo].[Task]
  7342. SET [DocumentId] = @0
  7343. WHERE ([Id] = @1)
  7344. 10:50:58.69: -- @0: '2021' (Type = Int32)
  7345. 10:50:58.691: -- @1: '972' (Type = Int32)
  7346. 10:50:58.691: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7347. 10:50:58.691: -- Completed in 0 ms with result: 1
  7348. 10:50:58.691:
  7349. 10:50:58.691: UPDATE [dbo].[Task]
  7350. SET [DocumentId] = @0
  7351. WHERE ([Id] = @1)
  7352. 10:50:58.692: -- @0: '2032' (Type = Int32)
  7353. 10:50:58.692: -- @1: '973' (Type = Int32)
  7354. 10:50:58.692: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7355. 10:50:58.692: -- Completed in 0 ms with result: 1
  7356. 10:50:58.693:
  7357. 10:50:58.693: UPDATE [dbo].[Task]
  7358. SET [DocumentId] = @0
  7359. WHERE ([Id] = @1)
  7360. 10:50:58.693: -- @0: '2023' (Type = Int32)
  7361. 10:50:58.693: -- @1: '974' (Type = Int32)
  7362. 10:50:58.693: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7363. 10:50:58.694: -- Completed in 0 ms with result: 1
  7364. 10:50:58.694:
  7365. 10:50:58.694: UPDATE [dbo].[Task]
  7366. SET [DocumentId] = @0
  7367. WHERE ([Id] = @1)
  7368. 10:50:58.694: -- @0: '2034' (Type = Int32)
  7369. 10:50:58.695: -- @1: '975' (Type = Int32)
  7370. 10:50:58.695: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7371. 10:50:58.695: -- Completed in 0 ms with result: 1
  7372. 10:50:58.695:
  7373. 10:50:58.696: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  7374. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  7375. SELECT [Id]
  7376. FROM [dbo].[Task]
  7377. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.696:
  7378. 10:50:58.696: -- @0: '2025' (Type = Int32)
  7379. 10:50:58.696: -- @1: '1' (Type = Int32)
  7380. 10:50:58.696: -- @2: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7381. 10:50:58.697: -- @3: '981' (Type = Int32)
  7382. 10:50:58.697: -- @4: '1' (Type = Int32)
  7383. 10:50:58.697: -- @5: '976' (Type = Int32)
  7384. 10:50:58.697: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7385. 10:50:58.698: -- Completed in 0 ms with result: SqlDataReader
  7386. 10:50:58.698:
  7387. 10:50:58.698: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7388. 10:50:58.699: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7389. 10:50:58.7: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7390. 10:50:58.7: SELECT TOP (1)
  7391. [Extent1].[RoleId] AS [RoleId],
  7392. [Extent1].[ApplicationId] AS [ApplicationId],
  7393. [Extent1].[RoleName] AS [RoleName],
  7394. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  7395. [Extent1].[Description] AS [Description]
  7396. FROM [dbo].[aspnet_Roles] AS [Extent1]
  7397. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.701:
  7398. 10:50:58.701: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  7399. 10:50:58.701: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7400. 10:50:58.701: -- Completed in 0 ms with result: SqlDataReader
  7401. 10:50:58.702:
  7402. 10:50:58.702: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7403. 10:50:58.702: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7404. 10:50:58.703: SELECT TOP (2)
  7405. [Extent1].[ID] AS [ID],
  7406. [Extent1].[Name] AS [Name]
  7407. FROM [dbo].[AuditAction] AS [Extent1]
  7408. WHERE [Extent1].[ID] = @p__linq__010:50:58.703:
  7409. 10:50:58.703: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  7410. 10:50:58.703: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7411. 10:50:58.704: -- Completed in 0 ms with result: SqlDataReader
  7412. 10:50:58.704:
  7413. 10:50:58.704: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7414. 10:50:58.715: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7415. 10:50:58.716: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7416. 10:50:58.719: UPDATE [dbo].[Task]
  7417. SET [DocumentId] = @0
  7418. WHERE ([Id] = @1)
  7419. 10:50:58.719: -- @0: '2028' (Type = Int32)
  7420. 10:50:58.719: -- @1: '969' (Type = Int32)
  7421. 10:50:58.72: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7422. 10:50:58.72: -- Completed in 0 ms with result: 1
  7423. 10:50:58.72:
  7424. 10:50:58.721: UPDATE [dbo].[Task]
  7425. SET [DocumentId] = @0
  7426. WHERE ([Id] = @1)
  7427. 10:50:58.721: -- @0: '2019' (Type = Int32)
  7428. 10:50:58.721: -- @1: '970' (Type = Int32)
  7429. 10:50:58.721: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7430. 10:50:58.722: -- Completed in 0 ms with result: 1
  7431. 10:50:58.722:
  7432. 10:50:58.722: UPDATE [dbo].[Task]
  7433. SET [DocumentId] = @0
  7434. WHERE ([Id] = @1)
  7435. 10:50:58.723: -- @0: '2030' (Type = Int32)
  7436. 10:50:58.723: -- @1: '971' (Type = Int32)
  7437. 10:50:58.723: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7438. 10:50:58.724: -- Completed in 0 ms with result: 1
  7439. 10:50:58.724:
  7440. 10:50:58.724: UPDATE [dbo].[Task]
  7441. SET [DocumentId] = @0
  7442. WHERE ([Id] = @1)
  7443. 10:50:58.724: -- @0: '2021' (Type = Int32)
  7444. 10:50:58.725: -- @1: '972' (Type = Int32)
  7445. 10:50:58.725: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7446. 10:50:58.725: -- Completed in 0 ms with result: 1
  7447. 10:50:58.725:
  7448. 10:50:58.726: UPDATE [dbo].[Task]
  7449. SET [DocumentId] = @0
  7450. WHERE ([Id] = @1)
  7451. 10:50:58.726: -- @0: '2032' (Type = Int32)
  7452. 10:50:58.726: -- @1: '973' (Type = Int32)
  7453. 10:50:58.726: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7454. 10:50:58.727: -- Completed in 0 ms with result: 1
  7455. 10:50:58.727:
  7456. 10:50:58.727: UPDATE [dbo].[Task]
  7457. SET [DocumentId] = @0
  7458. WHERE ([Id] = @1)
  7459. 10:50:58.727: -- @0: '2023' (Type = Int32)
  7460. 10:50:58.727: -- @1: '974' (Type = Int32)
  7461. 10:50:58.727: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7462. 10:50:58.727: -- Completed in 0 ms with result: 1
  7463. 10:50:58.728:
  7464. 10:50:58.728: UPDATE [dbo].[Task]
  7465. SET [DocumentId] = @0
  7466. WHERE ([Id] = @1)
  7467. 10:50:58.728: -- @0: '2034' (Type = Int32)
  7468. 10:50:58.728: -- @1: '975' (Type = Int32)
  7469. 10:50:58.729: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7470. 10:50:58.729: -- Completed in 0 ms with result: 1
  7471. 10:50:58.729:
  7472. 10:50:58.729: UPDATE [dbo].[Task]
  7473. SET [DocumentId] = @0
  7474. WHERE ([Id] = @1)
  7475. 10:50:58.729: -- @0: '2025' (Type = Int32)
  7476. 10:50:58.73: -- @1: '976' (Type = Int32)
  7477. 10:50:58.73: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7478. 10:50:58.731: -- Completed in 0 ms with result: 1
  7479. 10:50:58.731:
  7480. 10:50:58.731: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  7481. VALUES (@0, @1, @2, @3, @4)
  7482. SELECT [ID]
  7483. FROM [dbo].[AuditTrail]
  7484. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:58.733:
  7485. 10:50:58.733: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7486. 10:50:58.733: -- @1: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  7487. 10:50:58.734: -- @2: '2' (Type = Int32)
  7488. 10:50:58.734: -- @3: '2025' (Type = Int32)
  7489. 10:50:58.734: -- @4: '976' (Type = Int32)
  7490. 10:50:58.734: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7491. 10:50:58.736: -- Completed in 0 ms with result: SqlDataReader
  7492. 10:50:58.737:
  7493. 10:50:58.737: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7494. 10:50:58.738: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7495. 10:50:58.739: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7496. 10:50:58.739: SELECT TOP (2)
  7497. [Extent1].[ID] AS [ID],
  7498. [Extent1].[Name] AS [Name]
  7499. FROM [dbo].[AuditAction] AS [Extent1]
  7500. WHERE [Extent1].[ID] = @p__linq__010:50:58.74:
  7501. 10:50:58.74: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  7502. 10:50:58.74: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7503. 10:50:58.741: -- Completed in 0 ms with result: SqlDataReader
  7504. 10:50:58.741:
  7505. 10:50:58.741: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7506. 10:50:58.752: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7507. 10:50:58.753: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7508. 10:50:58.756: UPDATE [dbo].[Task]
  7509. SET [DocumentId] = @0
  7510. WHERE ([Id] = @1)
  7511. 10:50:58.757: -- @0: '2028' (Type = Int32)
  7512. 10:50:58.757: -- @1: '969' (Type = Int32)
  7513. 10:50:58.757: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7514. 10:50:58.757: -- Completed in 0 ms with result: 1
  7515. 10:50:58.758:
  7516. 10:50:58.758: UPDATE [dbo].[Task]
  7517. SET [DocumentId] = @0
  7518. WHERE ([Id] = @1)
  7519. 10:50:58.758: -- @0: '2019' (Type = Int32)
  7520. 10:50:58.758: -- @1: '970' (Type = Int32)
  7521. 10:50:58.758: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7522. 10:50:58.759: -- Completed in 0 ms with result: 1
  7523. 10:50:58.759:
  7524. 10:50:58.759: UPDATE [dbo].[Task]
  7525. SET [DocumentId] = @0
  7526. WHERE ([Id] = @1)
  7527. 10:50:58.759: -- @0: '2030' (Type = Int32)
  7528. 10:50:58.76: -- @1: '971' (Type = Int32)
  7529. 10:50:58.76: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7530. 10:50:58.76: -- Completed in 0 ms with result: 1
  7531. 10:50:58.76:
  7532. 10:50:58.761: UPDATE [dbo].[Task]
  7533. SET [DocumentId] = @0
  7534. WHERE ([Id] = @1)
  7535. 10:50:58.761: -- @0: '2021' (Type = Int32)
  7536. 10:50:58.761: -- @1: '972' (Type = Int32)
  7537. 10:50:58.761: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7538. 10:50:58.762: -- Completed in 0 ms with result: 1
  7539. 10:50:58.762:
  7540. 10:50:58.762: UPDATE [dbo].[Task]
  7541. SET [DocumentId] = @0
  7542. WHERE ([Id] = @1)
  7543. 10:50:58.763: -- @0: '2032' (Type = Int32)
  7544. 10:50:58.763: -- @1: '973' (Type = Int32)
  7545. 10:50:58.763: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7546. 10:50:58.763: -- Completed in 0 ms with result: 1
  7547. 10:50:58.764:
  7548. 10:50:58.764: UPDATE [dbo].[Task]
  7549. SET [DocumentId] = @0
  7550. WHERE ([Id] = @1)
  7551. 10:50:58.764: -- @0: '2023' (Type = Int32)
  7552. 10:50:58.764: -- @1: '974' (Type = Int32)
  7553. 10:50:58.764: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7554. 10:50:58.765: -- Completed in 0 ms with result: 1
  7555. 10:50:58.765:
  7556. 10:50:58.765: UPDATE [dbo].[Task]
  7557. SET [DocumentId] = @0
  7558. WHERE ([Id] = @1)
  7559. 10:50:58.765: -- @0: '2034' (Type = Int32)
  7560. 10:50:58.766: -- @1: '975' (Type = Int32)
  7561. 10:50:58.766: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7562. 10:50:58.766: -- Completed in 0 ms with result: 1
  7563. 10:50:58.766:
  7564. 10:50:58.767: UPDATE [dbo].[Task]
  7565. SET [DocumentId] = @0
  7566. WHERE ([Id] = @1)
  7567. 10:50:58.767: -- @0: '2025' (Type = Int32)
  7568. 10:50:58.767: -- @1: '976' (Type = Int32)
  7569. 10:50:58.767: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7570. 10:50:58.768: -- Completed in 0 ms with result: 1
  7571. 10:50:58.768:
  7572. 10:50:58.768: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  7573. VALUES (@0, @1, @2, @3, @4)
  7574. SELECT [ID]
  7575. FROM [dbo].[AuditTrail]
  7576. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:58.768:
  7577. 10:50:58.769: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7578. 10:50:58.769: -- @1: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  7579. 10:50:58.769: -- @2: '2' (Type = Int32)
  7580. 10:50:58.769: -- @3: '2025' (Type = Int32)
  7581. 10:50:58.769: -- @4: '976' (Type = Int32)
  7582. 10:50:58.77: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7583. 10:50:58.77: -- Completed in 0 ms with result: SqlDataReader
  7584. 10:50:58.77:
  7585. 10:50:58.771: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7586. 10:50:58.771: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7587. 10:50:58.772: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7588. 10:50:58.773: SELECT TOP (1)
  7589. [Extent1].[RoleId] AS [RoleId],
  7590. [Extent1].[ApplicationId] AS [ApplicationId],
  7591. [Extent1].[RoleName] AS [RoleName],
  7592. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  7593. [Extent1].[Description] AS [Description]
  7594. FROM [dbo].[aspnet_Roles] AS [Extent1]
  7595. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.773:
  7596. 10:50:58.774: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  7597. 10:50:58.774: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7598. 10:50:58.774: -- Completed in 0 ms with result: SqlDataReader
  7599. 10:50:58.774:
  7600. 10:50:58.775: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7601. 10:50:58.775: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7602. 10:50:58.776: SELECT TOP (2)
  7603. [Extent1].[ID] AS [ID],
  7604. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  7605. [Extent1].[FirstName] AS [FirstName],
  7606. [Extent1].[LastName] AS [LastName],
  7607. [Extent1].[Active] AS [Active]
  7608. FROM [dbo].[User] AS [Extent1]
  7609. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.776:
  7610. 10:50:58.776: -- p__linq__0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid, IsNullable = false)
  7611. 10:50:58.777: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7612. 10:50:58.777: -- Completed in 0 ms with result: SqlDataReader
  7613. 10:50:58.777:
  7614. 10:50:58.777: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7615. Exception thrown: 'System.NullReferenceException' in Core.dll
  7616. 10:50:58.789: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7617. 10:50:58.79: SELECT TOP (2)
  7618. [Extent1].[ID] AS [ID],
  7619. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  7620. [Extent1].[FirstName] AS [FirstName],
  7621. [Extent1].[LastName] AS [LastName],
  7622. [Extent1].[Active] AS [Active]
  7623. FROM [dbo].[User] AS [Extent1]
  7624. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:58.79:
  7625. 10:50:58.79: -- p__linq__0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid, IsNullable = false)
  7626. 10:50:58.79: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7627. 10:50:58.791: -- Completed in 0 ms with result: SqlDataReader
  7628. 10:50:58.791:
  7629. 10:50:58.791: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7630. Exception thrown: 'System.NullReferenceException' in Core.dll
  7631. 10:50:58.803: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7632. 10:50:58.804: SELECT TOP (1)
  7633. [Extent1].[Id] AS [Id],
  7634. [Extent1].[Name] AS [Name],
  7635. [Extent1].[FirstStage] AS [FirstStage]
  7636. FROM [dbo].[BusinessProcess] AS [Extent1]
  7637. WHERE [Extent1].[Name] = @p__linq__010:50:58.804:
  7638. 10:50:58.804: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  7639. 10:50:58.804: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7640. 10:50:58.805: -- Completed in 0 ms with result: SqlDataReader
  7641. 10:50:58.805:
  7642. 10:50:58.805: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7643. 10:50:58.816: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7644. 10:50:58.817: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7645. 10:50:58.82: UPDATE [dbo].[Document]
  7646. SET [DocumentStatusId] = @0
  7647. WHERE ([Id] = @1)
  7648. 10:50:58.82: -- @0: '1' (Type = Int32)
  7649. 10:50:58.821: -- @1: '2035' (Type = Int32)
  7650. 10:50:58.821: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7651. 10:50:58.821: -- Completed in 0 ms with result: 1
  7652. 10:50:58.822:
  7653. 10:50:58.822: UPDATE [dbo].[Task]
  7654. SET [DocumentId] = @0
  7655. WHERE ([Id] = @1)
  7656. 10:50:58.822: -- @0: '2028' (Type = Int32)
  7657. 10:50:58.822: -- @1: '969' (Type = Int32)
  7658. 10:50:58.823: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7659. 10:50:58.823: -- Completed in 0 ms with result: 1
  7660. 10:50:58.823:
  7661. 10:50:58.824: UPDATE [dbo].[Task]
  7662. SET [DocumentId] = @0
  7663. WHERE ([Id] = @1)
  7664. 10:50:58.824: -- @0: '2019' (Type = Int32)
  7665. 10:50:58.824: -- @1: '970' (Type = Int32)
  7666. 10:50:58.824: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7667. 10:50:58.825: -- Completed in 0 ms with result: 1
  7668. 10:50:58.825:
  7669. 10:50:58.825: UPDATE [dbo].[Task]
  7670. SET [DocumentId] = @0
  7671. WHERE ([Id] = @1)
  7672. 10:50:58.825: -- @0: '2030' (Type = Int32)
  7673. 10:50:58.826: -- @1: '971' (Type = Int32)
  7674. 10:50:58.826: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7675. 10:50:58.826: -- Completed in 0 ms with result: 1
  7676. 10:50:58.826:
  7677. 10:50:58.827: UPDATE [dbo].[Task]
  7678. SET [DocumentId] = @0
  7679. WHERE ([Id] = @1)
  7680. 10:50:58.827: -- @0: '2021' (Type = Int32)
  7681. 10:50:58.827: -- @1: '972' (Type = Int32)
  7682. 10:50:58.827: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7683. 10:50:58.827: -- Completed in 0 ms with result: 1
  7684. 10:50:58.827:
  7685. 10:50:58.827: UPDATE [dbo].[Task]
  7686. SET [DocumentId] = @0
  7687. WHERE ([Id] = @1)
  7688. 10:50:58.828: -- @0: '2032' (Type = Int32)
  7689. 10:50:58.828: -- @1: '973' (Type = Int32)
  7690. 10:50:58.828: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7691. 10:50:58.828: -- Completed in 0 ms with result: 1
  7692. 10:50:58.829:
  7693. 10:50:58.829: UPDATE [dbo].[Task]
  7694. SET [DocumentId] = @0
  7695. WHERE ([Id] = @1)
  7696. 10:50:58.829: -- @0: '2023' (Type = Int32)
  7697. 10:50:58.829: -- @1: '974' (Type = Int32)
  7698. 10:50:58.829: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7699. 10:50:58.83: -- Completed in 0 ms with result: 1
  7700. 10:50:58.83:
  7701. 10:50:58.83: UPDATE [dbo].[Task]
  7702. SET [DocumentId] = @0
  7703. WHERE ([Id] = @1)
  7704. 10:50:58.83: -- @0: '2034' (Type = Int32)
  7705. 10:50:58.831: -- @1: '975' (Type = Int32)
  7706. 10:50:58.831: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7707. 10:50:58.831: -- Completed in 0 ms with result: 1
  7708. 10:50:58.831:
  7709. 10:50:58.832: UPDATE [dbo].[Task]
  7710. SET [DocumentId] = @0
  7711. WHERE ([Id] = @1)
  7712. 10:50:58.832: -- @0: '2025' (Type = Int32)
  7713. 10:50:58.832: -- @1: '976' (Type = Int32)
  7714. 10:50:58.832: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7715. 10:50:58.833: -- Completed in 0 ms with result: 1
  7716. 10:50:58.833:
  7717. 10:50:58.833: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  7718. VALUES (@0, NULL, @1)
  7719. SELECT [Id]
  7720. FROM [dbo].[Workflow]
  7721. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.833:
  7722. 10:50:58.833: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7723. 10:50:58.834: -- @1: '1' (Type = Int32)
  7724. 10:50:58.834: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7725. 10:50:58.834: -- Completed in 0 ms with result: SqlDataReader
  7726. 10:50:58.835:
  7727. 10:50:58.835: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7728. 10:50:58.835: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7729. 10:50:58.837: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7730. 10:50:58.837: SELECT TOP (1)
  7731. [Extent1].[Id] AS [Id],
  7732. [Extent1].[Name] AS [Name],
  7733. [Extent1].[ActionTypeId] AS [ActionTypeId],
  7734. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  7735. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  7736. FROM [dbo].[Stage] AS [Extent1]
  7737. WHERE [Extent1].[Id] = @p__linq__010:50:58.837:
  7738. 10:50:58.837: -- p__linq__0: '1' (Type = Int32)
  7739. 10:50:58.838: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7740. 10:50:58.838: -- Completed in 0 ms with result: SqlDataReader
  7741. 10:50:58.838:
  7742. 10:50:58.839: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7743. 10:50:58.839: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7744. 10:50:58.839: SELECT TOP (1)
  7745. [Extent1].[ID] AS [ID],
  7746. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  7747. [Extent1].[FirstName] AS [FirstName],
  7748. [Extent1].[LastName] AS [LastName],
  7749. [Extent1].[Active] AS [Active]
  7750. FROM [dbo].[User] AS [Extent1]
  7751. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  7752. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:58.839:
  7753. 10:50:58.84: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  7754. 10:50:58.84: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7755. 10:50:58.84: -- Completed in 0 ms with result: SqlDataReader
  7756. 10:50:58.84:
  7757. 10:50:58.841: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7758. 10:50:58.841: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7759. 10:50:58.841: SELECT TOP (2)
  7760. [Extent1].[Id] AS [Id],
  7761. [Extent1].[Name] AS [Name]
  7762. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7763. WHERE 'New' = [Extent1].[Name]10:50:58.842:
  7764. 10:50:58.842: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7765. 10:50:58.842: -- Completed in 0 ms with result: SqlDataReader
  7766. 10:50:58.842:
  7767. 10:50:58.843: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7768. 10:50:58.854: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7769. 10:50:58.855: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7770. 10:50:58.859: UPDATE [dbo].[Document]
  7771. SET [IsCurrentVersion] = @0
  7772. WHERE ([Id] = @1)
  7773. 10:50:58.859: -- @0: 'False' (Type = Boolean)
  7774. 10:50:58.859: -- @1: '2026' (Type = Int32)
  7775. 10:50:58.86: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7776. 10:50:58.86: -- Completed in 0 ms with result: 1
  7777. 10:50:58.86:
  7778. 10:50:58.86: UPDATE [dbo].[Task]
  7779. SET [DocumentId] = @0
  7780. WHERE ([Id] = @1)
  7781. 10:50:58.861: -- @0: '2028' (Type = Int32)
  7782. 10:50:58.861: -- @1: '969' (Type = Int32)
  7783. 10:50:58.861: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7784. 10:50:58.862: -- Completed in 0 ms with result: 1
  7785. 10:50:58.862:
  7786. 10:50:58.862: UPDATE [dbo].[Task]
  7787. SET [DocumentId] = @0
  7788. WHERE ([Id] = @1)
  7789. 10:50:58.862: -- @0: '2019' (Type = Int32)
  7790. 10:50:58.862: -- @1: '970' (Type = Int32)
  7791. 10:50:58.863: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7792. 10:50:58.863: -- Completed in 0 ms with result: 1
  7793. 10:50:58.863:
  7794. 10:50:58.863: UPDATE [dbo].[Task]
  7795. SET [DocumentId] = @0
  7796. WHERE ([Id] = @1)
  7797. 10:50:58.864: -- @0: '2030' (Type = Int32)
  7798. 10:50:58.864: -- @1: '971' (Type = Int32)
  7799. 10:50:58.864: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7800. 10:50:58.864: -- Completed in 0 ms with result: 1
  7801. 10:50:58.865:
  7802. 10:50:58.865: UPDATE [dbo].[Task]
  7803. SET [DocumentId] = @0
  7804. WHERE ([Id] = @1)
  7805. 10:50:58.865: -- @0: '2021' (Type = Int32)
  7806. 10:50:58.865: -- @1: '972' (Type = Int32)
  7807. 10:50:58.865: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7808. 10:50:58.866: -- Completed in 0 ms with result: 1
  7809. 10:50:58.866:
  7810. 10:50:58.866: UPDATE [dbo].[Task]
  7811. SET [DocumentId] = @0
  7812. WHERE ([Id] = @1)
  7813. 10:50:58.866: -- @0: '2032' (Type = Int32)
  7814. 10:50:58.867: -- @1: '973' (Type = Int32)
  7815. 10:50:58.867: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7816. 10:50:58.867: -- Completed in 0 ms with result: 1
  7817. 10:50:58.867:
  7818. 10:50:58.868: UPDATE [dbo].[Task]
  7819. SET [DocumentId] = @0
  7820. WHERE ([Id] = @1)
  7821. 10:50:58.868: -- @0: '2023' (Type = Int32)
  7822. 10:50:58.868: -- @1: '974' (Type = Int32)
  7823. 10:50:58.868: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7824. 10:50:58.869: -- Completed in 0 ms with result: 1
  7825. 10:50:58.869:
  7826. 10:50:58.869: UPDATE [dbo].[Task]
  7827. SET [DocumentId] = @0
  7828. WHERE ([Id] = @1)
  7829. 10:50:58.869: -- @0: '2034' (Type = Int32)
  7830. 10:50:58.869: -- @1: '975' (Type = Int32)
  7831. 10:50:58.87: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7832. 10:50:58.87: -- Completed in 0 ms with result: 1
  7833. 10:50:58.87:
  7834. 10:50:58.87: UPDATE [dbo].[Task]
  7835. SET [DocumentId] = @0
  7836. WHERE ([Id] = @1)
  7837. 10:50:58.871: -- @0: '2025' (Type = Int32)
  7838. 10:50:58.871: -- @1: '976' (Type = Int32)
  7839. 10:50:58.871: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7840. 10:50:58.871: -- Completed in 0 ms with result: 1
  7841. 10:50:58.871:
  7842. 10:50:58.872: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  7843. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  7844. SELECT [Id]
  7845. FROM [dbo].[Document]
  7846. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.872:
  7847. 10:50:58.872: -- @0: '10:50 AM_8' (Type = String, Size = 256)
  7848. 10:50:58.872: -- @1: '2.0' (Type = String, Size = 64)
  7849. 10:50:58.873: -- @2: 'test.bin' (Type = String, Size = 256)
  7850. 10:50:58.873: -- @3: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  7851. 10:50:58.873: -- @4: 'True' (Type = Boolean)
  7852. 10:50:58.873: -- @5: '2026' (Type = Int32)
  7853. 10:50:58.873: -- @6: '6' (Type = Int32)
  7854. 10:50:58.874: -- @7: '1' (Type = Int32)
  7855. 10:50:58.874: -- @8: '2' (Type = Int32)
  7856. 10:50:58.874: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  7857. 10:50:58.874: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  7858. 10:50:58.874: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7859. 10:50:58.875: -- Completed in 0 ms with result: SqlDataReader
  7860. 10:50:58.875:
  7861. 10:50:58.875: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  7862. VALUES (@0, NULL, @1)
  7863. SELECT [Id]
  7864. FROM [dbo].[ProcessQueue]
  7865. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.876:
  7866. 10:50:58.876: -- @0: '2036' (Type = Int32)
  7867. 10:50:58.876: -- @1: '2' (Type = Int32)
  7868. 10:50:58.876: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7869. 10:50:58.877: -- Completed in 0 ms with result: SqlDataReader
  7870. 10:50:58.877:
  7871. 10:50:58.877: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  7872. VALUES (@0, NULL, @1)
  7873. SELECT [Id]
  7874. FROM [dbo].[ProcessQueue]
  7875. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.877:
  7876. 10:50:58.878: -- @0: '2036' (Type = Int32)
  7877. 10:50:58.878: -- @1: '3' (Type = Int32)
  7878. 10:50:58.878: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7879. 10:50:58.878: -- Completed in 0 ms with result: SqlDataReader
  7880. 10:50:58.879:
  7881. 10:50:58.879: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  7882. VALUES (@0, NULL, @1)
  7883. SELECT [Id]
  7884. FROM [dbo].[ProcessQueue]
  7885. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.879:
  7886. 10:50:58.879: -- @0: '2036' (Type = Int32)
  7887. 10:50:58.879: -- @1: '1' (Type = Int32)
  7888. 10:50:58.88: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7889. 10:50:58.88: -- Completed in 0 ms with result: SqlDataReader
  7890. 10:50:58.88:
  7891. 10:50:58.881: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  7892. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  7893. SELECT [Id]
  7894. FROM [dbo].[ProcessQueueItem]
  7895. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.881:
  7896. 10:50:58.881: -- @0: '1' (Type = Int32)
  7897. 10:50:58.881: -- @1: 'e124b068-ff53-e611-80c3-00155d63106c' (Type = Guid)
  7898. 10:50:58.881: -- @2: '6112' (Type = Int32)
  7899. 10:50:58.882: -- @3: '1' (Type = Int32)
  7900. 10:50:58.882: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7901. 10:50:58.882: -- Completed in 0 ms with result: SqlDataReader
  7902. 10:50:58.882:
  7903. 10:50:58.883: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  7904. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  7905. SELECT [Id]
  7906. FROM [dbo].[ProcessQueueItem]
  7907. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.883:
  7908. 10:50:58.883: -- @0: '1' (Type = Int32)
  7909. 10:50:58.883: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  7910. 10:50:58.883: -- @2: '6113' (Type = Int32)
  7911. 10:50:58.884: -- @3: '1' (Type = Int32)
  7912. 10:50:58.884: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7913. 10:50:58.884: -- Completed in 0 ms with result: SqlDataReader
  7914. 10:50:58.884:
  7915. 10:50:58.885: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  7916. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  7917. SELECT [Id]
  7918. FROM [dbo].[ProcessQueueItem]
  7919. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.885:
  7920. 10:50:58.885: -- @0: '1' (Type = Int32)
  7921. 10:50:58.885: -- @1: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid)
  7922. 10:50:58.885: -- @2: '6114' (Type = Int32)
  7923. 10:50:58.886: -- @3: '1' (Type = Int32)
  7924. 10:50:58.886: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7925. 10:50:58.886: -- Completed in 0 ms with result: SqlDataReader
  7926. 10:50:58.886:
  7927. 10:50:58.887: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  7928. 10:50:58.887: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7929. 10:50:58.889: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7930. 10:50:58.889: SELECT
  7931. [Extent1].[ID] AS [ID],
  7932. [Extent1].[Name] AS [Name],
  7933. [Extent1].[SourceSystemId] AS [SourceSystemId],
  7934. [Extent1].[ID_ActionType] AS [ID_ActionType],
  7935. [Extent1].[ID_Group] AS [ID_Group]
  7936. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.889:
  7937. 10:50:58.89: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7938. 10:50:58.89: -- Completed in 0 ms with result: SqlDataReader
  7939. 10:50:58.89:
  7940. 10:50:58.89: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7941. 10:50:58.891: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7942. 10:50:58.891: SELECT TOP (2)
  7943. [Extent1].[Id] AS [Id],
  7944. [Extent1].[Name] AS [Name]
  7945. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7946. WHERE 'New' = [Extent1].[Name]10:50:58.891:
  7947. 10:50:58.892: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7948. 10:50:58.892: -- Completed in 0 ms with result: SqlDataReader
  7949. 10:50:58.892:
  7950. 10:50:58.893: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7951. 10:50:58.893: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7952. 10:50:58.893: SELECT
  7953. [Extent1].[ID] AS [ID],
  7954. [Extent1].[Name] AS [Name],
  7955. [Extent1].[SourceSystemId] AS [SourceSystemId],
  7956. [Extent1].[ID_ActionType] AS [ID_ActionType],
  7957. [Extent1].[ID_Group] AS [ID_Group]
  7958. FROM [dbo].[AccessRight] AS [Extent1]10:50:58.893:
  7959. 10:50:58.893: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7960. 10:50:58.894: -- Completed in 0 ms with result: SqlDataReader
  7961. 10:50:58.894:
  7962. 10:50:58.894: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7963. 10:50:58.895: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7964. 10:50:58.895: SELECT TOP (2)
  7965. [Extent1].[Id] AS [Id],
  7966. [Extent1].[Name] AS [Name]
  7967. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7968. WHERE 'New' = [Extent1].[Name]10:50:58.895:
  7969. 10:50:58.895: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7970. 10:50:58.896: -- Completed in 0 ms with result: SqlDataReader
  7971. 10:50:58.896:
  7972. 10:50:58.896: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7973. 10:50:58.897: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7974. 10:50:58.897: SELECT TOP (2)
  7975. [Extent1].[Id] AS [Id],
  7976. [Extent1].[Name] AS [Name]
  7977. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7978. WHERE 'Sent' = [Extent1].[Name]10:50:58.897:
  7979. 10:50:58.897: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7980. 10:50:58.898: -- Completed in 0 ms with result: SqlDataReader
  7981. 10:50:58.898:
  7982. 10:50:58.898: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7983. 10:50:58.898: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7984. 10:50:58.899: SELECT TOP (2)
  7985. [Extent1].[Id] AS [Id],
  7986. [Extent1].[Name] AS [Name]
  7987. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  7988. WHERE 'New' = [Extent1].[Name]10:50:58.899:
  7989. 10:50:58.899: -- Executing at 7/29/2016 10:50:58 AM +05:00
  7990. 10:50:58.899: -- Completed in 0 ms with result: SqlDataReader
  7991. 10:50:58.9:
  7992. 10:50:58.9: Closed connection at 7/29/2016 10:50:58 AM +05:00
  7993. 10:50:58.906: Opened connection at 7/29/2016 10:50:58 AM +05:00
  7994. 10:50:58.906: Started transaction at 7/29/2016 10:50:58 AM +05:00
  7995. 10:50:58.91: UPDATE [dbo].[ProcessQueueItem]
  7996. SET [StatusId] = @0, [Sent] = @1
  7997. WHERE ([Id] = @2)
  7998. 10:50:58.91: -- @0: '2' (Type = Int32)
  7999. 10:50:58.91: -- @1: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  8000. 10:50:58.911: -- @2: '6062' (Type = Int32)
  8001. 10:50:58.911: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8002. 10:50:58.912: -- Completed in 0 ms with result: 1
  8003. 10:50:58.912:
  8004. 10:50:58.912: UPDATE [dbo].[Task]
  8005. SET [DocumentId] = @0
  8006. WHERE ([Id] = @1)
  8007. 10:50:58.912: -- @0: '2018' (Type = Int32)
  8008. 10:50:58.913: -- @1: '969' (Type = Int32)
  8009. 10:50:58.913: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8010. 10:50:58.913: -- Completed in 0 ms with result: 1
  8011. 10:50:58.913:
  8012. 10:50:58.914: UPDATE [dbo].[Task]
  8013. SET [DocumentId] = @0
  8014. WHERE ([Id] = @1)
  8015. 10:50:58.914: -- @0: '2029' (Type = Int32)
  8016. 10:50:58.914: -- @1: '970' (Type = Int32)
  8017. 10:50:58.914: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8018. 10:50:58.915: -- Completed in 0 ms with result: 1
  8019. 10:50:58.915:
  8020. 10:50:58.915: UPDATE [dbo].[Task]
  8021. SET [DocumentId] = @0
  8022. WHERE ([Id] = @1)
  8023. 10:50:58.915: -- @0: '2020' (Type = Int32)
  8024. 10:50:58.915: -- @1: '971' (Type = Int32)
  8025. 10:50:58.916: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8026. 10:50:58.916: -- Completed in 0 ms with result: 1
  8027. 10:50:58.916:
  8028. 10:50:58.916: UPDATE [dbo].[Task]
  8029. SET [DocumentId] = @0
  8030. WHERE ([Id] = @1)
  8031. 10:50:58.917: -- @0: '2031' (Type = Int32)
  8032. 10:50:58.917: -- @1: '972' (Type = Int32)
  8033. 10:50:58.917: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8034. 10:50:58.917: -- Completed in 0 ms with result: 1
  8035. 10:50:58.918:
  8036. 10:50:58.918: UPDATE [dbo].[Task]
  8037. SET [DocumentId] = @0
  8038. WHERE ([Id] = @1)
  8039. 10:50:58.918: -- @0: '2022' (Type = Int32)
  8040. 10:50:58.918: -- @1: '973' (Type = Int32)
  8041. 10:50:58.918: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8042. 10:50:58.919: -- Completed in 0 ms with result: 1
  8043. 10:50:58.919:
  8044. 10:50:58.919: UPDATE [dbo].[Task]
  8045. SET [DocumentId] = @0
  8046. WHERE ([Id] = @1)
  8047. 10:50:58.919: -- @0: '2033' (Type = Int32)
  8048. 10:50:58.92: -- @1: '974' (Type = Int32)
  8049. 10:50:58.92: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8050. 10:50:58.92: -- Completed in 0 ms with result: 1
  8051. 10:50:58.92:
  8052. 10:50:58.92: UPDATE [dbo].[Task]
  8053. SET [DocumentId] = @0
  8054. WHERE ([Id] = @1)
  8055. 10:50:58.921: -- @0: '2024' (Type = Int32)
  8056. 10:50:58.921: -- @1: '975' (Type = Int32)
  8057. 10:50:58.921: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8058. 10:50:58.921: -- Completed in 0 ms with result: 1
  8059. 10:50:58.922:
  8060. 10:50:58.922: UPDATE [dbo].[Task]
  8061. SET [DocumentId] = @0
  8062. WHERE ([Id] = @1)
  8063. 10:50:58.923: -- @0: '2035' (Type = Int32)
  8064. 10:50:58.923: -- @1: '976' (Type = Int32)
  8065. 10:50:58.923: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8066. 10:50:58.923: -- Completed in 0 ms with result: 1
  8067. 10:50:58.924:
  8068. 10:50:58.924: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  8069. 10:50:58.924: Closed connection at 7/29/2016 10:50:58 AM +05:00
  8070. 10:50:58.925: Opened connection at 7/29/2016 10:50:58 AM +05:00
  8071. 10:50:58.926: SELECT TOP (2)
  8072. [Extent1].[Id] AS [Id],
  8073. [Extent1].[Name] AS [Name]
  8074. FROM [dbo].[TaskStatus] AS [Extent1]
  8075. WHERE N'New' = [Extent1].[Name]10:50:58.926:
  8076. 10:50:58.926: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8077. 10:50:58.927: -- Completed in 0 ms with result: SqlDataReader
  8078. 10:50:58.927:
  8079. 10:50:58.927: Closed connection at 7/29/2016 10:50:58 AM +05:00
  8080. 10:50:58.938: Opened connection at 7/29/2016 10:50:58 AM +05:00
  8081. 10:50:58.939: Started transaction at 7/29/2016 10:50:58 AM +05:00
  8082. 10:50:58.942: UPDATE [dbo].[Task]
  8083. SET [DocumentId] = @0
  8084. WHERE ([Id] = @1)
  8085. 10:50:58.942: -- @0: '2018' (Type = Int32)
  8086. 10:50:58.942: -- @1: '969' (Type = Int32)
  8087. 10:50:58.943: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8088. 10:50:58.943: -- Completed in 0 ms with result: 1
  8089. 10:50:58.943:
  8090. 10:50:58.944: UPDATE [dbo].[Task]
  8091. SET [DocumentId] = @0
  8092. WHERE ([Id] = @1)
  8093. 10:50:58.944: -- @0: '2029' (Type = Int32)
  8094. 10:50:58.944: -- @1: '970' (Type = Int32)
  8095. 10:50:58.944: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8096. 10:50:58.945: -- Completed in 0 ms with result: 1
  8097. 10:50:58.945:
  8098. 10:50:58.945: UPDATE [dbo].[Task]
  8099. SET [DocumentId] = @0
  8100. WHERE ([Id] = @1)
  8101. 10:50:58.946: -- @0: '2020' (Type = Int32)
  8102. 10:50:58.946: -- @1: '971' (Type = Int32)
  8103. 10:50:58.946: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8104. 10:50:58.946: -- Completed in 0 ms with result: 1
  8105. 10:50:58.947:
  8106. 10:50:58.947: UPDATE [dbo].[Task]
  8107. SET [DocumentId] = @0
  8108. WHERE ([Id] = @1)
  8109. 10:50:58.947: -- @0: '2031' (Type = Int32)
  8110. 10:50:58.948: -- @1: '972' (Type = Int32)
  8111. 10:50:58.948: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8112. 10:50:58.948: -- Completed in 0 ms with result: 1
  8113. 10:50:58.949:
  8114. 10:50:58.949: UPDATE [dbo].[Task]
  8115. SET [DocumentId] = @0
  8116. WHERE ([Id] = @1)
  8117. 10:50:58.949: -- @0: '2022' (Type = Int32)
  8118. 10:50:58.95: -- @1: '973' (Type = Int32)
  8119. 10:50:58.951: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8120. 10:50:58.951: -- Completed in 0 ms with result: 1
  8121. 10:50:58.952:
  8122. 10:50:58.952: UPDATE [dbo].[Task]
  8123. SET [DocumentId] = @0
  8124. WHERE ([Id] = @1)
  8125. 10:50:58.952: -- @0: '2033' (Type = Int32)
  8126. 10:50:58.953: -- @1: '974' (Type = Int32)
  8127. 10:50:58.954: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8128. 10:50:58.954: -- Completed in 0 ms with result: 1
  8129. 10:50:58.955:
  8130. 10:50:58.955: UPDATE [dbo].[Task]
  8131. SET [DocumentId] = @0
  8132. WHERE ([Id] = @1)
  8133. 10:50:58.955: -- @0: '2024' (Type = Int32)
  8134. 10:50:58.955: -- @1: '975' (Type = Int32)
  8135. 10:50:58.956: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8136. 10:50:58.956: -- Completed in 0 ms with result: 1
  8137. 10:50:58.956:
  8138. 10:50:58.957: UPDATE [dbo].[Task]
  8139. SET [DocumentId] = @0
  8140. WHERE ([Id] = @1)
  8141. 10:50:58.957: -- @0: '2035' (Type = Int32)
  8142. 10:50:58.957: -- @1: '976' (Type = Int32)
  8143. 10:50:58.957: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8144. 10:50:58.958: -- Completed in 0 ms with result: 1
  8145. 10:50:58.958:
  8146. 10:50:58.958: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  8147. VALUES (NULL, @0)
  8148. SELECT [Id]
  8149. FROM [dbo].[TaskPerformer]
  8150. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.958:
  8151. 10:50:58.959: -- @0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  8152. 10:50:58.959: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8153. 10:50:58.959: -- Completed in 0 ms with result: SqlDataReader
  8154. 10:50:58.959:
  8155. 10:50:58.96: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  8156. 10:50:58.96: Closed connection at 7/29/2016 10:50:58 AM +05:00
  8157. 10:50:58.972: Opened connection at 7/29/2016 10:50:58 AM +05:00
  8158. 10:50:58.972: Started transaction at 7/29/2016 10:50:58 AM +05:00
  8159. 10:50:58.975: UPDATE [dbo].[Task]
  8160. SET [DocumentId] = @0
  8161. WHERE ([Id] = @1)
  8162. 10:50:58.976: -- @0: '2018' (Type = Int32)
  8163. 10:50:58.976: -- @1: '969' (Type = Int32)
  8164. 10:50:58.976: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8165. 10:50:58.976: -- Completed in 0 ms with result: 1
  8166. 10:50:58.977:
  8167. 10:50:58.977: UPDATE [dbo].[Task]
  8168. SET [DocumentId] = @0
  8169. WHERE ([Id] = @1)
  8170. 10:50:58.977: -- @0: '2029' (Type = Int32)
  8171. 10:50:58.977: -- @1: '970' (Type = Int32)
  8172. 10:50:58.978: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8173. 10:50:58.978: -- Completed in 0 ms with result: 1
  8174. 10:50:58.978:
  8175. 10:50:58.978: UPDATE [dbo].[Task]
  8176. SET [DocumentId] = @0
  8177. WHERE ([Id] = @1)
  8178. 10:50:58.978: -- @0: '2020' (Type = Int32)
  8179. 10:50:58.979: -- @1: '971' (Type = Int32)
  8180. 10:50:58.979: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8181. 10:50:58.979: -- Completed in 0 ms with result: 1
  8182. 10:50:58.979:
  8183. 10:50:58.98: UPDATE [dbo].[Task]
  8184. SET [DocumentId] = @0
  8185. WHERE ([Id] = @1)
  8186. 10:50:58.98: -- @0: '2031' (Type = Int32)
  8187. 10:50:58.98: -- @1: '972' (Type = Int32)
  8188. 10:50:58.98: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8189. 10:50:58.981: -- Completed in 0 ms with result: 1
  8190. 10:50:58.981:
  8191. 10:50:58.981: UPDATE [dbo].[Task]
  8192. SET [DocumentId] = @0
  8193. WHERE ([Id] = @1)
  8194. 10:50:58.981: -- @0: '2022' (Type = Int32)
  8195. 10:50:58.981: -- @1: '973' (Type = Int32)
  8196. 10:50:58.982: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8197. 10:50:58.982: -- Completed in 0 ms with result: 1
  8198. 10:50:58.982:
  8199. 10:50:58.982: UPDATE [dbo].[Task]
  8200. SET [DocumentId] = @0
  8201. WHERE ([Id] = @1)
  8202. 10:50:58.983: -- @0: '2033' (Type = Int32)
  8203. 10:50:58.983: -- @1: '974' (Type = Int32)
  8204. 10:50:58.983: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8205. 10:50:58.983: -- Completed in 0 ms with result: 1
  8206. 10:50:58.984:
  8207. 10:50:58.984: UPDATE [dbo].[Task]
  8208. SET [DocumentId] = @0
  8209. WHERE ([Id] = @1)
  8210. 10:50:58.984: -- @0: '2024' (Type = Int32)
  8211. 10:50:58.984: -- @1: '975' (Type = Int32)
  8212. 10:50:58.985: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8213. 10:50:58.985: -- Completed in 0 ms with result: 1
  8214. 10:50:58.985:
  8215. 10:50:58.985: UPDATE [dbo].[Task]
  8216. SET [DocumentId] = @0
  8217. WHERE ([Id] = @1)
  8218. 10:50:58.986: -- @0: '2035' (Type = Int32)
  8219. 10:50:58.986: -- @1: '976' (Type = Int32)
  8220. 10:50:58.986: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8221. 10:50:58.986: -- Completed in 0 ms with result: 1
  8222. 10:50:58.986:
  8223. 10:50:58.987: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  8224. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  8225. SELECT [Id]
  8226. FROM [dbo].[Task]
  8227. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:58.987:
  8228. 10:50:58.987: -- @0: '2026' (Type = Int32)
  8229. 10:50:58.987: -- @1: '1' (Type = Int32)
  8230. 10:50:58.988: -- @2: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  8231. 10:50:58.988: -- @3: '982' (Type = Int32)
  8232. 10:50:58.988: -- @4: '1' (Type = Int32)
  8233. 10:50:58.988: -- @5: '977' (Type = Int32)
  8234. 10:50:58.988: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8235. 10:50:58.989: -- Completed in 0 ms with result: SqlDataReader
  8236. 10:50:58.989:
  8237. 10:50:58.989: Committed transaction at 7/29/2016 10:50:58 AM +05:00
  8238. 10:50:58.99: Closed connection at 7/29/2016 10:50:58 AM +05:00
  8239. 10:50:58.991: Opened connection at 7/29/2016 10:50:58 AM +05:00
  8240. 10:50:58.991: SELECT TOP (1)
  8241. [Extent1].[RoleId] AS [RoleId],
  8242. [Extent1].[ApplicationId] AS [ApplicationId],
  8243. [Extent1].[RoleName] AS [RoleName],
  8244. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  8245. [Extent1].[Description] AS [Description]
  8246. FROM [dbo].[aspnet_Roles] AS [Extent1]
  8247. WHERE [Extent1].[RoleId] = @p__linq__010:50:58.992:
  8248. 10:50:58.992: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  8249. 10:50:58.992: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8250. 10:50:58.992: -- Completed in 0 ms with result: SqlDataReader
  8251. 10:50:58.993:
  8252. 10:50:58.993: Closed connection at 7/29/2016 10:50:58 AM +05:00
  8253. 10:50:58.993: Opened connection at 7/29/2016 10:50:58 AM +05:00
  8254. 10:50:58.994: SELECT TOP (2)
  8255. [Extent1].[ID] AS [ID],
  8256. [Extent1].[Name] AS [Name]
  8257. FROM [dbo].[AuditAction] AS [Extent1]
  8258. WHERE [Extent1].[ID] = @p__linq__010:50:58.994:
  8259. 10:50:58.994: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  8260. 10:50:58.994: -- Executing at 7/29/2016 10:50:58 AM +05:00
  8261. 10:50:58.995: -- Completed in 0 ms with result: SqlDataReader
  8262. 10:50:58.995:
  8263. 10:50:58.995: Closed connection at 7/29/2016 10:50:58 AM +05:00
  8264. 10:50:59.006: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8265. 10:50:59.006: Started transaction at 7/29/2016 10:50:59 AM +05:00
  8266. 10:50:59.01: UPDATE [dbo].[Task]
  8267. SET [DocumentId] = @0
  8268. WHERE ([Id] = @1)
  8269. 10:50:59.01: -- @0: '2018' (Type = Int32)
  8270. 10:50:59.01: -- @1: '969' (Type = Int32)
  8271. 10:50:59.01: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8272. 10:50:59.011: -- Completed in 0 ms with result: 1
  8273. 10:50:59.011:
  8274. 10:50:59.011: UPDATE [dbo].[Task]
  8275. SET [DocumentId] = @0
  8276. WHERE ([Id] = @1)
  8277. 10:50:59.011: -- @0: '2029' (Type = Int32)
  8278. 10:50:59.012: -- @1: '970' (Type = Int32)
  8279. 10:50:59.012: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8280. 10:50:59.012: -- Completed in 0 ms with result: 1
  8281. 10:50:59.012:
  8282. 10:50:59.013: UPDATE [dbo].[Task]
  8283. SET [DocumentId] = @0
  8284. WHERE ([Id] = @1)
  8285. 10:50:59.013: -- @0: '2020' (Type = Int32)
  8286. 10:50:59.013: -- @1: '971' (Type = Int32)
  8287. 10:50:59.013: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8288. 10:50:59.013: -- Completed in 0 ms with result: 1
  8289. 10:50:59.014:
  8290. 10:50:59.014: UPDATE [dbo].[Task]
  8291. SET [DocumentId] = @0
  8292. WHERE ([Id] = @1)
  8293. 10:50:59.014: -- @0: '2031' (Type = Int32)
  8294. 10:50:59.014: -- @1: '972' (Type = Int32)
  8295. 10:50:59.014: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8296. 10:50:59.015: -- Completed in 0 ms with result: 1
  8297. 10:50:59.015:
  8298. 10:50:59.015: UPDATE [dbo].[Task]
  8299. SET [DocumentId] = @0
  8300. WHERE ([Id] = @1)
  8301. 10:50:59.015: -- @0: '2022' (Type = Int32)
  8302. 10:50:59.016: -- @1: '973' (Type = Int32)
  8303. 10:50:59.016: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8304. 10:50:59.016: -- Completed in 0 ms with result: 1
  8305. 10:50:59.016:
  8306. 10:50:59.017: UPDATE [dbo].[Task]
  8307. SET [DocumentId] = @0
  8308. WHERE ([Id] = @1)
  8309. 10:50:59.017: -- @0: '2033' (Type = Int32)
  8310. 10:50:59.017: -- @1: '974' (Type = Int32)
  8311. 10:50:59.017: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8312. 10:50:59.018: -- Completed in 0 ms with result: 1
  8313. 10:50:59.018:
  8314. 10:50:59.018: UPDATE [dbo].[Task]
  8315. SET [DocumentId] = @0
  8316. WHERE ([Id] = @1)
  8317. 10:50:59.018: -- @0: '2024' (Type = Int32)
  8318. 10:50:59.018: -- @1: '975' (Type = Int32)
  8319. 10:50:59.019: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8320. 10:50:59.019: -- Completed in 0 ms with result: 1
  8321. 10:50:59.019:
  8322. 10:50:59.019: UPDATE [dbo].[Task]
  8323. SET [DocumentId] = @0
  8324. WHERE ([Id] = @1)
  8325. 10:50:59.019: -- @0: '2035' (Type = Int32)
  8326. 10:50:59.02: -- @1: '976' (Type = Int32)
  8327. 10:50:59.02: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8328. 10:50:59.02: -- Completed in 0 ms with result: 1
  8329. 10:50:59.02:
  8330. 10:50:59.021: UPDATE [dbo].[Task]
  8331. SET [DocumentId] = @0
  8332. WHERE ([Id] = @1)
  8333. 10:50:59.021: -- @0: '2026' (Type = Int32)
  8334. 10:50:59.021: -- @1: '977' (Type = Int32)
  8335. 10:50:59.021: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8336. 10:50:59.022: -- Completed in 0 ms with result: 1
  8337. 10:50:59.022:
  8338. 10:50:59.022: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  8339. VALUES (@0, @1, @2, @3, @4)
  8340. SELECT [ID]
  8341. FROM [dbo].[AuditTrail]
  8342. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:59.022:
  8343. 10:50:59.022: -- @0: '7/29/2016 10:50:58 AM' (Type = DateTime2)
  8344. 10:50:59.023: -- @1: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid)
  8345. 10:50:59.023: -- @2: '2' (Type = Int32)
  8346. 10:50:59.023: -- @3: '2026' (Type = Int32)
  8347. 10:50:59.023: -- @4: '977' (Type = Int32)
  8348. 10:50:59.023: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8349. 10:50:59.024: -- Completed in 0 ms with result: SqlDataReader
  8350. 10:50:59.024:
  8351. 10:50:59.025: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  8352. 10:50:59.025: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8353. 10:50:59.026: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8354. 10:50:59.026: SELECT TOP (2)
  8355. [Extent1].[ID] AS [ID],
  8356. [Extent1].[Name] AS [Name]
  8357. FROM [dbo].[AuditAction] AS [Extent1]
  8358. WHERE [Extent1].[ID] = @p__linq__010:50:59.027:
  8359. 10:50:59.027: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  8360. 10:50:59.027: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8361. 10:50:59.027: -- Completed in 0 ms with result: SqlDataReader
  8362. 10:50:59.028:
  8363. 10:50:59.028: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8364. 10:50:59.039: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8365. 10:50:59.039: Started transaction at 7/29/2016 10:50:59 AM +05:00
  8366. 10:50:59.043: UPDATE [dbo].[Task]
  8367. SET [DocumentId] = @0
  8368. WHERE ([Id] = @1)
  8369. 10:50:59.043: -- @0: '2018' (Type = Int32)
  8370. 10:50:59.043: -- @1: '969' (Type = Int32)
  8371. 10:50:59.043: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8372. 10:50:59.044: -- Completed in 0 ms with result: 1
  8373. 10:50:59.044:
  8374. 10:50:59.044: UPDATE [dbo].[Task]
  8375. SET [DocumentId] = @0
  8376. WHERE ([Id] = @1)
  8377. 10:50:59.044: -- @0: '2029' (Type = Int32)
  8378. 10:50:59.045: -- @1: '970' (Type = Int32)
  8379. 10:50:59.045: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8380. 10:50:59.045: -- Completed in 0 ms with result: 1
  8381. 10:50:59.045:
  8382. 10:50:59.046: UPDATE [dbo].[Task]
  8383. SET [DocumentId] = @0
  8384. WHERE ([Id] = @1)
  8385. 10:50:59.046: -- @0: '2020' (Type = Int32)
  8386. 10:50:59.046: -- @1: '971' (Type = Int32)
  8387. 10:50:59.046: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8388. 10:50:59.047: -- Completed in 0 ms with result: 1
  8389. 10:50:59.047:
  8390. 10:50:59.047: UPDATE [dbo].[Task]
  8391. SET [DocumentId] = @0
  8392. WHERE ([Id] = @1)
  8393. 10:50:59.047: -- @0: '2031' (Type = Int32)
  8394. 10:50:59.047: -- @1: '972' (Type = Int32)
  8395. 10:50:59.048: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8396. 10:50:59.048: -- Completed in 0 ms with result: 1
  8397. 10:50:59.048:
  8398. 10:50:59.048: UPDATE [dbo].[Task]
  8399. SET [DocumentId] = @0
  8400. WHERE ([Id] = @1)
  8401. 10:50:59.049: -- @0: '2022' (Type = Int32)
  8402. 10:50:59.049: -- @1: '973' (Type = Int32)
  8403. 10:50:59.049: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8404. 10:50:59.049: -- Completed in 0 ms with result: 1
  8405. 10:50:59.049:
  8406. 10:50:59.05: UPDATE [dbo].[Task]
  8407. SET [DocumentId] = @0
  8408. WHERE ([Id] = @1)
  8409. 10:50:59.05: -- @0: '2033' (Type = Int32)
  8410. 10:50:59.05: -- @1: '974' (Type = Int32)
  8411. 10:50:59.05: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8412. 10:50:59.051: -- Completed in 0 ms with result: 1
  8413. 10:50:59.051:
  8414. 10:50:59.051: UPDATE [dbo].[Task]
  8415. SET [DocumentId] = @0
  8416. WHERE ([Id] = @1)
  8417. 10:50:59.051: -- @0: '2024' (Type = Int32)
  8418. 10:50:59.051: -- @1: '975' (Type = Int32)
  8419. 10:50:59.052: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8420. 10:50:59.052: -- Completed in 0 ms with result: 1
  8421. 10:50:59.052:
  8422. 10:50:59.052: UPDATE [dbo].[Task]
  8423. SET [DocumentId] = @0
  8424. WHERE ([Id] = @1)
  8425. 10:50:59.053: -- @0: '2035' (Type = Int32)
  8426. 10:50:59.053: -- @1: '976' (Type = Int32)
  8427. 10:50:59.053: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8428. 10:50:59.053: -- Completed in 0 ms with result: 1
  8429. 10:50:59.053:
  8430. 10:50:59.054: UPDATE [dbo].[Task]
  8431. SET [DocumentId] = @0
  8432. WHERE ([Id] = @1)
  8433. 10:50:59.054: -- @0: '2026' (Type = Int32)
  8434. 10:50:59.054: -- @1: '977' (Type = Int32)
  8435. 10:50:59.054: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8436. 10:50:59.055: -- Completed in 0 ms with result: 1
  8437. 10:50:59.055:
  8438. 10:50:59.055: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  8439. VALUES (@0, @1, @2, @3, @4)
  8440. SELECT [ID]
  8441. FROM [dbo].[AuditTrail]
  8442. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:59.055:
  8443. 10:50:59.056: -- @0: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  8444. 10:50:59.056: -- @1: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid)
  8445. 10:50:59.056: -- @2: '2' (Type = Int32)
  8446. 10:50:59.056: -- @3: '2026' (Type = Int32)
  8447. 10:50:59.056: -- @4: '977' (Type = Int32)
  8448. 10:50:59.057: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8449. 10:50:59.057: -- Completed in 0 ms with result: SqlDataReader
  8450. 10:50:59.057:
  8451. 10:50:59.058: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  8452. 10:50:59.058: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8453. 10:50:59.059: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8454. 10:50:59.06: SELECT TOP (1)
  8455. [Extent1].[RoleId] AS [RoleId],
  8456. [Extent1].[ApplicationId] AS [ApplicationId],
  8457. [Extent1].[RoleName] AS [RoleName],
  8458. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  8459. [Extent1].[Description] AS [Description]
  8460. FROM [dbo].[aspnet_Roles] AS [Extent1]
  8461. WHERE [Extent1].[RoleId] = @p__linq__010:50:59.06:
  8462. 10:50:59.06: -- p__linq__0: 'aa793e06-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  8463. 10:50:59.06: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8464. 10:50:59.061: -- Completed in 0 ms with result: SqlDataReader
  8465. 10:50:59.061:
  8466. 10:50:59.061: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8467. 10:50:59.061: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8468. 10:50:59.062: SELECT TOP (2)
  8469. [Extent1].[ID] AS [ID],
  8470. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  8471. [Extent1].[FirstName] AS [FirstName],
  8472. [Extent1].[LastName] AS [LastName],
  8473. [Extent1].[Active] AS [Active]
  8474. FROM [dbo].[User] AS [Extent1]
  8475. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:59.062:
  8476. 10:50:59.063: -- p__linq__0: 'bbd89cbf-7995-4448-92b8-adaf29b268fd' (Type = Guid, IsNullable = false)
  8477. 10:50:59.063: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8478. 10:50:59.063: -- Completed in 0 ms with result: SqlDataReader
  8479. 10:50:59.063:
  8480. 10:50:59.064: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8481. Exception thrown: 'System.NullReferenceException' in Core.dll
  8482. 10:50:59.075: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8483. 10:50:59.076: SELECT TOP (2)
  8484. [Extent1].[ID] AS [ID],
  8485. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  8486. [Extent1].[FirstName] AS [FirstName],
  8487. [Extent1].[LastName] AS [LastName],
  8488. [Extent1].[Active] AS [Active]
  8489. FROM [dbo].[User] AS [Extent1]
  8490. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:59.076:
  8491. 10:50:59.076: -- p__linq__0: '85fec6aa-3ce7-420c-b990-c7639c06ca33' (Type = Guid, IsNullable = false)
  8492. 10:50:59.076: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8493. 10:50:59.077: -- Completed in 0 ms with result: SqlDataReader
  8494. 10:50:59.077:
  8495. 10:50:59.077: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8496. Exception thrown: 'System.NullReferenceException' in Core.dll
  8497. 10:50:59.088: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8498. 10:50:59.089: SELECT TOP (1)
  8499. [Extent1].[Id] AS [Id],
  8500. [Extent1].[Name] AS [Name],
  8501. [Extent1].[FirstStage] AS [FirstStage]
  8502. FROM [dbo].[BusinessProcess] AS [Extent1]
  8503. WHERE [Extent1].[Name] = @p__linq__010:50:59.089:
  8504. 10:50:59.089: -- p__linq__0: 'Main' (Type = String, Size = 4000)
  8505. 10:50:59.089: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8506. 10:50:59.09: -- Completed in 0 ms with result: SqlDataReader
  8507. 10:50:59.09:
  8508. 10:50:59.09: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8509. 10:50:59.101: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8510. 10:50:59.102: Started transaction at 7/29/2016 10:50:59 AM +05:00
  8511. 10:50:59.105: UPDATE [dbo].[Document]
  8512. SET [DocumentStatusId] = @0
  8513. WHERE ([Id] = @1)
  8514. 10:50:59.105: -- @0: '1' (Type = Int32)
  8515. 10:50:59.106: -- @1: '2036' (Type = Int32)
  8516. 10:50:59.106: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8517. 10:50:59.106: -- Completed in 0 ms with result: 1
  8518. 10:50:59.106:
  8519. 10:50:59.107: UPDATE [dbo].[Task]
  8520. SET [DocumentId] = @0
  8521. WHERE ([Id] = @1)
  8522. 10:50:59.107: -- @0: '2018' (Type = Int32)
  8523. 10:50:59.107: -- @1: '969' (Type = Int32)
  8524. 10:50:59.107: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8525. 10:50:59.108: -- Completed in 0 ms with result: 1
  8526. 10:50:59.108:
  8527. 10:50:59.108: UPDATE [dbo].[Task]
  8528. SET [DocumentId] = @0
  8529. WHERE ([Id] = @1)
  8530. 10:50:59.108: -- @0: '2029' (Type = Int32)
  8531. 10:50:59.109: -- @1: '970' (Type = Int32)
  8532. 10:50:59.109: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8533. 10:50:59.109: -- Completed in 0 ms with result: 1
  8534. 10:50:59.109:
  8535. 10:50:59.109: UPDATE [dbo].[Task]
  8536. SET [DocumentId] = @0
  8537. WHERE ([Id] = @1)
  8538. 10:50:59.11: -- @0: '2020' (Type = Int32)
  8539. 10:50:59.11: -- @1: '971' (Type = Int32)
  8540. 10:50:59.11: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8541. 10:50:59.11: -- Completed in 0 ms with result: 1
  8542. 10:50:59.111:
  8543. 10:50:59.111: UPDATE [dbo].[Task]
  8544. SET [DocumentId] = @0
  8545. WHERE ([Id] = @1)
  8546. 10:50:59.111: -- @0: '2031' (Type = Int32)
  8547. 10:50:59.111: -- @1: '972' (Type = Int32)
  8548. 10:50:59.111: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8549. 10:50:59.112: -- Completed in 0 ms with result: 1
  8550. 10:50:59.112:
  8551. 10:50:59.112: UPDATE [dbo].[Task]
  8552. SET [DocumentId] = @0
  8553. WHERE ([Id] = @1)
  8554. 10:50:59.112: -- @0: '2022' (Type = Int32)
  8555. 10:50:59.113: -- @1: '973' (Type = Int32)
  8556. 10:50:59.113: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8557. 10:50:59.113: -- Completed in 0 ms with result: 1
  8558. 10:50:59.113:
  8559. 10:50:59.114: UPDATE [dbo].[Task]
  8560. SET [DocumentId] = @0
  8561. WHERE ([Id] = @1)
  8562. 10:50:59.114: -- @0: '2033' (Type = Int32)
  8563. 10:50:59.114: -- @1: '974' (Type = Int32)
  8564. 10:50:59.114: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8565. 10:50:59.115: -- Completed in 0 ms with result: 1
  8566. 10:50:59.115:
  8567. 10:50:59.115: UPDATE [dbo].[Task]
  8568. SET [DocumentId] = @0
  8569. WHERE ([Id] = @1)
  8570. 10:50:59.115: -- @0: '2024' (Type = Int32)
  8571. 10:50:59.115: -- @1: '975' (Type = Int32)
  8572. 10:50:59.116: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8573. 10:50:59.116: -- Completed in 0 ms with result: 1
  8574. 10:50:59.116:
  8575. 10:50:59.116: UPDATE [dbo].[Task]
  8576. SET [DocumentId] = @0
  8577. WHERE ([Id] = @1)
  8578. 10:50:59.117: -- @0: '2035' (Type = Int32)
  8579. 10:50:59.117: -- @1: '976' (Type = Int32)
  8580. 10:50:59.117: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8581. 10:50:59.117: -- Completed in 0 ms with result: 1
  8582. 10:50:59.118:
  8583. 10:50:59.118: UPDATE [dbo].[Task]
  8584. SET [DocumentId] = @0
  8585. WHERE ([Id] = @1)
  8586. 10:50:59.118: -- @0: '2026' (Type = Int32)
  8587. 10:50:59.118: -- @1: '977' (Type = Int32)
  8588. 10:50:59.119: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8589. 10:50:59.119: -- Completed in 0 ms with result: 1
  8590. 10:50:59.119:
  8591. 10:50:59.119: INSERT [dbo].[Workflow]([Created], [Finished], [BusinessProcessId])
  8592. VALUES (@0, NULL, @1)
  8593. SELECT [Id]
  8594. FROM [dbo].[Workflow]
  8595. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.12:
  8596. 10:50:59.12: -- @0: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  8597. 10:50:59.12: -- @1: '1' (Type = Int32)
  8598. 10:50:59.12: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8599. 10:50:59.121: -- Completed in 0 ms with result: SqlDataReader
  8600. 10:50:59.121:
  8601. 10:50:59.121: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  8602. 10:50:59.122: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8603. 10:50:59.123: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8604. 10:50:59.123: SELECT TOP (1)
  8605. [Extent1].[Id] AS [Id],
  8606. [Extent1].[Name] AS [Name],
  8607. [Extent1].[ActionTypeId] AS [ActionTypeId],
  8608. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  8609. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  8610. FROM [dbo].[Stage] AS [Extent1]
  8611. WHERE [Extent1].[Id] = @p__linq__010:50:59.123:
  8612. 10:50:59.124: -- p__linq__0: '1' (Type = Int32)
  8613. 10:50:59.124: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8614. 10:50:59.124: -- Completed in 0 ms with result: SqlDataReader
  8615. 10:50:59.124:
  8616. 10:50:59.125: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8617. 10:50:59.125: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8618. 10:50:59.125: SELECT TOP (1)
  8619. [Extent1].[ID] AS [ID],
  8620. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  8621. [Extent1].[FirstName] AS [FirstName],
  8622. [Extent1].[LastName] AS [LastName],
  8623. [Extent1].[Active] AS [Active]
  8624. FROM [dbo].[User] AS [Extent1]
  8625. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  8626. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:59.126:
  8627. 10:50:59.126: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  8628. 10:50:59.126: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8629. 10:50:59.126: -- Completed in 0 ms with result: SqlDataReader
  8630. 10:50:59.127:
  8631. 10:50:59.127: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8632. 10:50:59.127: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8633. 10:50:59.128: SELECT TOP (2)
  8634. [Extent1].[Id] AS [Id],
  8635. [Extent1].[Name] AS [Name]
  8636. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  8637. WHERE 'New' = [Extent1].[Name]10:50:59.128:
  8638. 10:50:59.128: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8639. 10:50:59.128: -- Completed in 0 ms with result: SqlDataReader
  8640. 10:50:59.128:
  8641. 10:50:59.129: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8642. 10:50:59.141: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8643. 10:50:59.141: Started transaction at 7/29/2016 10:50:59 AM +05:00
  8644. 10:50:59.146: UPDATE [dbo].[Document]
  8645. SET [IsCurrentVersion] = @0
  8646. WHERE ([Id] = @1)
  8647. 10:50:59.146: -- @0: 'False' (Type = Boolean)
  8648. 10:50:59.146: -- @1: '2027' (Type = Int32)
  8649. 10:50:59.146: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8650. 10:50:59.147: -- Completed in 0 ms with result: 1
  8651. 10:50:59.147:
  8652. 10:50:59.147: UPDATE [dbo].[Task]
  8653. SET [DocumentId] = @0
  8654. WHERE ([Id] = @1)
  8655. 10:50:59.147: -- @0: '2018' (Type = Int32)
  8656. 10:50:59.148: -- @1: '969' (Type = Int32)
  8657. 10:50:59.148: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8658. 10:50:59.148: -- Completed in 0 ms with result: 1
  8659. 10:50:59.148:
  8660. 10:50:59.149: UPDATE [dbo].[Task]
  8661. SET [DocumentId] = @0
  8662. WHERE ([Id] = @1)
  8663. 10:50:59.149: -- @0: '2029' (Type = Int32)
  8664. 10:50:59.149: -- @1: '970' (Type = Int32)
  8665. 10:50:59.149: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8666. 10:50:59.149: -- Completed in 0 ms with result: 1
  8667. 10:50:59.15:
  8668. 10:50:59.15: UPDATE [dbo].[Task]
  8669. SET [DocumentId] = @0
  8670. WHERE ([Id] = @1)
  8671. 10:50:59.15: -- @0: '2020' (Type = Int32)
  8672. 10:50:59.15: -- @1: '971' (Type = Int32)
  8673. 10:50:59.151: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8674. 10:50:59.151: -- Completed in 0 ms with result: 1
  8675. 10:50:59.151:
  8676. 10:50:59.151: UPDATE [dbo].[Task]
  8677. SET [DocumentId] = @0
  8678. WHERE ([Id] = @1)
  8679. 10:50:59.151: -- @0: '2031' (Type = Int32)
  8680. 10:50:59.152: -- @1: '972' (Type = Int32)
  8681. 10:50:59.152: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8682. 10:50:59.152: -- Completed in 0 ms with result: 1
  8683. 10:50:59.152:
  8684. 10:50:59.153: UPDATE [dbo].[Task]
  8685. SET [DocumentId] = @0
  8686. WHERE ([Id] = @1)
  8687. 10:50:59.153: -- @0: '2022' (Type = Int32)
  8688. 10:50:59.153: -- @1: '973' (Type = Int32)
  8689. 10:50:59.153: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8690. 10:50:59.154: -- Completed in 0 ms with result: 1
  8691. 10:50:59.154:
  8692. 10:50:59.154: UPDATE [dbo].[Task]
  8693. SET [DocumentId] = @0
  8694. WHERE ([Id] = @1)
  8695. 10:50:59.154: -- @0: '2033' (Type = Int32)
  8696. 10:50:59.155: -- @1: '974' (Type = Int32)
  8697. 10:50:59.155: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8698. 10:50:59.155: -- Completed in 0 ms with result: 1
  8699. 10:50:59.155:
  8700. 10:50:59.156: UPDATE [dbo].[Task]
  8701. SET [DocumentId] = @0
  8702. WHERE ([Id] = @1)
  8703. 10:50:59.156: -- @0: '2024' (Type = Int32)
  8704. 10:50:59.156: -- @1: '975' (Type = Int32)
  8705. 10:50:59.156: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8706. 10:50:59.156: -- Completed in 0 ms with result: 1
  8707. 10:50:59.157:
  8708. 10:50:59.157: UPDATE [dbo].[Task]
  8709. SET [DocumentId] = @0
  8710. WHERE ([Id] = @1)
  8711. 10:50:59.157: -- @0: '2035' (Type = Int32)
  8712. 10:50:59.157: -- @1: '976' (Type = Int32)
  8713. 10:50:59.158: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8714. 10:50:59.158: -- Completed in 0 ms with result: 1
  8715. 10:50:59.158:
  8716. 10:50:59.158: UPDATE [dbo].[Task]
  8717. SET [DocumentId] = @0
  8718. WHERE ([Id] = @1)
  8719. 10:50:59.159: -- @0: '2026' (Type = Int32)
  8720. 10:50:59.159: -- @1: '977' (Type = Int32)
  8721. 10:50:59.159: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8722. 10:50:59.159: -- Completed in 0 ms with result: 1
  8723. 10:50:59.159:
  8724. 10:50:59.16: INSERT [dbo].[Document]([Name], [VersionNumber], [FileName], [Data], [PeriodTypeId], [Created], [IsCurrentVersion], [ChronicalDocumentId], [DocumentStatusId], [SourceSystemId], [DocumentTemplateId], [AuthorId], [SubmissionDate], [LastUserId], [LastUserComment], [PositionDate], [SubmissionDeadline])
  8725. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, @6, @7, @8, @9, NULL, NULL, NULL, @10, NULL)
  8726. SELECT [Id]
  8727. FROM [dbo].[Document]
  8728. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.16:
  8729. 10:50:59.16: -- @0: '10:50 AM_9' (Type = String, Size = 256)
  8730. 10:50:59.16: -- @1: '2.0' (Type = String, Size = 64)
  8731. 10:50:59.161: -- @2: 'test.bin' (Type = String, Size = 256)
  8732. 10:50:59.161: -- @3: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  8733. 10:50:59.161: -- @4: 'True' (Type = Boolean)
  8734. 10:50:59.161: -- @5: '2027' (Type = Int32)
  8735. 10:50:59.162: -- @6: '6' (Type = Int32)
  8736. 10:50:59.162: -- @7: '1' (Type = Int32)
  8737. 10:50:59.162: -- @8: '3' (Type = Int32)
  8738. 10:50:59.162: -- @9: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  8739. 10:50:59.163: -- @10: '1/1/0001 12:00:00 AM' (Type = DateTime2)
  8740. 10:50:59.163: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8741. 10:50:59.163: -- Completed in 0 ms with result: SqlDataReader
  8742. 10:50:59.164:
  8743. 10:50:59.164: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  8744. VALUES (@0, NULL, @1)
  8745. SELECT [Id]
  8746. FROM [dbo].[ProcessQueue]
  8747. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.164:
  8748. 10:50:59.164: -- @0: '2037' (Type = Int32)
  8749. 10:50:59.165: -- @1: '2' (Type = Int32)
  8750. 10:50:59.165: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8751. 10:50:59.165: -- Completed in 0 ms with result: SqlDataReader
  8752. 10:50:59.165:
  8753. 10:50:59.166: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  8754. VALUES (@0, NULL, @1)
  8755. SELECT [Id]
  8756. FROM [dbo].[ProcessQueue]
  8757. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.166:
  8758. 10:50:59.166: -- @0: '2037' (Type = Int32)
  8759. 10:50:59.166: -- @1: '3' (Type = Int32)
  8760. 10:50:59.166: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8761. 10:50:59.167: -- Completed in 0 ms with result: SqlDataReader
  8762. 10:50:59.167:
  8763. 10:50:59.167: INSERT [dbo].[ProcessQueue]([DocumentId], [TemplateId], [ActionTypeId])
  8764. VALUES (@0, NULL, @1)
  8765. SELECT [Id]
  8766. FROM [dbo].[ProcessQueue]
  8767. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.168:
  8768. 10:50:59.168: -- @0: '2037' (Type = Int32)
  8769. 10:50:59.168: -- @1: '1' (Type = Int32)
  8770. 10:50:59.168: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8771. 10:50:59.169: -- Completed in 0 ms with result: SqlDataReader
  8772. 10:50:59.169:
  8773. 10:50:59.169: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  8774. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  8775. SELECT [Id]
  8776. FROM [dbo].[ProcessQueueItem]
  8777. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.17:
  8778. 10:50:59.17: -- @0: '1' (Type = Int32)
  8779. 10:50:59.17: -- @1: 'f1744779-ff53-e611-80c3-00155d63106c' (Type = Guid)
  8780. 10:50:59.17: -- @2: '6115' (Type = Int32)
  8781. 10:50:59.17: -- @3: '1' (Type = Int32)
  8782. 10:50:59.171: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8783. 10:50:59.171: -- Completed in 0 ms with result: SqlDataReader
  8784. 10:50:59.172:
  8785. 10:50:59.172: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  8786. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  8787. SELECT [Id]
  8788. FROM [dbo].[ProcessQueueItem]
  8789. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.172:
  8790. 10:50:59.172: -- @0: '1' (Type = Int32)
  8791. 10:50:59.173: -- @1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid)
  8792. 10:50:59.173: -- @2: '6116' (Type = Int32)
  8793. 10:50:59.173: -- @3: '1' (Type = Int32)
  8794. 10:50:59.174: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8795. 10:50:59.174: -- Completed in 0 ms with result: SqlDataReader
  8796. 10:50:59.174:
  8797. 10:50:59.175: INSERT [dbo].[ProcessQueueItem]([StatusId], [RoleId], [QueueId], [TaskId], [Sent], [Finished], [Order])
  8798. VALUES (@0, @1, @2, NULL, NULL, NULL, @3)
  8799. SELECT [Id]
  8800. FROM [dbo].[ProcessQueueItem]
  8801. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.175:
  8802. 10:50:59.175: -- @0: '1' (Type = Int32)
  8803. 10:50:59.175: -- @1: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid)
  8804. 10:50:59.176: -- @2: '6117' (Type = Int32)
  8805. 10:50:59.176: -- @3: '1' (Type = Int32)
  8806. 10:50:59.176: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8807. 10:50:59.177: -- Completed in 0 ms with result: SqlDataReader
  8808. 10:50:59.177:
  8809. 10:50:59.178: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  8810. 10:50:59.178: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8811. 10:50:59.18: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8812. 10:50:59.18: SELECT
  8813. [Extent1].[ID] AS [ID],
  8814. [Extent1].[Name] AS [Name],
  8815. [Extent1].[SourceSystemId] AS [SourceSystemId],
  8816. [Extent1].[ID_ActionType] AS [ID_ActionType],
  8817. [Extent1].[ID_Group] AS [ID_Group]
  8818. FROM [dbo].[AccessRight] AS [Extent1]10:50:59.18:
  8819. 10:50:59.181: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8820. 10:50:59.181: -- Completed in 0 ms with result: SqlDataReader
  8821. 10:50:59.181:
  8822. 10:50:59.181: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8823. 10:50:59.182: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8824. 10:50:59.182: SELECT TOP (2)
  8825. [Extent1].[Id] AS [Id],
  8826. [Extent1].[Name] AS [Name]
  8827. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  8828. WHERE 'New' = [Extent1].[Name]10:50:59.182:
  8829. 10:50:59.183: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8830. 10:50:59.183: -- Completed in 0 ms with result: SqlDataReader
  8831. 10:50:59.183:
  8832. 10:50:59.183: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8833. 10:50:59.184: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8834. 10:50:59.184: SELECT
  8835. [Extent1].[ID] AS [ID],
  8836. [Extent1].[Name] AS [Name],
  8837. [Extent1].[SourceSystemId] AS [SourceSystemId],
  8838. [Extent1].[ID_ActionType] AS [ID_ActionType],
  8839. [Extent1].[ID_Group] AS [ID_Group]
  8840. FROM [dbo].[AccessRight] AS [Extent1]10:50:59.184:
  8841. 10:50:59.184: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8842. 10:50:59.185: -- Completed in 0 ms with result: SqlDataReader
  8843. 10:50:59.185:
  8844. 10:50:59.185: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8845. 10:50:59.186: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8846. 10:50:59.187: SELECT TOP (2)
  8847. [Extent1].[Id] AS [Id],
  8848. [Extent1].[Name] AS [Name]
  8849. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  8850. WHERE 'New' = [Extent1].[Name]10:50:59.188:
  8851. 10:50:59.188: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8852. 10:50:59.188: -- Completed in 0 ms with result: SqlDataReader
  8853. 10:50:59.189:
  8854. 10:50:59.19: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8855. 10:50:59.19: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8856. 10:50:59.191: SELECT TOP (2)
  8857. [Extent1].[Id] AS [Id],
  8858. [Extent1].[Name] AS [Name]
  8859. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  8860. WHERE 'Sent' = [Extent1].[Name]10:50:59.191:
  8861. 10:50:59.191: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8862. 10:50:59.192: -- Completed in 0 ms with result: SqlDataReader
  8863. 10:50:59.192:
  8864. 10:50:59.192: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8865. 10:50:59.193: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8866. 10:50:59.193: SELECT TOP (2)
  8867. [Extent1].[Id] AS [Id],
  8868. [Extent1].[Name] AS [Name]
  8869. FROM [dbo].[ProcessQueueStatus] AS [Extent1]
  8870. WHERE 'New' = [Extent1].[Name]10:50:59.193:
  8871. 10:50:59.194: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8872. 10:50:59.195: -- Completed in 0 ms with result: SqlDataReader
  8873. 10:50:59.195:
  8874. 10:50:59.195: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8875. 10:50:59.202: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8876. 10:50:59.202: Started transaction at 7/29/2016 10:50:59 AM +05:00
  8877. 10:50:59.206: UPDATE [dbo].[ProcessQueueItem]
  8878. SET [StatusId] = @0, [Sent] = @1
  8879. WHERE ([Id] = @2)
  8880. 10:50:59.206: -- @0: '2' (Type = Int32)
  8881. 10:50:59.206: -- @1: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  8882. 10:50:59.207: -- @2: '6065' (Type = Int32)
  8883. 10:50:59.207: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8884. 10:50:59.207: -- Completed in 0 ms with result: 1
  8885. 10:50:59.207:
  8886. 10:50:59.208: UPDATE [dbo].[Task]
  8887. SET [DocumentId] = @0
  8888. WHERE ([Id] = @1)
  8889. 10:50:59.208: -- @0: '2028' (Type = Int32)
  8890. 10:50:59.208: -- @1: '969' (Type = Int32)
  8891. 10:50:59.208: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8892. 10:50:59.209: -- Completed in 0 ms with result: 1
  8893. 10:50:59.209:
  8894. 10:50:59.209: UPDATE [dbo].[Task]
  8895. SET [DocumentId] = @0
  8896. WHERE ([Id] = @1)
  8897. 10:50:59.209: -- @0: '2019' (Type = Int32)
  8898. 10:50:59.21: -- @1: '970' (Type = Int32)
  8899. 10:50:59.21: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8900. 10:50:59.21: -- Completed in 0 ms with result: 1
  8901. 10:50:59.21:
  8902. 10:50:59.211: UPDATE [dbo].[Task]
  8903. SET [DocumentId] = @0
  8904. WHERE ([Id] = @1)
  8905. 10:50:59.211: -- @0: '2030' (Type = Int32)
  8906. 10:50:59.211: -- @1: '971' (Type = Int32)
  8907. 10:50:59.211: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8908. 10:50:59.212: -- Completed in 0 ms with result: 1
  8909. 10:50:59.212:
  8910. 10:50:59.212: UPDATE [dbo].[Task]
  8911. SET [DocumentId] = @0
  8912. WHERE ([Id] = @1)
  8913. 10:50:59.212: -- @0: '2021' (Type = Int32)
  8914. 10:50:59.212: -- @1: '972' (Type = Int32)
  8915. 10:50:59.213: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8916. 10:50:59.213: -- Completed in 0 ms with result: 1
  8917. 10:50:59.213:
  8918. 10:50:59.213: UPDATE [dbo].[Task]
  8919. SET [DocumentId] = @0
  8920. WHERE ([Id] = @1)
  8921. 10:50:59.214: -- @0: '2032' (Type = Int32)
  8922. 10:50:59.214: -- @1: '973' (Type = Int32)
  8923. 10:50:59.214: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8924. 10:50:59.214: -- Completed in 0 ms with result: 1
  8925. 10:50:59.215:
  8926. 10:50:59.215: UPDATE [dbo].[Task]
  8927. SET [DocumentId] = @0
  8928. WHERE ([Id] = @1)
  8929. 10:50:59.215: -- @0: '2023' (Type = Int32)
  8930. 10:50:59.215: -- @1: '974' (Type = Int32)
  8931. 10:50:59.215: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8932. 10:50:59.216: -- Completed in 0 ms with result: 1
  8933. 10:50:59.216:
  8934. 10:50:59.216: UPDATE [dbo].[Task]
  8935. SET [DocumentId] = @0
  8936. WHERE ([Id] = @1)
  8937. 10:50:59.216: -- @0: '2034' (Type = Int32)
  8938. 10:50:59.217: -- @1: '975' (Type = Int32)
  8939. 10:50:59.217: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8940. 10:50:59.217: -- Completed in 0 ms with result: 1
  8941. 10:50:59.217:
  8942. 10:50:59.218: UPDATE [dbo].[Task]
  8943. SET [DocumentId] = @0
  8944. WHERE ([Id] = @1)
  8945. 10:50:59.218: -- @0: '2025' (Type = Int32)
  8946. 10:50:59.218: -- @1: '976' (Type = Int32)
  8947. 10:50:59.218: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8948. 10:50:59.219: -- Completed in 0 ms with result: 1
  8949. 10:50:59.219:
  8950. 10:50:59.219: UPDATE [dbo].[Task]
  8951. SET [DocumentId] = @0
  8952. WHERE ([Id] = @1)
  8953. 10:50:59.219: -- @0: '2036' (Type = Int32)
  8954. 10:50:59.219: -- @1: '977' (Type = Int32)
  8955. 10:50:59.22: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8956. 10:50:59.22: -- Completed in 0 ms with result: 1
  8957. 10:50:59.22:
  8958. 10:50:59.221: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  8959. 10:50:59.221: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8960. 10:50:59.222: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8961. 10:50:59.222: SELECT TOP (2)
  8962. [Extent1].[Id] AS [Id],
  8963. [Extent1].[Name] AS [Name]
  8964. FROM [dbo].[TaskStatus] AS [Extent1]
  8965. WHERE N'New' = [Extent1].[Name]10:50:59.223:
  8966. 10:50:59.223: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8967. 10:50:59.223: -- Completed in 0 ms with result: SqlDataReader
  8968. 10:50:59.223:
  8969. 10:50:59.224: Closed connection at 7/29/2016 10:50:59 AM +05:00
  8970. 10:50:59.235: Opened connection at 7/29/2016 10:50:59 AM +05:00
  8971. 10:50:59.235: Started transaction at 7/29/2016 10:50:59 AM +05:00
  8972. 10:50:59.238: UPDATE [dbo].[Task]
  8973. SET [DocumentId] = @0
  8974. WHERE ([Id] = @1)
  8975. 10:50:59.239: -- @0: '2028' (Type = Int32)
  8976. 10:50:59.239: -- @1: '969' (Type = Int32)
  8977. 10:50:59.239: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8978. 10:50:59.24: -- Completed in 0 ms with result: 1
  8979. 10:50:59.24:
  8980. 10:50:59.24: UPDATE [dbo].[Task]
  8981. SET [DocumentId] = @0
  8982. WHERE ([Id] = @1)
  8983. 10:50:59.24: -- @0: '2019' (Type = Int32)
  8984. 10:50:59.24: -- @1: '970' (Type = Int32)
  8985. 10:50:59.241: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8986. 10:50:59.241: -- Completed in 0 ms with result: 1
  8987. 10:50:59.241:
  8988. 10:50:59.241: UPDATE [dbo].[Task]
  8989. SET [DocumentId] = @0
  8990. WHERE ([Id] = @1)
  8991. 10:50:59.242: -- @0: '2030' (Type = Int32)
  8992. 10:50:59.242: -- @1: '971' (Type = Int32)
  8993. 10:50:59.242: -- Executing at 7/29/2016 10:50:59 AM +05:00
  8994. 10:50:59.242: -- Completed in 0 ms with result: 1
  8995. 10:50:59.243:
  8996. 10:50:59.243: UPDATE [dbo].[Task]
  8997. SET [DocumentId] = @0
  8998. WHERE ([Id] = @1)
  8999. 10:50:59.243: -- @0: '2021' (Type = Int32)
  9000. 10:50:59.243: -- @1: '972' (Type = Int32)
  9001. 10:50:59.243: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9002. 10:50:59.244: -- Completed in 0 ms with result: 1
  9003. 10:50:59.244:
  9004. 10:50:59.244: UPDATE [dbo].[Task]
  9005. SET [DocumentId] = @0
  9006. WHERE ([Id] = @1)
  9007. 10:50:59.244: -- @0: '2032' (Type = Int32)
  9008. 10:50:59.245: -- @1: '973' (Type = Int32)
  9009. 10:50:59.245: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9010. 10:50:59.245: -- Completed in 0 ms with result: 1
  9011. 10:50:59.246:
  9012. 10:50:59.246: UPDATE [dbo].[Task]
  9013. SET [DocumentId] = @0
  9014. WHERE ([Id] = @1)
  9015. 10:50:59.246: -- @0: '2023' (Type = Int32)
  9016. 10:50:59.246: -- @1: '974' (Type = Int32)
  9017. 10:50:59.247: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9018. 10:50:59.247: -- Completed in 0 ms with result: 1
  9019. 10:50:59.247:
  9020. 10:50:59.247: UPDATE [dbo].[Task]
  9021. SET [DocumentId] = @0
  9022. WHERE ([Id] = @1)
  9023. 10:50:59.248: -- @0: '2034' (Type = Int32)
  9024. 10:50:59.248: -- @1: '975' (Type = Int32)
  9025. 10:50:59.248: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9026. 10:50:59.248: -- Completed in 0 ms with result: 1
  9027. 10:50:59.249:
  9028. 10:50:59.249: UPDATE [dbo].[Task]
  9029. SET [DocumentId] = @0
  9030. WHERE ([Id] = @1)
  9031. 10:50:59.249: -- @0: '2025' (Type = Int32)
  9032. 10:50:59.249: -- @1: '976' (Type = Int32)
  9033. 10:50:59.249: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9034. 10:50:59.25: -- Completed in 0 ms with result: 1
  9035. 10:50:59.25:
  9036. 10:50:59.25: UPDATE [dbo].[Task]
  9037. SET [DocumentId] = @0
  9038. WHERE ([Id] = @1)
  9039. 10:50:59.251: -- @0: '2036' (Type = Int32)
  9040. 10:50:59.251: -- @1: '977' (Type = Int32)
  9041. 10:50:59.251: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9042. 10:50:59.251: -- Completed in 0 ms with result: 1
  9043. 10:50:59.252:
  9044. 10:50:59.252: INSERT [dbo].[TaskPerformer]([RoleId], [UserId])
  9045. VALUES (NULL, @0)
  9046. SELECT [Id]
  9047. FROM [dbo].[TaskPerformer]
  9048. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.252:
  9049. 10:50:59.252: -- @0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  9050. 10:50:59.253: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9051. 10:50:59.253: -- Completed in 0 ms with result: SqlDataReader
  9052. 10:50:59.253:
  9053. 10:50:59.254: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  9054. 10:50:59.254: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9055. 10:50:59.266: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9056. 10:50:59.267: Started transaction at 7/29/2016 10:50:59 AM +05:00
  9057. 10:50:59.27: UPDATE [dbo].[Task]
  9058. SET [DocumentId] = @0
  9059. WHERE ([Id] = @1)
  9060. 10:50:59.271: -- @0: '2028' (Type = Int32)
  9061. 10:50:59.271: -- @1: '969' (Type = Int32)
  9062. 10:50:59.271: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9063. 10:50:59.272: -- Completed in 0 ms with result: 1
  9064. 10:50:59.272:
  9065. 10:50:59.272: UPDATE [dbo].[Task]
  9066. SET [DocumentId] = @0
  9067. WHERE ([Id] = @1)
  9068. 10:50:59.272: -- @0: '2019' (Type = Int32)
  9069. 10:50:59.273: -- @1: '970' (Type = Int32)
  9070. 10:50:59.273: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9071. 10:50:59.273: -- Completed in 0 ms with result: 1
  9072. 10:50:59.273:
  9073. 10:50:59.273: UPDATE [dbo].[Task]
  9074. SET [DocumentId] = @0
  9075. WHERE ([Id] = @1)
  9076. 10:50:59.274: -- @0: '2030' (Type = Int32)
  9077. 10:50:59.274: -- @1: '971' (Type = Int32)
  9078. 10:50:59.274: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9079. 10:50:59.274: -- Completed in 0 ms with result: 1
  9080. 10:50:59.275:
  9081. 10:50:59.275: UPDATE [dbo].[Task]
  9082. SET [DocumentId] = @0
  9083. WHERE ([Id] = @1)
  9084. 10:50:59.275: -- @0: '2021' (Type = Int32)
  9085. 10:50:59.275: -- @1: '972' (Type = Int32)
  9086. 10:50:59.276: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9087. 10:50:59.276: -- Completed in 0 ms with result: 1
  9088. 10:50:59.276:
  9089. 10:50:59.276: UPDATE [dbo].[Task]
  9090. SET [DocumentId] = @0
  9091. WHERE ([Id] = @1)
  9092. 10:50:59.276: -- @0: '2032' (Type = Int32)
  9093. 10:50:59.277: -- @1: '973' (Type = Int32)
  9094. 10:50:59.277: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9095. 10:50:59.277: -- Completed in 0 ms with result: 1
  9096. 10:50:59.277:
  9097. 10:50:59.278: UPDATE [dbo].[Task]
  9098. SET [DocumentId] = @0
  9099. WHERE ([Id] = @1)
  9100. 10:50:59.278: -- @0: '2023' (Type = Int32)
  9101. 10:50:59.278: -- @1: '974' (Type = Int32)
  9102. 10:50:59.278: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9103. 10:50:59.279: -- Completed in 0 ms with result: 1
  9104. 10:50:59.279:
  9105. 10:50:59.279: UPDATE [dbo].[Task]
  9106. SET [DocumentId] = @0
  9107. WHERE ([Id] = @1)
  9108. 10:50:59.279: -- @0: '2034' (Type = Int32)
  9109. 10:50:59.279: -- @1: '975' (Type = Int32)
  9110. 10:50:59.28: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9111. 10:50:59.28: -- Completed in 0 ms with result: 1
  9112. 10:50:59.28:
  9113. 10:50:59.28: UPDATE [dbo].[Task]
  9114. SET [DocumentId] = @0
  9115. WHERE ([Id] = @1)
  9116. 10:50:59.281: -- @0: '2025' (Type = Int32)
  9117. 10:50:59.281: -- @1: '976' (Type = Int32)
  9118. 10:50:59.281: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9119. 10:50:59.281: -- Completed in 0 ms with result: 1
  9120. 10:50:59.281:
  9121. 10:50:59.282: UPDATE [dbo].[Task]
  9122. SET [DocumentId] = @0
  9123. WHERE ([Id] = @1)
  9124. 10:50:59.282: -- @0: '2036' (Type = Int32)
  9125. 10:50:59.282: -- @1: '977' (Type = Int32)
  9126. 10:50:59.282: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9127. 10:50:59.283: -- Completed in 0 ms with result: 1
  9128. 10:50:59.283:
  9129. 10:50:59.283: INSERT [dbo].[Task]([DocumentId], [StatusId], [Created], [Started], [Finished], [WorkflowId], [StageId], [TaskPerformerId], [Comment])
  9130. VALUES (@0, @1, @2, NULL, NULL, @3, @4, @5, NULL)
  9131. SELECT [Id]
  9132. FROM [dbo].[Task]
  9133. WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()10:50:59.283:
  9134. 10:50:59.284: -- @0: '2027' (Type = Int32)
  9135. 10:50:59.284: -- @1: '1' (Type = Int32)
  9136. 10:50:59.284: -- @2: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  9137. 10:50:59.284: -- @3: '983' (Type = Int32)
  9138. 10:50:59.284: -- @4: '1' (Type = Int32)
  9139. 10:50:59.285: -- @5: '978' (Type = Int32)
  9140. 10:50:59.285: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9141. 10:50:59.285: -- Completed in 0 ms with result: SqlDataReader
  9142. 10:50:59.285:
  9143. 10:50:59.286: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  9144. 10:50:59.286: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9145. 10:50:59.288: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9146. 10:50:59.288: SELECT TOP (1)
  9147. [Extent1].[RoleId] AS [RoleId],
  9148. [Extent1].[ApplicationId] AS [ApplicationId],
  9149. [Extent1].[RoleName] AS [RoleName],
  9150. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  9151. [Extent1].[Description] AS [Description]
  9152. FROM [dbo].[aspnet_Roles] AS [Extent1]
  9153. WHERE [Extent1].[RoleId] = @p__linq__010:50:59.288:
  9154. 10:50:59.289: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  9155. 10:50:59.289: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9156. 10:50:59.289: -- Completed in 0 ms with result: SqlDataReader
  9157. 10:50:59.289:
  9158. 10:50:59.29: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9159. 10:50:59.29: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9160. 10:50:59.29: SELECT TOP (2)
  9161. [Extent1].[ID] AS [ID],
  9162. [Extent1].[Name] AS [Name]
  9163. FROM [dbo].[AuditAction] AS [Extent1]
  9164. WHERE [Extent1].[ID] = @p__linq__010:50:59.29:
  9165. 10:50:59.291: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  9166. 10:50:59.291: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9167. 10:50:59.291: -- Completed in 0 ms with result: SqlDataReader
  9168. 10:50:59.291:
  9169. 10:50:59.292: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9170. 10:50:59.304: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9171. 10:50:59.304: Started transaction at 7/29/2016 10:50:59 AM +05:00
  9172. 10:50:59.308: UPDATE [dbo].[Task]
  9173. SET [DocumentId] = @0
  9174. WHERE ([Id] = @1)
  9175. 10:50:59.308: -- @0: '2028' (Type = Int32)
  9176. 10:50:59.308: -- @1: '969' (Type = Int32)
  9177. 10:50:59.308: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9178. 10:50:59.309: -- Completed in 0 ms with result: 1
  9179. 10:50:59.309:
  9180. 10:50:59.309: UPDATE [dbo].[Task]
  9181. SET [DocumentId] = @0
  9182. WHERE ([Id] = @1)
  9183. 10:50:59.309: -- @0: '2019' (Type = Int32)
  9184. 10:50:59.31: -- @1: '970' (Type = Int32)
  9185. 10:50:59.31: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9186. 10:50:59.31: -- Completed in 0 ms with result: 1
  9187. 10:50:59.31:
  9188. 10:50:59.311: UPDATE [dbo].[Task]
  9189. SET [DocumentId] = @0
  9190. WHERE ([Id] = @1)
  9191. 10:50:59.311: -- @0: '2030' (Type = Int32)
  9192. 10:50:59.311: -- @1: '971' (Type = Int32)
  9193. 10:50:59.311: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9194. 10:50:59.312: -- Completed in 0 ms with result: 1
  9195. 10:50:59.312:
  9196. 10:50:59.312: UPDATE [dbo].[Task]
  9197. SET [DocumentId] = @0
  9198. WHERE ([Id] = @1)
  9199. 10:50:59.312: -- @0: '2021' (Type = Int32)
  9200. 10:50:59.312: -- @1: '972' (Type = Int32)
  9201. 10:50:59.313: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9202. 10:50:59.313: -- Completed in 0 ms with result: 1
  9203. 10:50:59.313:
  9204. 10:50:59.313: UPDATE [dbo].[Task]
  9205. SET [DocumentId] = @0
  9206. WHERE ([Id] = @1)
  9207. 10:50:59.314: -- @0: '2032' (Type = Int32)
  9208. 10:50:59.314: -- @1: '973' (Type = Int32)
  9209. 10:50:59.314: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9210. 10:50:59.314: -- Completed in 0 ms with result: 1
  9211. 10:50:59.315:
  9212. 10:50:59.315: UPDATE [dbo].[Task]
  9213. SET [DocumentId] = @0
  9214. WHERE ([Id] = @1)
  9215. 10:50:59.315: -- @0: '2023' (Type = Int32)
  9216. 10:50:59.315: -- @1: '974' (Type = Int32)
  9217. 10:50:59.315: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9218. 10:50:59.316: -- Completed in 0 ms with result: 1
  9219. 10:50:59.316:
  9220. 10:50:59.316: UPDATE [dbo].[Task]
  9221. SET [DocumentId] = @0
  9222. WHERE ([Id] = @1)
  9223. 10:50:59.316: -- @0: '2034' (Type = Int32)
  9224. 10:50:59.317: -- @1: '975' (Type = Int32)
  9225. 10:50:59.317: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9226. 10:50:59.317: -- Completed in 0 ms with result: 1
  9227. 10:50:59.317:
  9228. 10:50:59.318: UPDATE [dbo].[Task]
  9229. SET [DocumentId] = @0
  9230. WHERE ([Id] = @1)
  9231. 10:50:59.318: -- @0: '2025' (Type = Int32)
  9232. 10:50:59.318: -- @1: '976' (Type = Int32)
  9233. 10:50:59.318: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9234. 10:50:59.318: -- Completed in 0 ms with result: 1
  9235. 10:50:59.319:
  9236. 10:50:59.319: UPDATE [dbo].[Task]
  9237. SET [DocumentId] = @0
  9238. WHERE ([Id] = @1)
  9239. 10:50:59.319: -- @0: '2036' (Type = Int32)
  9240. 10:50:59.319: -- @1: '977' (Type = Int32)
  9241. 10:50:59.32: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9242. 10:50:59.32: -- Completed in 0 ms with result: 1
  9243. 10:50:59.32:
  9244. 10:50:59.32: UPDATE [dbo].[Task]
  9245. SET [DocumentId] = @0
  9246. WHERE ([Id] = @1)
  9247. 10:50:59.32: -- @0: '2027' (Type = Int32)
  9248. 10:50:59.321: -- @1: '978' (Type = Int32)
  9249. 10:50:59.321: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9250. 10:50:59.321: -- Completed in 0 ms with result: 1
  9251. 10:50:59.321:
  9252. 10:50:59.322: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  9253. VALUES (@0, @1, @2, @3, @4)
  9254. SELECT [ID]
  9255. FROM [dbo].[AuditTrail]
  9256. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:59.322:
  9257. 10:50:59.322: -- @0: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  9258. 10:50:59.322: -- @1: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid)
  9259. 10:50:59.322: -- @2: '2' (Type = Int32)
  9260. 10:50:59.323: -- @3: '2027' (Type = Int32)
  9261. 10:50:59.323: -- @4: '978' (Type = Int32)
  9262. 10:50:59.323: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9263. 10:50:59.323: -- Completed in 0 ms with result: SqlDataReader
  9264. 10:50:59.324:
  9265. 10:50:59.324: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  9266. 10:50:59.324: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9267. 10:50:59.326: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9268. 10:50:59.326: SELECT TOP (2)
  9269. [Extent1].[ID] AS [ID],
  9270. [Extent1].[Name] AS [Name]
  9271. FROM [dbo].[AuditAction] AS [Extent1]
  9272. WHERE [Extent1].[ID] = @p__linq__010:50:59.326:
  9273. 10:50:59.326: -- p__linq__0: '2' (Type = Int32, IsNullable = false)
  9274. 10:50:59.327: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9275. 10:50:59.327: -- Completed in 0 ms with result: SqlDataReader
  9276. 10:50:59.327:
  9277. 10:50:59.328: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9278. 10:50:59.339: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9279. 10:50:59.34: Started transaction at 7/29/2016 10:50:59 AM +05:00
  9280. 10:50:59.343: UPDATE [dbo].[Task]
  9281. SET [DocumentId] = @0
  9282. WHERE ([Id] = @1)
  9283. 10:50:59.343: -- @0: '2028' (Type = Int32)
  9284. 10:50:59.343: -- @1: '969' (Type = Int32)
  9285. 10:50:59.344: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9286. 10:50:59.344: -- Completed in 0 ms with result: 1
  9287. 10:50:59.344:
  9288. 10:50:59.345: UPDATE [dbo].[Task]
  9289. SET [DocumentId] = @0
  9290. WHERE ([Id] = @1)
  9291. 10:50:59.345: -- @0: '2019' (Type = Int32)
  9292. 10:50:59.345: -- @1: '970' (Type = Int32)
  9293. 10:50:59.345: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9294. 10:50:59.345: -- Completed in 0 ms with result: 1
  9295. 10:50:59.346:
  9296. 10:50:59.346: UPDATE [dbo].[Task]
  9297. SET [DocumentId] = @0
  9298. WHERE ([Id] = @1)
  9299. 10:50:59.346: -- @0: '2030' (Type = Int32)
  9300. 10:50:59.346: -- @1: '971' (Type = Int32)
  9301. 10:50:59.347: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9302. 10:50:59.347: -- Completed in 0 ms with result: 1
  9303. 10:50:59.347:
  9304. 10:50:59.347: UPDATE [dbo].[Task]
  9305. SET [DocumentId] = @0
  9306. WHERE ([Id] = @1)
  9307. 10:50:59.347: -- @0: '2021' (Type = Int32)
  9308. 10:50:59.348: -- @1: '972' (Type = Int32)
  9309. 10:50:59.348: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9310. 10:50:59.348: -- Completed in 0 ms with result: 1
  9311. 10:50:59.348:
  9312. 10:50:59.349: UPDATE [dbo].[Task]
  9313. SET [DocumentId] = @0
  9314. WHERE ([Id] = @1)
  9315. 10:50:59.349: -- @0: '2032' (Type = Int32)
  9316. 10:50:59.349: -- @1: '973' (Type = Int32)
  9317. 10:50:59.349: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9318. 10:50:59.35: -- Completed in 0 ms with result: 1
  9319. 10:50:59.35:
  9320. 10:50:59.35: UPDATE [dbo].[Task]
  9321. SET [DocumentId] = @0
  9322. WHERE ([Id] = @1)
  9323. 10:50:59.35: -- @0: '2023' (Type = Int32)
  9324. 10:50:59.35: -- @1: '974' (Type = Int32)
  9325. 10:50:59.351: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9326. 10:50:59.351: -- Completed in 0 ms with result: 1
  9327. 10:50:59.351:
  9328. 10:50:59.351: UPDATE [dbo].[Task]
  9329. SET [DocumentId] = @0
  9330. WHERE ([Id] = @1)
  9331. 10:50:59.352: -- @0: '2034' (Type = Int32)
  9332. 10:50:59.352: -- @1: '975' (Type = Int32)
  9333. 10:50:59.352: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9334. 10:50:59.352: -- Completed in 0 ms with result: 1
  9335. 10:50:59.352:
  9336. 10:50:59.353: UPDATE [dbo].[Task]
  9337. SET [DocumentId] = @0
  9338. WHERE ([Id] = @1)
  9339. 10:50:59.353: -- @0: '2025' (Type = Int32)
  9340. 10:50:59.353: -- @1: '976' (Type = Int32)
  9341. 10:50:59.353: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9342. 10:50:59.354: -- Completed in 0 ms with result: 1
  9343. 10:50:59.354:
  9344. 10:50:59.354: UPDATE [dbo].[Task]
  9345. SET [DocumentId] = @0
  9346. WHERE ([Id] = @1)
  9347. 10:50:59.354: -- @0: '2036' (Type = Int32)
  9348. 10:50:59.354: -- @1: '977' (Type = Int32)
  9349. 10:50:59.355: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9350. 10:50:59.355: -- Completed in 0 ms with result: 1
  9351. 10:50:59.355:
  9352. 10:50:59.355: UPDATE [dbo].[Task]
  9353. SET [DocumentId] = @0
  9354. WHERE ([Id] = @1)
  9355. 10:50:59.356: -- @0: '2027' (Type = Int32)
  9356. 10:50:59.356: -- @1: '978' (Type = Int32)
  9357. 10:50:59.356: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9358. 10:50:59.356: -- Completed in 0 ms with result: 1
  9359. 10:50:59.356:
  9360. 10:50:59.357: INSERT [dbo].[AuditTrail]([When], [UserId], [AuditActionId], [DocumentId], [TaskId])
  9361. VALUES (@0, @1, @2, @3, @4)
  9362. SELECT [ID]
  9363. FROM [dbo].[AuditTrail]
  9364. WHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()10:50:59.357:
  9365. 10:50:59.357: -- @0: '7/29/2016 10:50:59 AM' (Type = DateTime2)
  9366. 10:50:59.357: -- @1: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid)
  9367. 10:50:59.358: -- @2: '2' (Type = Int32)
  9368. 10:50:59.358: -- @3: '2027' (Type = Int32)
  9369. 10:50:59.358: -- @4: '978' (Type = Int32)
  9370. 10:50:59.358: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9371. 10:50:59.359: -- Completed in 0 ms with result: SqlDataReader
  9372. 10:50:59.359:
  9373. 10:50:59.359: Committed transaction at 7/29/2016 10:50:59 AM +05:00
  9374. 10:50:59.359: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9375. 10:50:59.361: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9376. 10:50:59.361: SELECT TOP (1)
  9377. [Extent1].[RoleId] AS [RoleId],
  9378. [Extent1].[ApplicationId] AS [ApplicationId],
  9379. [Extent1].[RoleName] AS [RoleName],
  9380. [Extent1].[LoweredRoleName] AS [LoweredRoleName],
  9381. [Extent1].[Description] AS [Description]
  9382. FROM [dbo].[aspnet_Roles] AS [Extent1]
  9383. WHERE [Extent1].[RoleId] = @p__linq__010:50:59.361:
  9384. 10:50:59.362: -- p__linq__0: 'f167be34-fd53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  9385. 10:50:59.362: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9386. 10:50:59.362: -- Completed in 0 ms with result: SqlDataReader
  9387. 10:50:59.362:
  9388. 10:50:59.363: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9389. 10:50:59.363: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9390. 10:50:59.364: SELECT TOP (2)
  9391. [Extent1].[ID] AS [ID],
  9392. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  9393. [Extent1].[FirstName] AS [FirstName],
  9394. [Extent1].[LastName] AS [LastName],
  9395. [Extent1].[Active] AS [Active]
  9396. FROM [dbo].[User] AS [Extent1]
  9397. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:59.364:
  9398. 10:50:59.364: -- p__linq__0: '3f523351-5ea6-40f1-86d1-3c5212d5335d' (Type = Guid, IsNullable = false)
  9399. 10:50:59.364: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9400. 10:50:59.365: -- Completed in 0 ms with result: SqlDataReader
  9401. 10:50:59.365:
  9402. 10:50:59.365: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9403. Exception thrown: 'System.NullReferenceException' in Core.dll
  9404. 10:50:59.376: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9405. 10:50:59.377: SELECT TOP (2)
  9406. [Extent1].[ID] AS [ID],
  9407. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  9408. [Extent1].[FirstName] AS [FirstName],
  9409. [Extent1].[LastName] AS [LastName],
  9410. [Extent1].[Active] AS [Active]
  9411. FROM [dbo].[User] AS [Extent1]
  9412. WHERE [Extent1].[ID_aspnet_Users] = @p__linq__010:50:59.377:
  9413. 10:50:59.378: -- p__linq__0: '860f38c6-032b-4ecc-babe-d3007d4a0718' (Type = Guid, IsNullable = false)
  9414. 10:50:59.378: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9415. 10:50:59.378: -- Completed in 0 ms with result: SqlDataReader
  9416. 10:50:59.379:
  9417. 10:50:59.379: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9418. Exception thrown: 'System.NullReferenceException' in Core.dll
  9419. 10:50:59.394: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9420. 10:50:59.395: SELECT TOP (1)
  9421. [Extent1].[Id] AS [Id],
  9422. [Extent1].[Name] AS [Name],
  9423. [Extent1].[Value] AS [Value],
  9424. [Extent1].[LongValue] AS [LongValue]
  9425. FROM [dbo].[Setting] AS [Extent1]
  9426. WHERE N'NotificationEmail' = [Extent1].[Name]10:50:59.395:
  9427. 10:50:59.396: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9428. 10:50:59.396: -- Completed in 0 ms with result: SqlDataReader
  9429. 10:50:59.397:
  9430. 10:50:59.397: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9431. 10:50:59.397: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9432. 10:50:59.398: SELECT TOP (1)
  9433. [Extent1].[Id] AS [Id],
  9434. [Extent1].[Name] AS [Name],
  9435. [Extent1].[Value] AS [Value],
  9436. [Extent1].[LongValue] AS [LongValue]
  9437. FROM [dbo].[Setting] AS [Extent1]
  9438. WHERE N'SmtpServer' = [Extent1].[Name]10:50:59.398:
  9439. 10:50:59.398: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9440. 10:50:59.399: -- Completed in 0 ms with result: SqlDataReader
  9441. 10:50:59.399:
  9442. 10:50:59.399: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9443. 10:50:59.4: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9444. 10:50:59.4: SELECT TOP (1)
  9445. [Extent1].[Id] AS [Id],
  9446. [Extent1].[Name] AS [Name],
  9447. [Extent1].[Value] AS [Value],
  9448. [Extent1].[LongValue] AS [LongValue]
  9449. FROM [dbo].[Setting] AS [Extent1]
  9450. WHERE N'SmtpPort' = [Extent1].[Name]10:50:59.4:
  9451. 10:50:59.401: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9452. 10:50:59.401: -- Completed in 0 ms with result: SqlDataReader
  9453. 10:50:59.401:
  9454. 10:50:59.402: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9455. 10:50:59.403: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9456. 10:50:59.403: SELECT TOP (1)
  9457. [Extent1].[Id] AS [Id],
  9458. [Extent1].[Name] AS [Name],
  9459. [Extent1].[Value] AS [Value],
  9460. [Extent1].[LongValue] AS [LongValue]
  9461. FROM [dbo].[Setting] AS [Extent1]
  9462. WHERE N'NotificationPassword' = [Extent1].[Name]10:50:59.404:
  9463. 10:50:59.404: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9464. 10:50:59.404: -- Completed in 0 ms with result: SqlDataReader
  9465. 10:50:59.405:
  9466. 10:50:59.405: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9467. 10:50:59.405: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9468. 10:50:59.406: SELECT TOP (1)
  9469. [Extent1].[Id] AS [Id],
  9470. [Extent1].[Name] AS [Name],
  9471. [Extent1].[Value] AS [Value],
  9472. [Extent1].[LongValue] AS [LongValue]
  9473. FROM [dbo].[Setting] AS [Extent1]
  9474. WHERE N'RequiredAuthentication' = [Extent1].[Name]10:50:59.407:
  9475. 10:50:59.407: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9476. 10:50:59.408: -- Completed in 0 ms with result: SqlDataReader
  9477. 10:50:59.408:
  9478. 10:50:59.408: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9479. 10:50:59.409: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9480. 10:50:59.409: SELECT TOP (1)
  9481. [Extent1].[ID] AS [ID],
  9482. [Extent1].[ID_aspnet_Users] AS [ID_aspnet_Users],
  9483. [Extent1].[FirstName] AS [FirstName],
  9484. [Extent1].[LastName] AS [LastName],
  9485. [Extent1].[Active] AS [Active]
  9486. FROM [dbo].[User] AS [Extent1]
  9487. LEFT OUTER JOIN [dbo].[aspnet_Users] AS [Extent2] ON [Extent1].[ID_aspnet_Users] = [Extent2].[UserId]
  9488. WHERE ([Extent2].[UserName] = @p__linq__0) OR (([Extent2].[UserName] IS NULL) AND (@p__linq__0 IS NULL))10:50:59.41:
  9489. 10:50:59.41: -- p__linq__0: 'admin' (Type = String, Size = 4000)
  9490. 10:50:59.41: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9491. 10:50:59.411: -- Completed in 0 ms with result: SqlDataReader
  9492. 10:50:59.411:
  9493. 10:50:59.412: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9494. 10:50:59.413: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9495. 10:50:59.418: SELECT
  9496. [Extent1].[UserId] AS [UserId],
  9497. [Extent1].[ApplicationId] AS [ApplicationId],
  9498. [Extent1].[UserName] AS [UserName],
  9499. [Extent1].[LoweredUserName] AS [LoweredUserName],
  9500. [Extent1].[MobileAlias] AS [MobileAlias],
  9501. [Extent1].[IsAnonymous] AS [IsAnonymous],
  9502. [Extent1].[LastActivityDate] AS [LastActivityDate]
  9503. FROM [dbo].[aspnet_Users] AS [Extent1]
  9504. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:59.419:
  9505. 10:50:59.419: -- EntityKeyValue1: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid)
  9506. 10:50:59.42: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9507. 10:50:59.42: -- Completed in 0 ms with result: SqlDataReader
  9508. 10:50:59.421:
  9509. 10:50:59.421: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9510. 10:50:59.422: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9511. 10:50:59.422: SELECT
  9512. [Extent2].[RoleId] AS [RoleId],
  9513. [Extent2].[ApplicationId] AS [ApplicationId],
  9514. [Extent2].[RoleName] AS [RoleName],
  9515. [Extent2].[LoweredRoleName] AS [LoweredRoleName],
  9516. [Extent2].[Description] AS [Description]
  9517. FROM [dbo].[aspnet_UsersInRoles] AS [Extent1]
  9518. INNER JOIN [dbo].[aspnet_Roles] AS [Extent2] ON [Extent1].[RoleId] = [Extent2].[RoleId]
  9519. WHERE [Extent1].[UserId] = @EntityKeyValue110:50:59.422:
  9520. 10:50:59.423: -- EntityKeyValue1: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid, IsNullable = false)
  9521. 10:50:59.423: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9522. 10:50:59.423: -- Completed in 0 ms with result: SqlDataReader
  9523. 10:50:59.424:
  9524. 10:50:59.424: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9525. 10:50:59.425: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9526. 10:50:59.425: SELECT
  9527. [Extent1].[ID] AS [ID],
  9528. [Extent1].[Name] AS [Name],
  9529. [Extent1].[SourceSystemId] AS [SourceSystemId],
  9530. [Extent1].[ID_ActionType] AS [ID_ActionType],
  9531. [Extent1].[ID_Group] AS [ID_Group]
  9532. FROM [dbo].[AccessRight] AS [Extent1]
  9533. WHERE [Extent1].[ID_Group] = @EntityKeyValue110:50:59.425:
  9534. 10:50:59.425: -- EntityKeyValue1: '59d39023-fc53-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  9535. 10:50:59.425: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9536. 10:50:59.426: -- Completed in 0 ms with result: SqlDataReader
  9537. 10:50:59.426:
  9538. 10:50:59.427: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9539. 10:50:59.427: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9540. 10:50:59.427: SELECT
  9541. [Extent1].[Id] AS [Id],
  9542. [Extent1].[Name] AS [Name]
  9543. FROM [dbo].[ActionType] AS [Extent1]
  9544. WHERE [Extent1].[Id] = @EntityKeyValue110:50:59.427:
  9545. 10:50:59.428: -- EntityKeyValue1: '6' (Type = Int32)
  9546. 10:50:59.428: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9547. 10:50:59.428: -- Completed in 0 ms with result: SqlDataReader
  9548. 10:50:59.428:
  9549. 10:50:59.429: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9550. 10:50:59.429: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9551. 10:50:59.429: SELECT
  9552. [Extent1].[Id] AS [Id],
  9553. [Extent1].[Name] AS [Name]
  9554. FROM [dbo].[ActionType] AS [Extent1]
  9555. WHERE [Extent1].[Id] = @EntityKeyValue110:50:59.43:
  9556. 10:50:59.43: -- EntityKeyValue1: '7' (Type = Int32)
  9557. 10:50:59.43: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9558. 10:50:59.43: -- Completed in 0 ms with result: SqlDataReader
  9559. 10:50:59.431:
  9560. 10:50:59.431: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9561. 10:50:59.431: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9562. 10:50:59.431: SELECT
  9563. [Extent1].[ID] AS [ID],
  9564. [Extent1].[Name] AS [Name],
  9565. [Extent1].[SourceSystemId] AS [SourceSystemId],
  9566. [Extent1].[ID_ActionType] AS [ID_ActionType],
  9567. [Extent1].[ID_Group] AS [ID_Group]
  9568. FROM [dbo].[AccessRight] AS [Extent1]
  9569. WHERE [Extent1].[ID_Group] = @EntityKeyValue110:50:59.432:
  9570. 10:50:59.433: -- EntityKeyValue1: 'f82b1d7a-0054-e611-80c3-00155d63106c' (Type = Guid, IsNullable = false)
  9571. 10:50:59.433: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9572. 10:50:59.434: -- Completed in 0 ms with result: SqlDataReader
  9573. 10:50:59.434:
  9574. 10:50:59.436: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9575. 10:50:59.437: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9576. 10:50:59.437: SELECT
  9577. [Extent1].[Id] AS [Id],
  9578. [Extent1].[Name] AS [Name]
  9579. FROM [dbo].[ActionType] AS [Extent1]
  9580. WHERE [Extent1].[Id] = @EntityKeyValue110:50:59.438:
  9581. 10:50:59.438: -- EntityKeyValue1: '3' (Type = Int32)
  9582. 10:50:59.439: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9583. 10:50:59.44: -- Completed in 0 ms with result: SqlDataReader
  9584. 10:50:59.44:
  9585. 10:50:59.441: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9586. 10:50:59.442: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9587. 10:50:59.442: SELECT
  9588. [Extent1].[Id] AS [Id],
  9589. [Extent1].[Name] AS [Name],
  9590. [Extent1].[ActionTypeId] AS [ActionTypeId],
  9591. [Extent1].[BusinessProcessId] AS [BusinessProcessId],
  9592. [Extent1].[DocumentStatusId] AS [DocumentStatusId]
  9593. FROM [dbo].[Stage] AS [Extent1]10:50:59.442:
  9594. 10:50:59.443: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9595. 10:50:59.443: -- Completed in 0 ms with result: SqlDataReader
  9596. 10:50:59.443:
  9597. 10:50:59.444: Closed connection at 7/29/2016 10:50:59 AM +05:00
  9598. 10:50:59.445: Opened connection at 7/29/2016 10:50:59 AM +05:00
  9599. 10:50:59.445: SELECT
  9600. [GroupBy1].[A1] AS [C1]
  9601. FROM ( SELECT
  9602. COUNT(1) AS [A1]
  9603. FROM [dbo].[Task] AS [Extent1]
  9604. INNER JOIN [dbo].[TaskPerformer] AS [Extent2] ON [Extent1].[TaskPerformerId] = [Extent2].[Id]
  9605. WHERE ([Extent2].[UserId] = @p__linq__0) AND ([Extent1].[StageId] = @p__linq__1) AND ([Extent1].[StatusId] < 3)
  9606. ) AS [GroupBy1]10:50:59.445:
  9607. 10:50:59.446: -- p__linq__0: 'd2350d7b-bfa5-4b2a-9f08-5cae6a094a9e' (Type = Guid, IsNullable = false)
  9608. 10:50:59.446: -- p__linq__1: '3' (Type = Int32, IsNullable = false)
  9609. 10:50:59.446: -- Executing at 7/29/2016 10:50:59 AM +05:00
  9610. 10:50:59.451: -- Completed in 5 ms with result: SqlDataReader
  9611. 10:50:59.452:
  9612. 10:50:59.452: Closed connection at 7/29/2016 10:50:59 AM +05:00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement