StrataFrame Forum

Reuse Custom fields to BO

http://forum.strataframe.net/Topic9457.aspx

By Chan - 6/8/2007

Hi,

I have few custom few fields that need to be used in most of the transactions BO. Currently, I got to copy and paste all these custom fields to each BO. Anyway I can reuse my code?



Thank you
By Chan - 6/8/2007

Hi,

I just created another level of subclass of BusinessLayer solve my problem. Is it the only way?



Thank you
By Trent L. Taylor - 6/9/2007

I just created another level of subclass of BusinessLayer solve my problem. Is it the only way?

This is going to be the best way to create any type of functionality that needs to extend accross all of your BOs.  This is generally the same approach that we take when we need to have repeated functionality on our BOs.