Hello Mr McNeish,
I know that handle multiple tables in a single business object, and we use our project allready. Your help documents are good and explicit. I dont have any question in this situation,thank you.
I am wondering to inherit a class which inherits MMBusiness base class
if its possible.
Forexample;
We have a table Person which has got three fields PersonPK, FName, LName.
And our business class look like below.
class person : ABusiness /* ABusiness Inherited from MMBusiness */
{
public person()
{
this.TableName = "Person" ;
this.PrimaryKey = "PersonPK" ;
}
}
And second,we have another table VIPerson which has got 4 fields VIPPK, SirNamePrefix, FName, LName. And object model VIPerson inherits from Person, but not use database tables relationship (parent-child rel).
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?
Regards.
we can work iT ouT