Share
Inconsistent accessibility: property type ‘DbSet’ is less accessible than property
Soru
Merhaba C# Context tanımlaması yaparken aşağıdaki hatayı alıyorum. Bu hatanın tam olarak nedenini bulamadım yardımcı olursanız sevinirim.
public virtual DbSet<CoinListesi> Coins { get; set; }
Severity Code Description Project File Line Suppression State
Error CS0053 Inconsistent accessibility: property type ‘DbSet<CoinListesi>’ is less accessible than property ‘ApplicationContext.Coins’
devam ediyor
0
c#
1 sene
1 Cevap
657 gösterim
0
Cevap ( 1 )
tanımlamanız hatalı şu şekilde değiştirin