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