Aktywne Wpisy
DonGebels +63
Ktoś wie jak dokładnie działają ci #frajerzyzmlm ?
Mają swoją platformę do inwestowania? Czy to obojętnie jaka platforma, a oni po wykupieniu jakiegoś pakietu wysyłają co kupować? Grają tylko na wzrosty, czy na spadki też? Giełda, czy tylko krypto? Tak dużo pytań, tak mało odpowiedzi...
#kryptowaluty #gielda
Mają swoją platformę do inwestowania? Czy to obojętnie jaka platforma, a oni po wykupieniu jakiegoś pakietu wysyłają co kupować? Grają tylko na wzrosty, czy na spadki też? Giełda, czy tylko krypto? Tak dużo pytań, tak mało odpowiedzi...
#kryptowaluty #gielda
Nowa_Zielonka_ +94
#chwalesie
Właśnie oddałem Pani Ukraince w mcDonalds we #wroclaw na rynku portfel, który zostawiła w łazience.
Różowa poszła siku, wraca i pyta mnie co zrobić jak sie znalazło portfel z dużą ilością gotówki. Mówię, że oddać ( ͡° ͜ʖ ͡°)
Zaglądam do środka a tam wszystkie możliwe dokumenty, karty, cała masa gotówki, dolary w setkach, złotówki w setkach i kupa ukraińskie pieniążków.
Wyciągnąłem jakiś
Właśnie oddałem Pani Ukraince w mcDonalds we #wroclaw na rynku portfel, który zostawiła w łazience.
Różowa poszła siku, wraca i pyta mnie co zrobić jak sie znalazło portfel z dużą ilością gotówki. Mówię, że oddać ( ͡° ͜ʖ ͡°)
Zaglądam do środka a tam wszystkie możliwe dokumenty, karty, cała masa gotówki, dolary w setkach, złotówki w setkach i kupa ukraińskie pieniążków.
Wyciągnąłem jakiś
https://docs.microsoft.com/en-us/ef/core/modeling/entity-types?tabs=fluent-api
I nie rozumiem dlaczego nie ma DbSet dla postów:
internal class MyContext : DbContext
{
public DbSet Blogs { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity();
}
}
Wiecie czemu tak jest?
#naukaprogramowania #csharp #efcore #pytanie #pytaniedoeksperta #entityframeworkcore
Czyli jeśli coś nie może żyć "samo z siebie", to nie dodaje się tego do DbSet, tak?
Post istnieje jako "Entity", ponieważ jest navigation property w Blogu, to rozumiem. Po prostu nie rozumiem do końca jeszcze tych DbSetów.
@vanguard2727: Gdybyś miał potrzebę np. pobierania posta po id to warto by dodać taki DbSet. Tutaj nie było takiej potrzeby ale jeśli chcesz to lajtowo możesz sobie takie coś dodać.
o dzięki wielkie za informacje