Table per Type (TPT) is a type of inheritance mapping in Entity Framework where each derived entity type is mapped to a separate table in the database. For example, consider the following object model: Copy codepublic abstract class Vehicle{ public int Id { get; set; } public string Make { get; set; } public string … Continue reading Entity Framework Inheritance Table Per Type (TPT) in .NET
Category: general
Thawani Pay SDK for .NET
Recently I was working on a project in .NET where I needed to integrate Thawani Payment Gateway (Oman Based Payment Gateway). There API documentation is great but there isn't any official library in .NET. Many of the new developers might find it hard to start consuming the APIs, generating the JSON, etc. I wrapped all … Continue reading Thawani Pay SDK for .NET
The first habit: Proactive
https://open.spotify.com/episode/3grs6VxxE0kcTUjIxHQ5yX Listen to this article For most of us, it is always the easiest to blame someone or something about a situation that happens. Be it you are yelling on someone, business failed, client cancels the project or anything that relates. Blaming it on someone or something else makes your mind not feel guilty. Although … Continue reading The first habit: Proactive
Music and Work
I am a programmer, and being one I spend almost my entire day in front of a computer. During the period when I am working on a project, and by working I mean writing code specifically, I have a plan and steps to follow to achieve the output. So the part when I may not … Continue reading Music and Work
Our Engagements: Baloch
Ever wondered about different cultures and their ways of getting two individuals to a life long relationship, I mean, marriage? I would describe the first part of it today over here. It may seem to many of you readers that we are from dark ages but we are even these modern days, following mostly our … Continue reading Our Engagements: Baloch
Ramadan and Remote Work
Every year, there is a month in which all Muslims fast from dawn to dusk by not drinking any liquids or eating any solids. Not just that but preventing themselves from other sexual activities, sinful acts and speeches as well. This month is called Ramadan and it is the 9th month in Islamic (Hijri) Calendar. … Continue reading Ramadan and Remote Work
The Expiry Date
We are living in a world with loads of packed items. These packed items are produced by manufacturers in their factories. The packed items are have several ingredients and made using some recipe. The recipe are used to identify how much and when and where to use while producing the product. At the end of … Continue reading The Expiry Date
Corona Virus vs Remote Work
WHO has declared Corona Virus as pandemic (I didn't know the meaning of it first). The entire world has kinda stopped. It started from a hub where most of the goods are produced and shipped, China and it was being called Chinese Virus by the US President Trump. Anyhow, we are living in an Era … Continue reading Corona Virus vs Remote Work
Traffic of Middle-East
For the past 3 and half years, I have been living in a foreign country in the Middle-East. When people talk about Middle-East, Arabs and Muslims pop-up in their heads, which is true. I am in the Sultanate of Oman. People often say that the Arabs are crazy rich, which I would not entirely agree … Continue reading Traffic of Middle-East
Hungry Stomach, Empty Pocket, Broken Heart
During the early stages of my life, I was lucky enough not to worry about those 3 things. Well, for sometimes Empty Pocket because my wants were little too much but my parents always, one way or the other, fulfilled them. Gradually, when you reach in the adulthood, then you realize about the responsibilities. Responsibility … Continue reading Hungry Stomach, Empty Pocket, Broken Heart