Introducing the WilsonORMapper DataSource Control

It seems that the ObjectDataSource control is not as easy to work with as most people had hoped.  It also requires far more than is necessary if you are already using an O/R Mapper with your objects.  So I decided to spend a few spare hours and throw together a DataSource control for my WilsonORMapper.  The download includes the full source code for the DataSource control, as well as a simple web demo.  So download it and let me know what you think -- and maybe the source code can be modified for NHibernate and others.  Please let me know how it works for you, since I honestly haven't spent much time on it, and let me know if you found the source useful too.
Published Wednesday, May 17, 2006 9:54 PM by PaulWilson

Comments

# re: Introducing the WilsonORMapper DataSource Control

Great work Paul!

Once again you've raised the bar on simplicity!

Thursday, May 18, 2006 3:37 AM by Vladan Strigo [MVP]

# re: Introducing the WilsonORMapper DataSource Control

I tried the test web page in the solution provided in the download and get the following error:

An instance of type 'Wilson.ORMapper.Internals.Context' was being created, and a valid license could not be granted for the type 'Wilson.ORMapper.Internals.Context'. Please, contact the manufacturer of the component for more information.

Sunday, May 21, 2006 12:47 AM by jdn

# re: Introducing the WilsonORMapper DataSource Control

I should have pointed out that the included WilsonORMapper is of course the demo version, which means it only works inside the VS debugger. Just running it without the debugger will rightly result in that exception since that is what keeps you from using the demo version in production. So try it all you want in the debubber, and you can certainly modify and use the source code with something else if you find it useful but don't want to subscriber for $50 to get the ORMapper.

Sunday, May 21, 2006 10:31 AM by Paul Wilson

# LLBGen Example Using ASP.NET 2.0

Frans Bouma is the creator of the very popular LLBLGen Pro O/R mapper for .NET.  He just posted...

Friday, June 09, 2006 9:23 PM by ScottGu's Blog

# WilsonORMapper DataSource Control

Sunday, June 11, 2006 2:01 AM by ASPNETWorld.com Blog

# Justin's Blog - Binding ActiveRecord to a DataGrid in Read Only Mode

Leave a Comment

(required) 
(required) 
(optional)
(required)