StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



New BBS WrapperExpand / Collapse
Author
Message
Posted 07/03/2008 4:12:51 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:29:52 AM
Posts: 177, Visits: 430
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

Post #17619
Posted 07/03/2008 4:22:13 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
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.

Post #17620
Posted 07/03/2008 5:07:32 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:29:52 AM
Posts: 177, Visits: 430
Okay thanks
Post #17622
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:34pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.