Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public static bool IsFrameworkDomainObjectType(this Type domainObjectType)
 {
     return(DomainObject.IsFrameworkDomainObjectType(domainObjectType));
 }