public static MarkerCollection LoadAll(int moduleId) { MarkerQuery q = new MarkerQuery(); q.Where(q.ModuleId == moduleId); MarkerCollection markers = new MarkerCollection(); markers.Load(q); return(markers); }
public static MarkerCollection LoadNotGeolocated(int moduleId) { MarkerQuery q = new MarkerQuery(); q.Where(q.ModuleId == moduleId); q.Where(q.Longitude.IsNull()).Or(q.Latitude.IsNull()); MarkerCollection markers = new MarkerCollection(); markers.Load(q); return(markers); }