Explorar el Código

Removed change from previous merge.

Kenric Nugteren hace 1 semana
padre
commit
d9343dc5ff
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      InABox.Core/Objects/LinkedProperties.cs

+ 1 - 3
InABox.Core/Objects/LinkedProperties.cs

@@ -27,9 +27,7 @@ namespace InABox.Core
             {
                 if (prop.Name == "ID"
                     || !(prop is StandardProperty stdProp)
-                    || stdProp.Property.DeclaringType.Equals(typeof(BaseObject))
-                    || (prop.IsObsolete && prop.Name.Contains("Link")) // Temporary fix for version 8; to be removed in version 9; the problem was that the obsolete versions of the properties were overwriting the new versions.
-                    ) continue;
+                    || stdProp.Property.DeclaringType.Equals(typeof(BaseObject))) continue;
 
                 var entityProp = DatabaseSchema.Property(Entity.GetType(), prop.Name);
                 if(entityProp != null)