The first draft of source code demonstrating how this idea will work is now published to CodePlex.
Here is the link: http://entityui.codeplex.com/
Basically what it shows is that you write your class, then with a few lines of code, you can have your UI rendered! Here is the code that does renders the UI:
' Instantiate School Class with Events Protected WithEvents Departments As New EntityUI(Of Department) Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Example on how to use EntityUI to automatically Render Input control PlaceHolderUI.Controls.Add(Departments.RenderInputPanel()) End Sub
And thats pretty much it to render UI. Of course, this is just a first draft, and it doesn’t provide full functionality, but it’s a start.
Again, basically what EntityUI does is that it goes through the Class Properties, and renders a control for you based on each Property.
Here is how it looks like when you run it: