I was still working on the user interface for the past week as well.
I have as well updated the tests created previously by adding a new GoodsReceive. Such that the first scenarios of my major task is that when a user searches for a supplier from a purchase order, at the same time while creating a purchase invoice a goods received is created as well is almost 70% complete.
I also got to know that when retrieving properties or entities in EF core, we cannot mix Tracking and NoTracking, such that AsNoTracking() functions are used with method headers that contain the word “Read” as the method is only reading values from the database without getting tracked whether these values have been changed or not.
Likewise, method headers with Get are used when we want to track values in the database.
Wrappers are always involved with work that has to deal with the user interface. Meanwhile, services are involved with database work.
The Linq function Select() return a collection of items or elements, while, First() returns the first element that satisfies the condition.
See you all next week 🙂
