Пример #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());
     }
 }
Пример #2
0
 public static string GetValue(this OrgExtInfo OrgExt, string FieldName)
 {
     if (OrgExt.ExtProperties.ContainsKey(FieldName))
     {
         return(OrgExt.ExtProperties[FieldName]);
     }
     else
     {
         return(null);
     }
 }
Пример #3
0
 public bool FindByFatherID(OrgExtInfo _org)
 {
     return(((string)_org.GetValue("SJDWID")) == FindStr);
 }
Пример #4
0
 public bool FindByID(OrgExtInfo _org)
 {
     return(((string)_org.GetValue("ZZJGID")) == FindStr);
 }