C# Class Rock.Model.GroupServiceExtensions

Mostrar archivo Open project: NewSpring/Rock

Public Methods

Method Description
HeadOfHousehold ( this members ) : Person

Given an IQueryable of members (i.e. family members), returns the head of household for those members

HeadOfHouseholds ( this groups ) : IQueryable

Given an IQueryable of Groups, returns just the heads of households for those groups

Method Details

HeadOfHousehold() public static method

Given an IQueryable of members (i.e. family members), returns the head of household for those members
public static HeadOfHousehold ( this members ) : Person
members this The members.
return Person

HeadOfHouseholds() public static method

Given an IQueryable of Groups, returns just the heads of households for those groups
public static HeadOfHouseholds ( this groups ) : IQueryable
groups this The groups.
return IQueryable