StrataFrame Forum

New BBS Wrapper

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

By Aaron Young - 7/3/2008

Hi,

The beta posting refers to a new BBS wrapper and gives the following sample code:-

Public Class CustomersBBS
   Inherits MicroFour.StrataFrame.Business.BusinessBindingSource(Of CustomersBO)

End Class

I am useless at VB - can you tell me the equivalent in C# please?

Am I right in thinking you now only have to drop the wrapper onto your form and it will create the business object without any further code?

Thanks,

Aaron

By Trent L. Taylor - 7/3/2008

Really all you need to do is the following:

  1. Right-Click the project
  2. Click Add new Item
  3. Select the SF Customer Business Binding Source template
  4. Enter a name such as Customers (generally the name of the table or entity...BBS will be automatically added to the end).
  5. Select the desired BO to wrap
  6. Check the Create Custom Business Binding Source check box
  7. Click OK

You will then see the class created for you and the C# code.

By Aaron Young - 7/3/2008

Okay thanks Smile