Example #1
0
 public static void SetValue(this OrgExtInfo OrgExt, string FieldName, object _data)
 {
     if (OrgExt.ExtProperties.ContainsKey(FieldName))
     {
         OrgExt.ExtProperties[FieldName] = _data.ToString();
     }
     else
     {
         OrgExt.ExtProperties.Add(FieldName, _data.ToString());
     }
 }
Example #2
0
 public static string GetValue(this OrgExtInfo OrgExt, string FieldName)
 {
     if (OrgExt.ExtProperties.ContainsKey(FieldName))
     {
         return(OrgExt.ExtProperties[FieldName]);
     }
     else
     {
         return(null);
     }
 }
Example #3
0
 public bool FindByFatherID(OrgExtInfo _org)
 {
     return(((string)_org.GetValue("SJDWID")) == FindStr);
 }
Example #4
0
 public bool FindByID(OrgExtInfo _org)
 {
     return(((string)_org.GetValue("ZZJGID")) == FindStr);
 }