public List<int?> ListWithNulls(string type) { return this[type].Select(p => p?.EntityId).ToList(); }