Fixed Guid casting to String (dunno?)
This commit is contained in:
parent
8816110211
commit
3e8427c4c0
@ -61,7 +61,7 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System
|
||||
if (baseAttribute._attributeName.ToLower() == data_keySet.Key.ToLower())
|
||||
{
|
||||
object value = data_keySet.Value;
|
||||
if (baseAttribute.parentField.FieldType == typeof(Guid)) value = new Guid((string)value); // If its a guid, i need to convert
|
||||
//if (baseAttribute.parentField.FieldType == typeof(Guid)) value = new Guid((string)value); // If its a guid, i need to convert
|
||||
|
||||
baseAttribute.parentField.SetValue(classObject, value);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user