diff --git a/Database-Attribute_System/ClassAction.cs b/Database-Attribute_System/ClassAction.cs
index 3c9a032..2797c41 100644
--- a/Database-Attribute_System/ClassAction.cs
+++ b/Database-Attribute_System/ClassAction.cs
@@ -85,12 +85,12 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System
///
/// Given object (marked with Db-attributes)
/// Function to handle query-calls - Has to return Dictionary[attributeName, attributeValue]
- /// This disables errors when class-field has no data-attribute
- public static void ResolveByPrimaryKey(T classObject, Func> queryExecutor, bool ignoreDataAttributeNotInClass = false)
+ /// This checks if any class-field and data-attribute does not exists in either (Slower)
+ public static void ResolveByPrimaryKey(T classObject, Func> queryExecutor, bool runDataLossChecks = true)
{
string query = QueryBuilder.SelectByPrimaryKey(classObject);
Dictionary data = queryExecutor(query);
- FillObject(classObject, data, ignoreDataAttributeNotInClass);
+ FillObject(classObject, data, runDataLossChecks);
}
}
}