﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Providing a paramter to the constuctor of a Business Object</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 12:20:44 GMT</lastBuildDate><ttl>20</ttl><item><title>Providing a paramter to the constuctor of a Business Object</title><link>http://forum.strataframe.net/FindPost438.aspx</link><description>I'm not sure how to pass a parameter to a BO when it gets initialized once it gets dropped on a form short of modifying the code in the form.designer.cs. Is it possible without modifying this code? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Randy</description><pubDate>Tue, 17 Jan 2006 16:15:31 GMT</pubDate><dc:creator>Randy Smith</dc:creator></item><item><title>RE: Providing a paramter to the constuctor of a Business Object</title><link>http://forum.strataframe.net/FindPost439.aspx</link><description>No, all components are designed to have parameterless constructors.  So, if you add a new constructor that accepts parameters to the business object, you'll either have to modify the code like you've been doing or declare the instance of the business object on your own rather than dropping it on the form.  If you define it the same way as it's defined within the InitializeComponent region, then you should be able to bind to it the same way, but no promises...</description><pubDate>Tue, 17 Jan 2006 16:15:31 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>