Hello,
we want to update LLBL Geg from Version 2.6 to 5.9. We have some self-written plugins, which I should update. Unfortunately, the original developer is no longer available and I am the new guy who is supposed to do it now.
Currently I am on a problem in which fields are searched for whose target name deviates from expectations.
In the old version this was implemented as follows (yes the fieldname is terible):
var fields = entity.Fields.ToList();
const string idTargetName = "_ID";
const string idFieldName = "_Id";
var idField = fields.FirstOrDefault(ef =>
idTargetName.Equals(ef.TargetName)
&& !idFieldName.Equals(ef.FieldName));
In LLBL Gen 5.9 there are no TargetName and FieldName propertys of the FieldElement.
I think I can use the Name property instead of FieldName but how cann ich access the TargetName?
regards
relevart