From 610ccb8284935cdf9161f502cb7eb02f2a94b70a Mon Sep 17 00:00:00 2001 From: tonyfages Date: Sun, 17 Mar 2024 10:52:46 +0100 Subject: [PATCH] =?UTF-8?q?fix=20bugs=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../API/Controllers/UserController.cs | 37 +- .../API/Entity_FrameWork.Article.db | Bin 49152 -> 4096 bytes .../API/Entity_FrameWork.Article.db-shm | Bin 0 -> 32768 bytes .../API/Entity_FrameWork.Article.db-wal | Bin 0 -> 61832 bytes Verax_API_EF/Verax_API_EF/API/log.txt | 1311 +++++++++++++++++ .../API_Tests_Console/Tests_Console.cs | 35 +- ...ner.cs => 20240317095050_mrg1.Designer.cs} | 2 +- ...6170807_mrg1.cs => 20240317095050_mrg1.cs} | 0 .../Entity_FrameWork.Article.db-shm | Bin 0 -> 32768 bytes .../Entity_FrameWork.Article.db-wal | 0 10 files changed, 1357 insertions(+), 28 deletions(-) create mode 100644 Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-shm create mode 100644 Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-wal rename Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/{20240316170807_mrg1.Designer.cs => 20240317095050_mrg1.Designer.cs} (99%) rename Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/{20240316170807_mrg1.cs => 20240317095050_mrg1.cs} (100%) create mode 100644 Verax_API_EF/Verax_API_EF/Test_Console_EF/Entity_FrameWork.Article.db-shm create mode 100644 Verax_API_EF/Verax_API_EF/Test_Console_EF/Entity_FrameWork.Article.db-wal diff --git a/Verax_API_EF/Verax_API_EF/API/Controllers/UserController.cs b/Verax_API_EF/Verax_API_EF/API/Controllers/UserController.cs index 5ca51f4..ae6be38 100644 --- a/Verax_API_EF/Verax_API_EF/API/Controllers/UserController.cs +++ b/Verax_API_EF/Verax_API_EF/API/Controllers/UserController.cs @@ -125,7 +125,7 @@ namespace API.Controllers } } - [HttpGet("/articleUsers")] + [HttpGet("/user/article/users")] public async Task GetAllArticleUsers() { _logger.LogInformation("Executing {Action} - with parameters: {Parameters}",nameof(GetAllArticleUsers), ""); @@ -145,7 +145,7 @@ namespace API.Controllers } } - [HttpGet("/user/{pseudo}/article")] + [HttpGet("/user/{pseudo}/articles")] public async Task GetArticleUser(string pseudo) { _logger.LogInformation("Executing {Action} - with parameters: {Parameters}",nameof(GetArticleUser), pseudo); @@ -206,18 +206,37 @@ namespace API.Controllers } } - [HttpPut("/user/{pseudo}/article")] - public async Task UpdateArticleUser(ArticleUserEntity articleUser) + [HttpPut("/user/{pseudo}/{oldId}")] + public async Task UpdateArticleUser(ArticleUserEntity articleUser, long oldId) { _logger.LogInformation("Executing {Action} - with parameters: {Parameters}",nameof(UpdateArticleUser), articleUser); try { - var result = (await _dataManager.UserService.UpdateArticleUser(articleUser)); - if (!result) + // Retrieve the existing entity + var existingEntity = await _dataManager.UserService.GetArticleUser(articleUser.UserEntityPseudo); + + if (existingEntity == null) { - return BadRequest($"ArticleUser {articleUser.UserEntityPseudo} does not exist"); + return NotFound($"ArticleUser {articleUser.UserEntityPseudo} does not exist"); } - return Ok(result); + + // Delete the existing entity + var deleteResult = await _dataManager.UserService.DeleteArticleUser(articleUser.UserEntityPseudo, oldId); + + if (!deleteResult) + { + return BadRequest($"Failed to delete ArticleUser {articleUser.UserEntityPseudo}"); + } + + // Create a new entity with the updated values + var createResult = await _dataManager.UserService.CreateArticleUser(articleUser); + + if (createResult == null) + { + return BadRequest($"Failed to create ArticleUser {articleUser.UserEntityPseudo}"); + } + + return Ok(createResult); } catch (Exception error) { @@ -225,7 +244,5 @@ namespace API.Controllers return BadRequest(error.Message); } } - - } } diff --git a/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db b/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db index 0468025541cb57fae81759cb6f83ff9d8e116453..9a472209435d88229f65ab7a0ca30d67df87a462 100644 GIT binary patch delta 33 ncmZo@U~W*DAkE6iz`(#baiTppBZFSrD_$UvL143>z%+gUdj1C2 literal 49152 zcmeI)&u`mQ00(gYNaH4LXQV1vRWFOj@`zIgL*-%+Sh92pYPY_ zJv)7N{K_|0b(@kc!)$6cS>#^g1cAFk2*+^(`;4-WKS^vM;;*nd-?cnwQQ+pbo{h|hhy)LRYqsVreoiZ{5o8eK4zOSK>z{}fB*!Jj=-BEl9HX|_onq$jo#1Q z+*n~>p=D}stXtGnTefcR7A@MY8Q%8MY)Q>jRFW$!t2asVUjih_T7e|JU`cW&*&Aar zwWq`-soCW5<1`tlOo-&clCmVyU`=j>rTCMlDX{M)x}ZL>kW zQh2ktmu@9WW%Y3t6>H+!n#2ajKxx$dW0i z(JZU0Dr;idOgWobR^zEhvLq>~6#vdGw=#nD7hD?-R!wjxOQ(Z+sG=vmz@3vItWrDm z&`rc@wl~S{3O>^p=S&Bo`$S8o`r~Ev!Fc^urxN<|8LWfe-KjtoczeBCV5JPHfy3ly z&>8#Rw1`)Sqsm%}=iJMNb*I7p_utUkw&AY(Abyt8LAu!9-68kfewcNelXsXmiv}Bz zw{^eec+E6;s`Q@R`+>UZ-aBXWwVm*@v0yaAcN9(98niF3>5cGEC8N=M)rhBNqfsR@ zIY`aR^+wuTkcyG0a`r6WIq5uPi{5F|R+aXw4h7VDcAjZzO*+FurXI|Qk}@^LKRVfc zBD1!4&xDowi74RbeiqYy+4 zJ!Zd2??>re;sPb;ZPx?h>2Kvl)2Owp_UqKN`oEasshkj1-dGyc4ntGfNQZ6~**{vt z&OcjY?8D1HaO@8g1Rwwb2tWV=5P$##AOHafKmY5J*5`AhRl z8%=XNeQ9ofZZXcv#mi4Q_J;`q5P$##AOHafKmY;|fB*y_0D+?}@UplV3%Lp4JpUJu zea6Y}$qQ_T2?7v+00bZa0SG_<0uX=z1R!t(1U5y9n|*64b|QZ&f7&7~dXJd2s_)R= zb)s9uXxl_<)rfAhL+v^xo7A#NwQf|6275z{(7V)RJ?4ekdG>d)6GMsCG(qCd-J9Z1 zus6)y6!c=>WF2tWV=5P$##AOHafKmY&-}xj##AR!-$l`tj$D+9w~d(GCrh z@X|zLa(qlF7+P6xxEazL4b7~v4Q_^=_y33F&pG)|`4{;o`5U%~2?7v+00bZa0SG_< z0uX=z1Rwx`=UyNtD!hBIVrW=Qu%%`>B8lTXyP+UD8=QLuLQI^9b#4iCp8r2_`v1@5 z@8z%LC(nHWkwFMR00Izz00bZa0SG_<0uX?}i!C4x`5pa;*VAWRe(xrL5EsM=zSHR! zhIvtmxi<+q&;K7g{r{)z9e^+7$1gS^N)G`DKmY;|fB*y_009U<00Izrt_5Ndew-KC zQ~sfNgir9I^PE58E;@t#mBrBrKfw!L|34OqdHsLq`M)TybMmM1yKIID0uX=z1Rwwb z2tWV=5P$##AOL~G3M`3HZaO_X?hLv|76}`tze&C2WolJTeaF^~R=sZTymIc`7CUIs z89;#b-Is)}fD2s#*?|9{0T=v$d{@A9SHSdufN3w_{`>!b$Un=>3fz{R+~5TA|2KpH0RjXF5FkK+009C72oNAZfB*pk P1PBlyK!5;&|1Gcw;^HYt literal 0 HcmV?d00001 diff --git a/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-wal b/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-wal new file mode 100644 index 0000000000000000000000000000000000000000..880afdde79f361f2b7b40f8a100b45c9c8f32833 GIT binary patch literal 61832 zcmeI*Z)_W99S89HYn?tn5wQ2i%tv%>c&u+#Pgi* zY@c(1FbUDD-&3sn`#g8g=ecv_$G_+C%;&-vx$!@KnB(r^*!1=nuHU@*&97B2|N2Y4 zfBwXKm*^(GbNi>>di+~2-TK{+3J)zBwocBPR!y_X6iqD%+(|;{u>yUGER8#{^dWDB z&Yk=^)`J!W?&#S!2IO}+VekcR@CEt%K?h+Q1Rwwb2tWV=5P$##AOHafK;V4|Y%lYY zGBd+pOxxOORbN?A=QGBdrP+pAZ+zTn*rs(MaHBArS5rlm6jP@bRT2+8CQc4V37z7t zEYsyUDXOQ7B)ddk%ZrO-b}3sZ=2Pixk;HQgE4$>A%cnD`{28*Ko*8RqnX}CDX374f zZZ+tocI6sPq=m5Z@C?rx^|Jm*<6M<~a$nIlZPQr~KFdln@Z{`seXncFKIgaE3%+;H zi|_pN+96?pZEQ9ruq8|ofB*y_009U<00Izz00bZa0SJ6B1y~z_=*1B{wffYmcKwN8 zMOj(VF7Uyuag+)I5P$##AOHafKmY;|fB*y_&=&CZBbeP>q(o_esj^Fuy(O1o5R$ zugue~cm>^FS#Ic-TDJ}RLaw22mQ8nizZ;^M&d#Z)N&Md=h?Au(iMz>Y)MC6l$9Q5} ziAu^t34S}}ojqmQMyaZ^LxV2Dzq@b8wfOh%C`0p-{09YJ*`v{jqzn)9pI>)EINegX zv#38zvt7hy6eWwtq@kDUgKB=)kjz$^jv!2uS}rc7vo!OJnk~8^nZ=4;)4L)u-Cc8< zt>-pZt47I*EDb(r(WtKn@7Ylu{vgukNjf7*=NEi8M^OF5$^24YO+T1rL8XCJPV(x! znpd;4YJoU+1kHw3LGvbyC)iChr!J~A3U)SCm`%;8(Zpl2Bq@mm|HU&-W%%pQzt-!o z8vo8#=QyR~)axVNeQQR$AiZYAod`=(($Q{D)E8nb3Cct_6C>$~mCXhtuyCCI4VdcmXzWLC(;oc4X+@@YH>0PTmKDDl$hwEBRAEPM~7so_N z85!XpySMW}ruSa^E)4l{@}8IG?YZ~2*LHq!(oqS)@34lw!^*9#IlWP`j13mIAI#i( z3vN{O?kIdWk43#?Z(4fMU~l8y{}$Y1Qk!L@->eBVS)ezAOHafKmY;|fB*y_009U0SG_<0uX=z1Rwwb z2tWV=5ZDI-tD?k>e|98tFmot#UxU>3En?{NwvWn$R$P`jd&RlQ-8 zQpGHpRoc^x=;w8dev+OXpP+vqZRU{I%bFl@$F@fJgS4lba|R<PVd;T`&l-e zB>ppqMYBca?E(Vp zNAMPU5-=Z35P$##AOHafKmY;|fB*y_0D*lf&?kt)ygM$BILM15e0vlL)`uX>%H_2S z)b9V`Yco&YGsxNndgKvKentL){D{0n7coHq0uX=z1Rwwb2tWV=5P$##?mU4pI@V@P zi6xYxS-&u!oSZs7Prra~ur-^$POjDH7?wv%W-V2&8TI=@QY@wnjmGE~@&$IV^Zh?v zvCY~^??^U2<+Lab#qPd4sT3+2J8o8Mlr+oIygA+MEOzBTE;REWp@9n-md*)dU@M0* z_j>tf%<|8_YiYJ=5nehF8y*@^vZhurs?G%&)v9Kd=?3S5X@#=i6KJ&yEZp_Pt@EF$ zU1j47^vKV1@;maI^6T=;bP*E-AOHafKmY;|fB*y_009U<00OtYKtxn{rwya0SB%l6 zS|KEfLp*J05ZMOSh9E@51CeG^0WD51E0Py4&=*_3`0jJhU24V)Tw(13Z^*C8FUnVL z`-0;FApijgKmY;|fB*y_009U<00MWmfYjqP0EFBY0NNDbHVz0;K|H`W8v}%1UQ{AZ z;{gSWFf^}Sp#F#K`5!Ml6Kci_TxRV8H)vmi-^!QoY+95a0uX=z1Rwwb2tWV=5P$## zAaGj?L_+)!FVd)ho@j`V@gj>02sw*vkiml3AL0-2g4-?-2}RoN0;~z3)h;mb_t$GL zJ%1$1;sr!`nUjAhf0@oOK>z{}fB*y_009U<00Izz00bbgSAiKZ%#9|;huC0$WQx$= z4XEkv@|@l%S;mHKnDt7<-uT$DV`u3>Q*3|&`k8)4=twx(k&ylXL14m3FCpKNFxinX zxl6*Nn~)Z%j}^;{7x>7*f*Ct^{HLw)1>TnbBwv@WVtj$URz8k{00bZa0SG_<0uX=z z1Rwwb2>d?qpxvW@UTHsjdF=wi&E Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'FOREIGN KEY constraint failed'. + at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) + at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() + at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) + at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) + at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) +info: 03/17/2024 10:35:42.426 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:35:42.429 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p4='?' (DbType = Int64), @p0='?' (Size = 6), @p1='?' (Size = 6), @p2='?' (Size = 6), @p3='?' (Size = 5)], CommandType='Text', CommandTimeout='30'] + UPDATE "FormSet" SET "DatePublication" = @p0, "Link" = @p1, "Theme" = @p2, "UserEntityPseudo" = @p3 + WHERE "Id" = @p4 + RETURNING 1; +info: 03/17/2024 10:35:57.470 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:35:57.474 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + DELETE FROM "FormSet" + WHERE "Id" = @p0 + RETURNING 1; +info: 03/17/2024 10:36:09.805 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:36:14.669 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +warn: 03/17/2024 10:36:19.577 CoreEventId.RowLimitingOperationWithoutOrderByWarning[10102] (Microsoft.EntityFrameworkCore.Query) + The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. +info: 03/17/2024 10:36:19.582 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:36:29.931 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (Size = 6), @p1='?' (Size = 6), @p2='?' (Size = 6), @p3='?' (DbType = Int32), @p4='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + INSERT INTO "ArticleSet" ("Author", "DatePublished", "Description", "LectureTime", "Title") + VALUES (@p0, @p1, @p2, @p3, @p4) + RETURNING "Id"; +info: 03/17/2024 10:36:48.875 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:36:48.877 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + DELETE FROM "ArticleSet" + WHERE "Id" = @p0 + RETURNING 1; +info: 03/17/2024 10:37:01.778 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__p_0 + LIMIT 1 +info: 03/17/2024 10:37:06.754 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" +info: 03/17/2024 10:38:18.587 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table'; +info: 03/17/2024 10:38:18.591 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table'; +info: 03/17/2024 10:38:18.597 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "MigrationId", "ProductVersion" + FROM "__EFMigrationsHistory" + ORDER BY "MigrationId"; +info: 03/17/2024 10:38:18.605 RelationalEventId.MigrationsNotApplied[20405] (Microsoft.EntityFrameworkCore.Migrations) + No migrations were applied. The database is already up to date. +warn: 03/17/2024 10:38:53.115 CoreEventId.RowLimitingOperationWithoutOrderByWarning[10102] (Microsoft.EntityFrameworkCore.Query) + The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. +info: 03/17/2024 10:38:53.182 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:38:53.278 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:38:53.384 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (2ms) [Parameters=[@p0='?' (Size = 4), @p1='?' (Size = 4), @p2='?' (Size = 4), @p3='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + INSERT INTO "FormSet" ("DatePublication", "Link", "Theme", "UserEntityPseudo") + VALUES (@p0, @p1, @p2, @p3) + RETURNING "Id"; +info: 03/17/2024 10:38:53.407 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:38:53.414 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:38:53.418 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (Size = 4), @p1='?' (Size = 3), @p2='?' (Size = 2)], CommandType='Text', CommandTimeout='30'] + UPDATE "FormSet" SET "DatePublication" = @p0, "Link" = @p1, "Theme" = @p2 + WHERE "Id" = @p3 + RETURNING 1; +info: 03/17/2024 10:39:33.463 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:39:33.479 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:39:33.499 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (Size = 4), @p1='?' (Size = 4), @p2='?' (Size = 4), @p3='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + INSERT INTO "FormSet" ("DatePublication", "Link", "Theme", "UserEntityPseudo") + VALUES (@p0, @p1, @p2, @p3) + RETURNING "Id"; +info: 03/17/2024 10:39:33.502 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +info: 03/17/2024 10:39:33.509 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + DELETE FROM "FormSet" + WHERE "Id" = @p0 + RETURNING 1; +info: 03/17/2024 10:39:33.516 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "f"."Id", "f"."DatePublication", "f"."Link", "f"."Theme", "f"."UserEntityPseudo" + FROM "FormSet" AS "f" + WHERE "f"."Id" = @__id_0 + LIMIT 1 +warn: 03/17/2024 10:41:05.664 CoreEventId.RowLimitingOperationWithoutOrderByWarning[10102] (Microsoft.EntityFrameworkCore.Query) + The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. +info: 03/17/2024 10:41:05.667 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:41:05.696 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.409 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:41:45.418 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.426 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:41:45.441 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.444 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.444 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.444 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.445 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:41:45.452 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:41:45.455 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:41:45.463 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:09.566 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:42:09.574 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.577 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:42:09.577 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.577 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.578 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.578 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.578 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.583 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:42:09.584 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:09.584 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:09.609 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:09.618 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64), @p1='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (@p0, @p1); +info: 03/17/2024 10:42:20.319 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:42:20.328 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.330 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:42:20.330 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.331 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.331 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.331 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.332 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.332 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:20.334 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:42:20.334 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:20.335 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:20.335 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:54.731 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:42:54.741 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.743 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:42:54.744 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.744 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.744 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.744 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.744 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.745 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:42:54.748 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:42:54.748 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:54.748 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:54.749 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:42:54.755 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3), @__id_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 AND "a"."ArticleEntityId" = @__id_1 + LIMIT 1 +info: 03/17/2024 10:42:54.755 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64), @p1='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + DELETE FROM "ArticleUserSet" + WHERE "ArticleEntityId" = @p0 AND "UserEntityPseudo" = @p1 + RETURNING 1; +info: 03/17/2024 10:43:13.248 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:43:13.256 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:43:13.258 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:43:13.259 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:43:13.259 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:43:13.259 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:43:13.260 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:43:13.260 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:43:13.262 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:43:13.262 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:43:13.263 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:45:55.900 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:45:55.909 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:45:55.910 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:45:55.911 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:45:55.911 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:45:55.911 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:45:55.911 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:45:55.911 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:45:55.913 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:45:55.913 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:45:55.913 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:47:43.891 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:47:43.899 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:47:43.901 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:47:43.901 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:47:43.901 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:47:43.901 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:47:43.902 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:47:43.902 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:47:43.903 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:47:43.904 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:47:43.904 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:47:43.925 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:47:43.925 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:47:43.926 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:47:43.926 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3), @__id_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 AND "a"."ArticleEntityId" = @__id_1 + LIMIT 1 +info: 03/17/2024 10:48:20.294 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:48:20.303 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:20.304 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:48:20.305 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:20.305 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:20.305 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:20.305 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:20.305 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:20.307 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:48:20.307 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:48:20.307 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:48:20.331 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:48:20.331 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:48:20.331 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:48:20.332 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3), @__id_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 AND "a"."ArticleEntityId" = @__id_1 + LIMIT 1 +info: 03/17/2024 10:48:20.335 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64), @p1='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + DELETE FROM "ArticleUserSet" + WHERE "ArticleEntityId" = @p0 AND "UserEntityPseudo" = @p1 + RETURNING 1; +info: 03/17/2024 10:48:20.336 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.526 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + LIMIT -1 OFFSET @__p_0 +info: 03/17/2024 10:48:54.534 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.536 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" +info: 03/17/2024 10:48:54.536 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 6)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.536 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.536 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.537 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__articleUser_UserEntityPseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__articleUser_UserEntityPseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.538 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:48:54.538 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:48:54.557 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 +info: 03/17/2024 10:48:54.557 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__article_ArticleEntityId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."Id", "a"."Author", "a"."DatePublished", "a"."Description", "a"."LectureTime", "a"."Title" + FROM "ArticleSet" AS "a" + WHERE "a"."Id" = @__article_ArticleEntityId_0 + LIMIT 1 +info: 03/17/2024 10:48:54.558 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3), @__id_1='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] + SELECT "a"."ArticleEntityId", "a"."UserEntityPseudo" + FROM "ArticleUserSet" AS "a" + WHERE "a"."UserEntityPseudo" = @__pseudo_0 AND "a"."ArticleEntityId" = @__id_1 + LIMIT 1 +info: 03/17/2024 10:48:54.559 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64), @p1='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + DELETE FROM "ArticleUserSet" + WHERE "ArticleEntityId" = @p0 AND "UserEntityPseudo" = @p1 + RETURNING 1; +info: 03/17/2024 10:48:54.559 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@__pseudo_0='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + SELECT "u"."Pseudo", "u"."Mail", "u"."Mdp", "u"."Nom", "u"."Prenom", "u"."Role" + FROM "UserSet" AS "u" + WHERE "u"."Pseudo" = @__pseudo_0 + LIMIT 1 +info: 03/17/2024 10:48:54.560 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int64), @p1='?' (Size = 3)], CommandType='Text', CommandTimeout='30'] + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (@p0, @p1); +info: 03/17/2024 10:51:04.747 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + PRAGMA journal_mode = 'wal'; +info: 03/17/2024 10:51:04.788 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE TABLE "__EFMigrationsHistory" ( + "MigrationId" TEXT NOT NULL CONSTRAINT "PK___EFMigrationsHistory" PRIMARY KEY, + "ProductVersion" TEXT NOT NULL + ); +info: 03/17/2024 10:51:04.792 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table'; +info: 03/17/2024 10:51:04.793 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + SELECT "MigrationId", "ProductVersion" + FROM "__EFMigrationsHistory" + ORDER BY "MigrationId"; +info: 03/17/2024 10:51:04.801 RelationalEventId.MigrationApplying[20402] (Microsoft.EntityFrameworkCore.Migrations) + Applying migration '20240317095050_mrg1'. +info: 03/17/2024 10:51:04.827 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE TABLE "ArticleSet" ( + "Id" INTEGER NOT NULL CONSTRAINT "PK_ArticleSet" PRIMARY KEY AUTOINCREMENT, + "Title" TEXT NOT NULL, + "Description" TEXT NOT NULL, + "DatePublished" TEXT NOT NULL, + "LectureTime" INTEGER NOT NULL, + "Author" TEXT NOT NULL + ); +info: 03/17/2024 10:51:04.827 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE TABLE "UserSet" ( + "Pseudo" TEXT NOT NULL CONSTRAINT "PK_UserSet" PRIMARY KEY, + "Mdp" TEXT NOT NULL, + "Nom" TEXT NOT NULL, + "Prenom" TEXT NOT NULL, + "Mail" TEXT NOT NULL, + "Role" TEXT NOT NULL + ); +info: 03/17/2024 10:51:04.827 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE TABLE "ArticleUserSet" ( + "UserEntityPseudo" TEXT NOT NULL, + "ArticleEntityId" INTEGER NOT NULL, + CONSTRAINT "PK_ArticleUserSet" PRIMARY KEY ("ArticleEntityId", "UserEntityPseudo"), + CONSTRAINT "FK_ArticleUserSet_ArticleSet_ArticleEntityId" FOREIGN KEY ("ArticleEntityId") REFERENCES "ArticleSet" ("Id") ON DELETE CASCADE, + CONSTRAINT "FK_ArticleUserSet_UserSet_UserEntityPseudo" FOREIGN KEY ("UserEntityPseudo") REFERENCES "UserSet" ("Pseudo") ON DELETE CASCADE + ); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE TABLE "FormSet" ( + "Id" INTEGER NOT NULL CONSTRAINT "PK_FormSet" PRIMARY KEY AUTOINCREMENT, + "Theme" TEXT NOT NULL, + "DatePublication" TEXT NOT NULL, + "Link" TEXT NOT NULL, + "UserEntityPseudo" TEXT NOT NULL, + CONSTRAINT "FK_FormSet_UserSet_UserEntityPseudo" FOREIGN KEY ("UserEntityPseudo") REFERENCES "UserSet" ("Pseudo") ON DELETE CASCADE + ); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + INSERT INTO "ArticleSet" ("Id", "Author", "DatePublished", "Description", "LectureTime", "Title") + VALUES (1, 'Tom Smith', '2022-02-06', 'The queen of England died today at the age of 95', 2, 'Breaking News Elisabeth 2 Died'); + SELECT changes(); + + INSERT INTO "ArticleSet" ("Id", "Author", "DatePublished", "Description", "LectureTime", "Title") + VALUES (2, 'Tom Smith', '2022-02-06', 'The new iPhone 15 is out and it''s the best phone ever', 3, 'The new iPhone 15'); + SELECT changes(); + + INSERT INTO "ArticleSet" ("Id", "Author", "DatePublished", "Description", "LectureTime", "Title") + VALUES (3, 'M&M''s Red', '2022-02-06', 'M&M''s new recipe is out and it''s the best chocolate ever', 1, 'M&M''s new recipe'); + SELECT changes(); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + INSERT INTO "UserSet" ("Pseudo", "Mail", "Mdp", "Nom", "Prenom", "Role") + VALUES ('NoaSil', '', '1234', 'Sillard', 'Noa', 'Admin'); + SELECT changes(); + + INSERT INTO "UserSet" ("Pseudo", "Mail", "Mdp", "Nom", "Prenom", "Role") + VALUES ('RedM', 'M&M#mail.com', '1234', 'M&M''s', 'Red', 'Modérator'); + SELECT changes(); + + INSERT INTO "UserSet" ("Pseudo", "Mail", "Mdp", "Nom", "Prenom", "Role") + VALUES ('Sha', 'ShaCasca@gmail.com', '1234', 'Cascarra', 'Cascarra', 'Admin'); + SELECT changes(); + + INSERT INTO "UserSet" ("Pseudo", "Mail", "Mdp", "Nom", "Prenom", "Role") + VALUES ('TomS', 'tom@mail.com', '1234', 'Smith', 'Tom', 'User'); + SELECT changes(); + + INSERT INTO "UserSet" ("Pseudo", "Mail", "Mdp", "Nom", "Prenom", "Role") + VALUES ('TonyF', 'tony@gmail.com', '1234', 'Fages', 'Tony', 'Admin'); + SELECT changes(); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (1, 'TonyF'); + SELECT changes(); + + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (2, 'NoaSil'); + SELECT changes(); + + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (2, 'TomS'); + SELECT changes(); + + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (3, 'RedM'); + SELECT changes(); + + INSERT INTO "ArticleUserSet" ("ArticleEntityId", "UserEntityPseudo") + VALUES (3, 'Sha'); + SELECT changes(); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + INSERT INTO "FormSet" ("Id", "DatePublication", "Link", "Theme", "UserEntityPseudo") + VALUES (1, 'Form 1 Description', 'hhtp://form1.com', 'Form 1 Theme', 'Sha'); + SELECT changes(); + + INSERT INTO "FormSet" ("Id", "DatePublication", "Link", "Theme", "UserEntityPseudo") + VALUES (2, 'Form 2 Description', 'hhtp://form2.com', 'Form 2 Theme', 'Sha'); + SELECT changes(); + + INSERT INTO "FormSet" ("Id", "DatePublication", "Link", "Theme", "UserEntityPseudo") + VALUES (3, 'Form 3 Description', 'hhtp://form3.com', 'Form 3 Theme', 'Sha'); + SELECT changes(); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE INDEX "IX_ArticleUserSet_UserEntityPseudo" ON "ArticleUserSet" ("UserEntityPseudo"); +info: 03/17/2024 10:51:04.828 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + CREATE INDEX "IX_FormSet_UserEntityPseudo" ON "FormSet" ("UserEntityPseudo"); +info: 03/17/2024 10:51:04.829 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) + Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] + INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion") + VALUES ('20240317095050_mrg1', '8.0.3'); diff --git a/Verax_API_EF/Verax_API_EF/API_Tests_Console/Tests_Console.cs b/Verax_API_EF/Verax_API_EF/API_Tests_Console/Tests_Console.cs index aff59a0..b8f5bd2 100644 --- a/Verax_API_EF/Verax_API_EF/API_Tests_Console/Tests_Console.cs +++ b/Verax_API_EF/Verax_API_EF/API_Tests_Console/Tests_Console.cs @@ -12,32 +12,32 @@ class Tests_Console static async Task Main(string[] args) { - //await TestUser(); - await TestFormulaire(); + await TestUser(); + //await TestFormulaire(); //await TestArticle(); } private static async Task TestFormulaire() { await TestFormulaireGetAll(); - //await TestFormulaireGetId(); - //await TestFormulaireCreate(); - //await TestFormulaireDelete(); - //await TestFormulaireUpdate(); + await TestFormulaireGetId(); + await TestFormulaireCreate(); + await TestFormulaireDelete(); + await TestFormulaireUpdate(); } private static async Task TestUser() { - //await TestUserGetAll(); - //await TestUserGetId(); + await TestUserGetAll(); + await TestUserGetId(); //await TestUserCreate(); //await TestUserDelete(); //await TestUserUpdate(); - //await TestGetAllArticleUser(); - //await TestGetArticleByUser(); + await TestGetAllArticleUser(); + await TestGetArticleByUser(); //await TestCreateArticleUser(); //await TestDeleteArticleUser(); - //await TestUpdateArticleUser(); + await TestUpdateArticleUser(); } @@ -109,7 +109,7 @@ class Tests_Console { try { - var response = await client.DeleteAsync("http://localhost:5052/article/4"); + var response = await client.DeleteAsync("http://localhost:5052/article/1"); response.EnsureSuccessStatusCode(); var responseBody = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseBody); @@ -339,7 +339,7 @@ class Tests_Console { try { - var response = await client.GetAsync("http://localhost:5052/ArticleUsers"); + var response = await client.GetAsync("http://localhost:5052/user/article/users"); response.EnsureSuccessStatusCode(); var responseBody = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseBody); @@ -354,7 +354,7 @@ class Tests_Console { try { - var response = await client.GetAsync("http://localhost:5052/user/Sha/article"); + var response = await client.GetAsync("http://localhost:5052/user/Sha/articles"); response.EnsureSuccessStatusCode(); var responseBody = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseBody); @@ -391,7 +391,7 @@ class Tests_Console { try { - var response = await client.DeleteAsync("http://localhost:5052/user/Sha/article"); + var response = await client.DeleteAsync("http://localhost:5052/user/Sha/3"); response.EnsureSuccessStatusCode(); var responseBody = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseBody); @@ -408,12 +408,13 @@ class Tests_Console { var articleUser = new ArticleUserEntity() { - ArticleEntityId = 1, + ArticleEntityId = 2, UserEntityPseudo = "Sha" }; + long oldId = 3; var json = JsonSerializer.Serialize(articleUser); var data = new StringContent(json, Encoding.UTF8, "application/json"); - var response = await client.PutAsync("http://localhost:5052/user/Sha/article", data); + var response = await client.PutAsync($"http://localhost:5052/user/Sha/{oldId}", data); response.EnsureSuccessStatusCode(); var responseBody = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseBody); diff --git a/Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240316170807_mrg1.Designer.cs b/Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240317095050_mrg1.Designer.cs similarity index 99% rename from Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240316170807_mrg1.Designer.cs rename to Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240317095050_mrg1.Designer.cs index 629b967..b3d0754 100644 --- a/Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240316170807_mrg1.Designer.cs +++ b/Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240317095050_mrg1.Designer.cs @@ -10,7 +10,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DbContextLib.Migrations { [DbContext(typeof(LibraryContext))] - [Migration("20240316170807_mrg1")] + [Migration("20240317095050_mrg1")] partial class mrg1 { /// diff --git a/Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240316170807_mrg1.cs b/Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240317095050_mrg1.cs similarity index 100% rename from Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240316170807_mrg1.cs rename to Verax_API_EF/Verax_API_EF/DbContextLib/Migrations/20240317095050_mrg1.cs diff --git a/Verax_API_EF/Verax_API_EF/Test_Console_EF/Entity_FrameWork.Article.db-shm b/Verax_API_EF/Verax_API_EF/Test_Console_EF/Entity_FrameWork.Article.db-shm new file mode 100644 index 0000000000000000000000000000000000000000..fe9ac2845eca6fe6da8a63cd096d9cf9e24ece10 GIT binary patch literal 32768 zcmeIuAr62r3