private IEnumerable <DataTable> GetInheriteds() { Stack <DataTable> inheriteds = new Stack <DataTable>(); var baseType = this.ObjectType.BaseType; while (baseType != null && !DomainObject.IsFrameworkDomainObjectType(baseType)) { DataTable table = CreateInheritedTable(baseType); inheriteds.Push(table); baseType = baseType.BaseType; } return(inheriteds); }
public static bool IsFrameworkDomainObjectType(this Type domainObjectType) { return(DomainObject.IsFrameworkDomainObjectType(domainObjectType)); }