Beispiel #1
0
 public Guid?GetLookupGuidPreImage(string fieldName)
 {
     return(XrmEntity.GetLookupGuid(GetFieldFromPreImage(fieldName)));
 }
Beispiel #2
0
 /// <summary>
 ///     NULL IF NOTHING!! FIELD MUST BE IN PREIMAGE! Returns the effective id value of the lookup field in the context
 ///     record (gets from the target entity or if not in gets from the preimage)
 /// </summary>
 public Guid?GetLookupGuid(string fieldName)
 {
     return(XrmEntity.GetLookupGuid(GetField(fieldName)));
 }