Hendry Ten
Just another WordPress site
Just another WordPress site
Sep 25th
Read more about EF here or here. EF is a great ORM framework that ships along with .NET starting from .NET 3.5. It provides abstraction for developers to access the database.
Usually, we design the conceptual models of a database and then save it to a EDMX file in Visual Studio. When we build the application, the EDMX file will be split into 3 files (or 3 resources). These 3 files are a CSDL (stores the conceptual models), an SSDL (stores the storage/database models) and an MSL (mapping between those two).
Now, suppose you need to build a modular or extensible application. The main application consists of a basic model and can run on itself, but needs to provide support to extend itself using plug-ins/modules/add-ons or let’s call it the ‘extra-parts’. The extra-part might also need to have extra-parts in the database, like new tables or functions. Now, here’s where the problem lies. It’s not possible to add new models into the EDMX file on run-time. More >
Aug 29th
This is the first post (not including the test posts in ‘Trash’), so let’s start with an introduction.
My name is ‘Hendry Ten’. Officially (as in papers, passports etc) my name is just ‘Hendry’, no surname. My parents never really thought of a reason why would I need my family surname (it’s pretty usual in my country). That caused me quite a problem when going overseas. Banks refused to open an account for you, got sidelined in the immigration, and everybody’s asking ‘How can you lived without a surname?’. Sigh, I wish I could talk when I was born.