New BBS Wrapper


Author
Message
Aaron Young
Aaron Young
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
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

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.

Aaron Young
Aaron Young
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Okay thanks Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search