Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entity from multiple tables
Message
From
21/05/2010 13:59:37
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
21/05/2010 13:55:53
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01465461
Message ID:
01465488
Views:
34
The theory is if you create a stored procedure you can run the BLG against that stored procedure. I have not done this because there is little value in creating business objects based on a stored procedure. You may get an entity object you could use but would have to do some modifications to it so it would be useable in the business object you want it in.

That said, for lookup data it is just easier IMHO to use a DataSet.
Tim

>Thanks... that is helpful.
>
>
>>Hi Guy,
>>
>>I had this problem before. I don´t know how the BLG can create an Entity with fields from two tables. I solved it creating a copy of the main Entity, renaming the file and the class and then adding the new field copying it from the parent Entity. Then in the BusinessObject create the corrsponding method:
>>
GetEntityList<NewEntity>(param)
>>
>>Sorry if this would not help you.
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform