Developing WPF using ORMs and DAL generators

56 sec read

I don’t know how long it’s been since I wrote my last Data Access Layer or piece of SQL Code, it certainly has been too long to even remember. Since then I’ve used a number of ORMs (Object Relational Mappers) or/and DAL Code Generators to perform all the tedious data access manipulation  I needed.


The ones I’ve used are
LLBGen : Unfortunately this free version stop evolving a long time ago (since .Net framework 1.1) and became a commercial solution,
Olero’s  ORM.Net : Which was my favorite Open Source (GPL Licensed) ORM, although it didn’t support Generics and all the nice stuff .Net 2.0 brought us.


Lately though I’ve been experimenting with SubSonic the zero code DAL as they call it and I must say I was Impressed with its simplicity, flexibility and extensibility. At last this open source ORM supported Generics and it was designed with .Net Framework 2.0 in mind. Then only problem was that it supported only ASP .Net 2.0 applications when I needed something that would not only be useful for Windows Forms Applications but something that could be used on Windows Presentation Foundation applications as well [with little or preferably no modifications].


So after studying and re-engineering the code, I’ve created a “fork” on Subsonic ‘s releases that will not only support Windows Form Applications but also the new INotifyPropertyChanged interface and ObservableCollection class of Windows Presentation Foundation so that I can easily bind data objects to my WPF forms.


I now have to do some testing before publishing the code and Officially announcing the release (using project’s codeplex space), so stay tuned if you’re interested…


Discover more from ksharp

Subscribe to get the latest posts sent to your email.

Icons for metro UIs

If you’re into metro development (windows phone or Windows 8) I’m sure you’ll appreciate another set of cool mono-colored very simplistic yet beautiful icons....
kpantos
21 sec read

All-In-One Code Framework!

Have you seen this? Check it out on codeplex !!! The Microsoft All-In-One Code Framework is a free, centralized code sample library provided by...
kpantos
18 sec read

ITProDevConnections LightSwitch lottery draw

I guess most of you will know by now that ItPro|DevConnections is holding a lottery for two msdn subscriptions for all of those that...
kpantos
1 min read

5 Replies to “Developing WPF using ORMs and DAL generators”

  1. In terms of forking – why do you feel the need to do this? If you have some things to offer – let”s try to implement them. Our version 2.0 will fully support WinForms, and we have a nice commad line tool as well.

    If you do decide to fork (this is your decision) please be sure to keep our source under the MPL license – this gaurantees that it remains open ;).

    Cheers,

    Rob

  2. Thank you for the work you have put into this post, it helps clear up some questions I had.
    I will bookmark your blog because your posts are very informative We appreciate your posts and look forward to coming back.

  3. I really did not expect such troubles on the server.I would be possible to create a WPF-less version of ReaderSvg. But this would probably take quite a lot of time and time is a thing I do not have much

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from ksharp

Subscribe now to keep reading and get access to the full archive.

Continue reading