Welcome to the CodeSmith Community!

Re: Newbie Question

Template Frameworks

A description has not yet been added to this group.

Newbie Question

Answered (Verified) This question is answered

I have used CSLA for many years but am new to CodeSmith.  I used the csla quickstart to generate an object from my db named Customer. It has a CustomerId as primary key. I have an asp project to consume the object. I add a CSLA datasource to the page and configure is by selecting either Customer or CustomerList from the available choices. Now I add a formview and connect it to the datasource. It generates the initila item view as expected. When I try to enter code in the SelectObject event to load the object there are no methods available to do so.  Looking at the generaed code all of the factory methods are internal so I can get to them from the UI.  How am I supposed to instantialte objects from the UI?  Is it expected that everything will always be done through the collection objects?



  • Post Points: 5
Verified Answer
All Replies
Page 1 of 2 (16 items) 12