public bool HasContactDefaults() { return(Raw.ContainsKey(CONTACT_FNAME) || Raw.ContainsKey(CONTACT_LNAME) || Raw.ContainsKey(CONTACT_EMAIL) || Raw.ContainsKey(CONTACT_COMPANY) || Raw.ContainsKey(CONTACT_PHONE)); }
protected string GetValue(string key) { if (Raw.ContainsKey(key)) { return(Raw[key]); } else { return(null); } }
/// <summary> /// Shorthand method for ContainsKey call /// </summary> /// <param name="id">Id of data object</param> /// <returns>Data object</returns> public bool Has(int id) { return(Raw?.ContainsKey(id) ?? false); }