예제 #1
0
 /// <summary>
 ///     -1 IF NOTHING!! FIELD MUST BE IN PREIMAGE FOR UPDATE STEP! Returns the effective int value of the optionset field
 ///     in the context record (gets from the target entity or if not in gets from the preimage)
 /// </summary>
 public int GetOptionSet(string fieldName)
 {
     return(XrmEntity.GetOptionSetValue(GetField(fieldName)));
 }