private static void ResolveOneType(MappingClass map, Type t) { map.TypeList.Add(t.FullName, t); //if (!t.IsAbstract && ( t.IsSubclassOf( typeof( ObjectBase ) ) || t is IEntity )) { // map.ClassList[t.FullName] = EntityInfo.GetByType( t ); // logger.Info( "Loading Type : " + t.FullName ); //} // 1029 logger.Info("Loading Type : " + t.FullName); if (rft.IsInterface(t, typeof(IEntity)) && !OrmHelper.IsEntityBase(t)) { map.ClassList.Add(t.FullName, EntityInfo.GetByType(t)); } }
//1029 private static Boolean updateParentInfo(EntityInfo info) { if (info.Type.BaseType == typeof(Object)) { return(false); } if (OrmHelper.IsEntityBase(info.Type.BaseType)) { return(false); } if (info.Type.BaseType.IsAbstract) { return(false); } return(true); }