Luciferno
Luciferno
CC#
Created by lambdacore12 on 4/30/2023 in #help
❔ Cannot find explanation of error
Then there is your shrug
43 replies
CC#
Created by lambdacore12 on 4/30/2023 in #help
❔ Cannot find explanation of error
Have u installed the System.Windows.Extensions nuget package?
43 replies
CC#
Created by Luciferno on 11/9/2022 in #help
Value binding
Sorry for the late response, turns out this is an actual issue in Blazor and .NET 7. So thats why it is giving the error
4 replies
CC#
Created by Luciferno on 10/19/2022 in #help
EF Core many-to-many relation error
And how can I fix that?
6 replies
CC#
Created by Luciferno on 9/21/2022 in #help
How to keep track of third property in Many-To-Many
That worked!
4 replies
CC#
Created by Luciferno on 9/21/2022 in #help
How to keep track of third property in Many-To-Many
I could try that good point
4 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Thanks 🙂
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Okay I will do that!
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
yea that seems better
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
public int ReservationID { get; set; }

public string? FirstName { get; set; }

public string? LastName { get; set; }

public string? Adress { get; set; }

public string? City { get; set; }

public string? Email { get; set; }

public int GuestsComing { get; set; }

public DateTime? Date { get; set; }

public TimeSpan? Time { get; set; }

public List<Menu> ChoosenMenus { get; set; }

public decimal FoodPrice { get; set; }

public int? UserFK { get; set; }
public int ReservationID { get; set; }

public string? FirstName { get; set; }

public string? LastName { get; set; }

public string? Adress { get; set; }

public string? City { get; set; }

public string? Email { get; set; }

public int GuestsComing { get; set; }

public DateTime? Date { get; set; }

public TimeSpan? Time { get; set; }

public List<Menu> ChoosenMenus { get; set; }

public decimal FoodPrice { get; set; }

public int? UserFK { get; set; }
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
true!
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
ye
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
i have JWT token sorted
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Yea
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Nah i have blazor as front end
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Yea we don't want that haha
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Yea true
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Ah I see
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
Yea but i was wondering how to do that, since u cant save an property of
public int[] menuIds { get; set; }

or

public List<int> menuIds { get; set; }
public int[] menuIds { get; set; }

or

public List<int> menuIds { get; set; }
64 replies
CC#
Created by Luciferno on 9/18/2022 in #help
EF-Core data reference [Answered]
This is my function that adds the Reservation to the DB
public void AddReservation(Reservation reservation)
{
_dbContext.Reservations.Add(reservation);
_dbContext.SaveChanges();
}
public void AddReservation(Reservation reservation)
{
_dbContext.Reservations.Add(reservation);
_dbContext.SaveChanges();
}
64 replies