Files
Shogi/Shogi.Database/Session/Stored Procedures/SetPlayer2.sql
Lucas Morgan 51d234d871 Replace custom socket implementation with SignalR.
Replace MSAL and custom cookie auth with Microsoft.Identity.EntityFramework
Also some UI redesign to accommodate different login experience.
2024-08-25 03:46:44 +00:00

14 lines
259 B
Transact-SQL

CREATE PROCEDURE [session].[SetPlayer2]
@SessionId [session].[SessionSurrogateKey],
@PlayerId [dbo].[AspNetUsersId]
AS
BEGIN
SET NOCOUNT ON;
UPDATE [session].[Session]
SET Player2Id = @PlayerId
FROM [session].[Session]
WHERE Id = @SessionId;
END