private void loadMembers(CMSDataContext cmsdb, CMSImageDataContext cmsidb, int campus, DateTime date, bool returnPictureUrls) { members.AddRange(FamilyMember.forFamilyID(cmsdb, cmsidb, id, campus, date, returnPictureUrls)); memberList = string.Join(", ", members.Where(m => m.name != name).Select(x => x.firstName)); }
private void loadMembers(CMSDataContext cmsdb, CMSImageDataContext cmsidb, int campus, DateTime date, bool returnPictureUrls) { members.AddRange(FamilyMember.forFamilyID(cmsdb, cmsidb, id, campus, date, returnPictureUrls)); }
private void loadMembers(SqlConnection db, int campus, DateTime date) { members.AddRange(FamilyMember.forFamilyID(db, id, campus, date)); }