CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Loading the BusinessListBase class

rated by 0 users
This post has 2 Replies | 0 Followers

Not Ranked
Posts 8
lmatovic Posted: Mon, Apr 13 2009 7:37 AM
Hi,
I have a problem with loading the BusinessListBase class with data from the Database. Actually, i have one business class that represents Products, and i have one class that inherits BusinessListBase, witch contains all the Products, so I could later bind that list to the combobox and other fields in GUI... Now, my problem is that i can't find a way to itterate products, so i can add them to the ProductList, because ther's Id that's used to get a single product from database and i can't get all of Id's from the DataSet just like that !!!
I know my way of describing this is a bit confusing, but i don't know what to do!!!

It would be great if someone had some advice!!
Thanks
Luka
Top 200 Contributor
Posts 42
mamboer replied on Mon, Apr 13 2009 7:46 AM
Hi,
I suggest that you take a look at the ProjectTracker project,it's very helpful with your begin with Csla.net.

http://www.lhotka.net/cslacvs/viewvc.cgi/samples/trunk/CslaNet/cs/ProjectTrackercs/ProjectTracker.Library/
Levin Van
Not Ranked
Posts 8
lmatovic replied on Mon, Apr 13 2009 8:03 AM
Thanks for the suggest, but I already tryied it and still, it's a bit different, it uses LINQ to SQL, and i use Entlib data acces application block, and there's used some differrent way of loading values into the form
Page 1 of 1 (3 items) | RSS

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems