Archive for July, 2007
Friday, July 27th, 2007
At work I need to extend the DataControlField
So a task I have at work is to be able to manage a few different objects in a DataControlField. The objects I need to manage are: an icon, ToolTip, text and a checkbox. These objects are displayed based on a domain class and will be a fundamental building block for most of the information […]
No Comments » - Posted in Today's issue by Duvall Buck
Friday, July 27th, 2007
How to display the vendor address information
In the “Displaying data in the GridView” diary I showed how to get the vendor information out of the database and place it in a GridView control. However my Vendor class contains
IList vendorAddressList = new ArrayList();
that is populated via NHibernate. It took me a couple of hours to figure out how to display the address […]
No Comments » - Posted in AWSandbox by Duvall Buck
Thursday, July 26th, 2007
Displaying data in the GridView
Today I made some progress and learned how to display data in a GridView using the MVP design pattern. The displaying of the data is simple without any fancy formatting and the data is pulled from the AdventureWorks Vendor table in the Purchasing schema. Below is a screenshot of the grid.
Once I got the mapping […]
No Comments » - Posted in AWSandbox by Duvall Buck
Thursday, July 26th, 2007
My audible commute book is
Lean Mean Thirteen by Janet Evanovich. If you are unacquainted with this series you are missing a great cast of characters. The main character is Stephanie Plum who makes her living as a bounty hunter. As the title implies this is the 13th book in the Stephanie Plum series. It would be an understatement […]
No Comments » - Posted in Audible books by Duvall Buck
Thursday, July 26th, 2007
AWSandbox and NHibernate mapping
There are not a lot of examples of NHibernate mapping outside of the NHibernate - Relational Persistence for Idiomatic .NET document. There is a simple example by Paul Wilson and another by Scott Bellware but not much more.
I’m trying to figure out how to map the Vendor -> VendorAddress and Vendor -> VendorContact tables in […]
No Comments » - Posted in AWSandbox by Duvall Buck
Tuesday, July 24th, 2007
Work has interfered with AWSandbox
It has been about two weeks since I have posted anything about the AWSandbox project because I have been working on an architectural prototype for work. The prototype uses the similar to architecture AWSandbox so it has some experiential benefits.
My work prototype uses a different domain and goes against a different database but the use […]
No Comments » - Posted in AWSandbox by Duvall Buck
Tuesday, July 24th, 2007
My last audio book commute
I have just finished listening to this book. It is the second book by Khaled Hosseini. His first was “The Kite Runner” and was about two boys growing up in Afghanistan. This one is about the lives of two girls growing up in Afghanistan and covers about 30 years starting in the 70’s and moving […]
No Comments » - Posted in Audible books by Duvall Buck
Tuesday, July 10th, 2007
ActiveRecord and NHibernate.Mapping.Attributes
So I’ve now spent some time with both of these approaches. I have decided to go with the .hbm.xml files for managing the O/R Mapping. While I like the idea of both of these approaches I found that it is not making the metadata mapping that much easier.
ActiveRecord requires adding more reference DLLs and even […]
No Comments » - Posted in AWSandbox by Duvall Buck
Tuesday, July 10th, 2007
My audio commute book
Nerve Damage by Peter Abrahams. This is the story of a sculpture named Roy who finds out he has mesothelioma. This gets him curious about his obituary and finds a mistake about the company that his wife worked for when she was killed in a helicopter crash in Venezuela.
This is a good story […]
No Comments » - Posted in Audible books by Duvall Buck
Tuesday, July 3rd, 2007
Why not KISS?
I was in a discussion with our architect today and he is wanting to move to using some of the Castle Project components as we move forward in converting from a legacy ASP/Javascript application to a ASP.NET 2.0 application.
I was mentioning this to one of my c0-workers and his question was, “Why aren’t we using […]