Hendry Ten

Just another WordPress site

RSS Feeds

  • Home
  • Contact Me
Database schema

Merging Entity Framework metadata/definition

Sep 25th

Posted by Hendry in .NET

1 comment

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 >

.NET, C#, EDMX, Entity Framework

Just another WordPress site

Aug 29th

Posted by Hendry in General

No comments

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.

More >

Hello World, Hendry Ten, Introduction
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Pages

    • Contact Me
  • Categories

    • General (1)
    • Information Technology (1)
      • .NET (1)
  • Archives

    • September 2010 (1)
    • August 2010 (1)
  • Recent Posts

    • Merging Entity Framework metadata/definition
    • Just another WordPress site
  • Tag Cloud

    • .NET C# EDMX Entity Framework Hello World Hendry Ten Introduction
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top