Tuesday, April 14, 2015

Table properties - Support Inheritance,Extends,Abstract

Example

If you want to set the supportinhertiance to the table,
Step 1;
Create table
set the property as yes to SupportInheritance(before create any filed to the table)
Set yes to Abstract
create new filed as InstanceRelationType by the datatype as Int64
set the InstanceRelationType to the property InstanceRelationProperty

EcoResProduct - Base Table
EcoResProductMaster - Child Table
EcoResDistinctProduct -Child table


In the child table we need to set the property Base table  to Extend and set yes to support inheritance.
You cant create the same name of field in the child table which is already exist in the parent table.



http://axdaily.blogspot.com/2011/04/table-inheritance.html

No comments: