StrataFrame Forum

Business Object DataSource Location...

http://forum.strataframe.net/Topic5931.aspx

By Christopher Thumann - 1/18/2007

We're using StrataFrame to create .Net web apps.  Seems as though you can only specify the datasource of a business object in the instance of said business object in the application.

My question:  Can you specify the datasource of a business object within the object itself, instead of the created instance of the object?

Thanks!

Chris

By StrataFrame Team - 1/19/2007

Yes, if you create your business objects in a business object library or a web project (rather than a web site), you will have the ability to use the component designer for the business object class.  Any property you set within the component designer is used by all business objects of that class (unless overwritten on a specific instance).  To view the component designer, you can double-click the business object within the solution explorer or right-click it and select View Designer.

There are also certain properties, such as ParentRelationship, that can only be set at design-time through the component designer.