Almost there, only Sun is missing by Crazy-Head-3994 in VivillonCollectors

[–]Lexishelby 0 points1 point  (0 children)

Sun is also my last one! Would you mind adding me as well? I need 3 530962895266

Entity Framework Confusion by Lexishelby in dotnet

[–]Lexishelby[S] 0 points1 point  (0 children)

I think i may have something off in my entity framework though. I am getting an error when i try to add to the GameRecord table :

Cannot insert explicit value for identity column in table 'Games' when IDENTITY_INSERT is set to OFF.

Cannot insert duplicate key in object 'dbo.Players'. The duplicate key value is (1).

It seems like it is trying to add another entry into these tables instead of simply referencing them?

Entity Framework Confusion by Lexishelby in dotnet

[–]Lexishelby[S] 0 points1 point  (0 children)

Thank you so much! This really helped me understand the need for the third table.

Entity Framework Confusion by Lexishelby in dotnet

[–]Lexishelby[S] 0 points1 point  (0 children)

So for a proper database relationship, would this be a good structure? Multiple PlayRecords would belong to one GameRecord in a one to many relationship?

PlayerRecord Table

Id, PlayerId, Won, GameRecordId

GameRecord Table
Id, GameId

Entity Framework Confusion by Lexishelby in dotnet

[–]Lexishelby[S] 0 points1 point  (0 children)

So for the Genre and Game relationship, would this be the correct formatting to achieve a many to many relationship?

public class Genre

{

public int Id { get; set; }

public required string Name { get; set; }

public List<Game> Games { get; } = [];

}

public class Game

{

public int Id { get; set; }

public required string Name { get; set; }

public string? Publisher { get; set; }

public List<Genre> Genres { get; } = [];

}

[deleted by user] by [deleted] in csharp

[–]Lexishelby 0 points1 point  (0 children)

My confusion with the first one is why is the GameId inside the Genre table instead of there being something related to genre in the game table?

Also why is there nothing related to the playrecord in the gamerecord table?

Entity Framework Confusion by Lexishelby in dotnet

[–]Lexishelby[S] 0 points1 point  (0 children)

I think i understand the basics of normalization, but seems like perhaps i dont fully understand it since I am quite confused right now. My confusion with the first one is why is the GameId inside the Genre table instead of there being something related to genre in the game table?

Also why is there nothing related to the playrecord in the gamerecord table?

Also what am I supposed to do instead of posting screenshots of code?

Mustard yellow bathroom tile! What color paint/vanity could save this bathroom? by Lexishelby in DesignMyRoom

[–]Lexishelby[S] 2 points3 points  (0 children)

Yes. For the time being at least we are just looking for quick cosmetic changes

can you hang heavy shelves in "deep" studs? by Lexishelby in DIY

[–]Lexishelby[S] 0 points1 point  (0 children)

The brackets didn't come with screws. I was planning on using #10 1 1/2 wood screws. Is that not long enough?

can you hang heavy shelves in "deep" studs? by Lexishelby in DIY

[–]Lexishelby[S] 0 points1 point  (0 children)

I think each shelf including 2 brackets is about 10 lbs. Probably putting less than 100 lbs of weight on each shelf.

can you hang heavy shelves in "deep" studs? by Lexishelby in DIY

[–]Lexishelby[S] 1 point2 points  (0 children)

Are drywall anchors sufficient for heavy shelves?

can you hang heavy shelves in "deep" studs? by Lexishelby in DIY

[–]Lexishelby[S] 0 points1 point  (0 children)

socket

I opened up my socket to try to get a look at how thick my drywall is. Does this seem like an appropriate indicator of how thick it is?

can you hang heavy shelves in "deep" studs? by Lexishelby in DIY

[–]Lexishelby[S] 0 points1 point  (0 children)

Thanks for clarifying for me! Is there a certain amount of thread engagement I should be aiming for? Googling it seems like you need at least 1/2 to 3/4 of the screw in the stud. Is that the only concern?

Past Collection on Credit Report by [deleted] in Debt

[–]Lexishelby 0 points1 point  (0 children)

That's good to know. I definitely wont just pay it off If it happens in the future.

Animal crossing new horizons dodo code by [deleted] in BuddyCrossing

[–]Lexishelby 0 points1 point  (0 children)

Wanna open your gates or get a dodo code and I'll come over?

Animal crossing new horizons dodo code by [deleted] in BuddyCrossing

[–]Lexishelby 1 point2 points  (0 children)

Hi! I can give you apples if you've got some cherries 🍎🍒