Difference between typlist and stored procedure

Posts   
 
    
rai
User
Posts: 41
Joined: 25-Jan-2007
# Posted on: 19-Apr-2008 06:30:06   

can anyone one explain what are the benefits of using typedlist. what is the difference between using a stored procedure/view then using typedlist/typedview.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 19-Apr-2008 08:24:42   

Stored procedure: some DB-side logic that can perform something and return (retrieval SP's) or not-return (actions SP's results) data. If you have Stored Procedures you can use them at your code, you even could use projections and fill entity objects with your SP call.

TypedView: if you have some DB views, you can map them to your LLBLGen model. Then you can fetch them at your code easily.

TypedList: you want to make a typed view based on your entity fields at designer. This is helpful because you can use entity fields to reference the results or filter the results.

DynamicList: you want to construct a view at your own code, make some filter, grouping, aliasing and use your already generated entity fields and entity relations. This is very flexible and you can do almost everything there.

Ref: - LLBLGenPro Help - Using the generated code - (Adapter || SelfServicing) - Using TypedViews, TypedLists and DynamicLists - LLBLGenPro Help - Using the generated code - (Adapter || SelfServicing) - Calling a stored procedure

David Elizondo | LLBLGen Support Team
rai
User
Posts: 41
Joined: 25-Jan-2007
# Posted on: 22-Apr-2008 05:47:27   

I am bit confused ..doing a migration from access to sql 2005 . Just thinking wat shall i use for my reports...stored procedure or typedlist. Can anyone one explain me please. I am using crystal reports with VS2005.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 22-Apr-2008 06:25:08   
David Elizondo | LLBLGen Support Team