| | | StrataFrame Beginner
       
Group: Forum Members Last Login: 02/28/2007 12:59:00 PM Posts: 15, Visits: 42 |
| | Instead of mapping to a table, can a person map a BO to a Query? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 6:26:12 PM Posts: 4,901, Visits: 4,887 |
| | Jason, The only way you can map to a query and have the strong-typed properties created is by mapping to a view. This allows you to pull from a number of different tables at the same time and bring the data into a single business object entity and still have the strong-typed property access. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 12/09/2008 3:36:08 PM Posts: 2,686, Visits: 1,891 |
| If you don't need the strong-typed properties, you can pull any query into a business object because the business object stores its record sets in a DataTable, which is malleable, so it can contain any number of columns. All of the retrieved columsn will then be available through the Item() property on the business object.
www.bungie.net |
| |
|
|