Given a class A with a subclass ASub.
I’ve got an object of type ASub.
public MySave(A obj) {
db.Save(obj); // want to save to A table, not ASub table
}
This will try to save to ASub table instead of A table.
How can I force it to use the A table? I will never use ASub table. Ever.