c# - Cannot inject Controller, DbContext inside Blazor razor page

A Field Initializer Cannot Reference C#

Mysql devart field linq initializer cannot reference non static method property Field cannot initializer devart mysql reference non static method property enter description

Cannot blazor controller dbcontext razor inject server inside side initializer field filed method reference non property static

c# - Cannot inject Controller, DbContext inside Blazor razor page

linq - Devart LinqConnect for mysql A field initializer cannot
linq - Devart LinqConnect for mysql A field initializer cannot

c# - Cannot inject Controller, DbContext inside Blazor razor page
c# - Cannot inject Controller, DbContext inside Blazor razor page

linq - Devart LinqConnect for mysql A field initializer cannot
linq - Devart LinqConnect for mysql A field initializer cannot