Any method to return all record?


Author
Message
kkchan
kkchan
StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)
Group: Forum Members
Posts: 48, Visits: 97
Hi,

Any method to return all records by default? I know I can call this.filldatatable("select * from my table"), but I would like to know if any existing method.



If that is not any, I would like to add this method "FillAll" into businessobject base class. How could I accomplish this?



Thank you
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
We do not have an intrinsic method to retrieve all records.  This is risky business in most cases it too many records are returned.  This can cause a slow performing application, thus the reason we do not have this as a base method.

There are a number of ways for you to do this yourself.  Create the FillAll method for each BO or subclass the BusinessLayer and inherit all of your BOs from that subclassed BO.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search