Why does Page_Load get fired when clicking on a button?
I have something like
I have something like
Optimistic concurrency failure, object has been modified
I am using entity framework in MVC. I have two models that populate from a SQL table using DBContext
I am using ChartJS to draw a chart. Only separated values can be processed on the accepted values lables and data. But in my case, the text is monolithic. In general, I cannot format the text in any way when passing List to View.
I’m trying to pull data from an external API and save this data in a MS SQL Database using Entity Framework. I’m new to Entity Framework and can’t figure out how to make my data persistent. The Database is created following the Code First principle according to the following Model:
i use BlazorInputFile on my project but dont know how to transform the stream that i get from the input file(a zipFile) to an ZipArchive to loop in it….
I have the following setup:
I’m trying to implement DDD approach in my project but realized that I have too big aggregates and trying to minimize the amount of data loaded from the database. I have an aggregate Order which during some operations depends on another aggregate- Company. To perform operation RefreshOrderNumber() I need three properties from the Company entity and totally not interested in other fields from the **Company. So, I got an idea to create a value type for Order – OrderCompanyInfo and incapsulate those fields on it
This is the MySQL table.