|
|
@@ -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)
|