Sam,
>When I use the Business Layer Generator and I choose to generate the business objects based on a stored procedure which includes a non-nullable integer column, I select the integer column on the Select Database Items page of the wizard. Only the Required checkbox is checked by default in the Entity Properties area on that page. I expected to also see the Set Default checkbox checked and a default value of 0 in the Default Value textbox.
>
>If I choose to generate the business objects based on the table related to the stored procedure, I see exactly what I expected to see.
>
>Shouldn't the BLG handle the stored procedure similar to the way it handles the related table?
It actually only works for tables, not stored procedures.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com