UI Week!

Here’s a quick summary of what I did last week.

I worked on the user interface of purchase invoice, a lot was learned when it comes to handling, implementing and writing codes.

I read about IQueryable and IEnumerable properties. Both are very similar and at the same time they differ in many ways that make them distinct. Such that the first runs against queryable collection, while the latter runs in memory location. Another difference lies on the execution of the select query property, IQueryable executes the logic of the select on the database, thus less work is needed and is performed fast. On the other hand, IEnumerable executes the select query logic on the client side, which requires more work and hence is slow. IQueryable is inherited from the IEnumerable class.

I have also read about the mapping function which is available in the EF core. The auto-mapper function maps only one object to another, which is not an efficient way of mapping properties, thus using methods which acts as a mapper is a more efficient and reliable.

Thus, I managed to display content on the purchase invoice, as well as view purchase order number for each invoice.

Mostly, the coding work revolved around the view, viewModel, service, wrapper and wrapperServices and etc.

See you all next week 🙂

Leave a Reply