Nuri,
>This is a question, can we write new business class look like below?
>
>class VIPerson : person /* person Inherited from MMBusiness */
>{
> public person()
> {
> this.TableName = "VIPerson" ;
> this.PrimaryKey = "VIPPK" ;
> }
>}
>
>I want to discuss this desing, any idea?
Now I understand...and yes...this is a perfectly acceptable design. Just make sure all of your code in the parent class references the TableName and PrimaryKey properties rather than hard-coding these in SQL commands or business logic.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com