Метод | Описание | |
---|---|---|
CreateKnownRelationship ( int personId, int relatedPersonId, int relationshipRoleId ) : void |
Creates the known relationship.
|
|
DeleteKnownRelationship ( int personId, int relatedPersonId, int relationshipRoleId ) : void |
Deletes the known relationship.
|
|
Get ( System.Guid guid ) : GroupMember |
Gets the specified unique identifier.
|
|
Get ( int id ) : GroupMember |
Gets the specified identifier.
|
|
GetByGroupGuid ( System.Guid groupGuid, bool includeDeceased = false ) : IQueryable |
Returns a queryable collection of
|
|
GetByGroupId ( int groupId, bool includeDeceased = false ) : IQueryable |
Returns a queryable collection of
|
|
GetByGroupIdAndPersonId ( int groupId, int personId, bool includeDeceased = false ) : IQueryable |
Returns a collection of Rock.Model.GroupMember">GroupMembers by the Id of the
|
|
GetByGroupIdAndPersonIdAndGroupRoleId ( int groupId, int personId, int groupRoleId, bool includeDeceased = false ) : GroupMember |
Returns the first Rock.Model.GroupMember that mathces the Id of the Rock.Model.Group, the Id of the Rock.Model.Person, and the Id fo the Rock.Model.GroupTypeRole In theory a maximum of one result should be returned, since there is a unique constraint on GroupId, PersonId, and GroupRoleId. |
|
GetByGroupRoleId ( int groupRoleId, bool includeDeceased = false ) : IQueryable |
Returns a queryable collection of Rock.Model.GroupMember">GroupMembers by the Id of the |
|
GetByPersonId ( int personId ) : IQueryable |
Returns a queryable collection of Rock.Model.GroupMember entities associated with a Rock.Model.Person by the Person's PersonId
|
|
GetFirstNames ( int groupId, bool includeDeceased = false ) : IEnumerable |
Returns an enumerable collection of System.String objects representing the first names of each person in a Rock.Model.Group ordered by group role, age, and gender
|
|
GetFirstNames ( int groupId, bool includeDeceased, bool includeInactive ) : IEnumerable |
Returns an enumerable collection of System.String objects representing the first names of each person in a Rock.Model.Group ordered by group role, age, and gender
|
|
GetInverseRelationship ( GroupMember groupMember, bool createGroup ) : GroupMember |
Gets the inverse relationship. Returns the Rock.Model.GroupMember who has an inverse relationship to the provided Rock.Model.GroupMember. In Rock, examples of inverse relationships include: Parent/Child, Can Check In/Check in By, Sibling/Sibling, Grandparent/Grandchild, etc. |
|
GetKnownRelationship ( int personId, int relationshipRoleId ) : IQueryable |
Gets all group members that have a known relationship of relationshipRoleId type with personId.
|
|
GetLeaders ( int groupId ) : IQueryable |
Gets the active leaders of the group
|
|
GetPerson ( int groupMemberId ) : Person |
Gets the person.
|
|
GetPersonIdsByHomeAddress ( string partialHomeAddress ) : IQueryable |
Gets a list of System.Int32 PersonIds who's home address matches the given search value.
|
|
Queryable ( ) : IQueryable |
Returns a queryable collection of
|
|
Queryable ( bool includeDeceased ) : IQueryable |
Returns a queryable collection of
|
|
Queryable ( string includes ) : IQueryable |
Returns a collection of all
|
|
Queryable ( string includes, bool includeDeceased ) : IQueryable |
Returns a queryable collection of all
|
public CreateKnownRelationship ( int personId, int relatedPersonId, int relationshipRoleId ) : void | ||
personId | int | The person identifier. |
relatedPersonId | int | The related person identifier. |
relationshipRoleId | int | The relationship role identifier. |
Результат | void |
public DeleteKnownRelationship ( int personId, int relatedPersonId, int relationshipRoleId ) : void | ||
personId | int | The person identifier. |
relatedPersonId | int | The related person identifier. |
relationshipRoleId | int | The relationship role identifier. |
Результат | void |
public Get ( System.Guid guid ) : GroupMember | ||
guid | System.Guid | The unique identifier. |
Результат | GroupMember |
public Get ( int id ) : GroupMember | ||
id | int | The identifier. |
Результат | GroupMember |
public GetByGroupGuid ( System.Guid groupGuid, bool includeDeceased = false ) : IQueryable |
||
groupGuid | System.Guid | A |
includeDeceased | bool | A |
Результат | IQueryable |
public GetByGroupId ( int groupId, bool includeDeceased = false ) : IQueryable |
||
groupId | int | A |
includeDeceased | bool | A |
Результат | IQueryable |
public GetByGroupIdAndPersonId ( int groupId, int personId, bool includeDeceased = false ) : IQueryable |
||
groupId | int | An |
personId | int | An |
includeDeceased | bool | A |
Результат | IQueryable |
public GetByGroupIdAndPersonIdAndGroupRoleId ( int groupId, int personId, int groupRoleId, bool includeDeceased = false ) : GroupMember | ||
groupId | int | An |
personId | int | An |
groupRoleId | int | A |
includeDeceased | bool | A |
Результат | GroupMember |
public GetByGroupRoleId ( int groupRoleId, bool includeDeceased = false ) : IQueryable |
||
groupRoleId | int | An |
includeDeceased | bool | A |
Результат | IQueryable |
public GetByPersonId ( int personId ) : IQueryable |
||
personId | int | An |
Результат | IQueryable |
public GetFirstNames ( int groupId, bool includeDeceased = false ) : IEnumerable |
||
groupId | int | A |
includeDeceased | bool | A |
Результат | IEnumerable |
public GetFirstNames ( int groupId, bool includeDeceased, bool includeInactive ) : IEnumerable |
||
groupId | int | A |
includeDeceased | bool | A |
includeInactive | bool | if set to |
Результат | IEnumerable |
public GetInverseRelationship ( GroupMember groupMember, bool createGroup ) : GroupMember | ||
groupMember | GroupMember | A |
createGroup | bool | A |
Результат | GroupMember |
public GetKnownRelationship ( int personId, int relationshipRoleId ) : IQueryable |
||
personId | int | The person identifier. |
relationshipRoleId | int | The relationship role identifier. |
Результат | IQueryable |
public GetLeaders ( int groupId ) : IQueryable |
||
groupId | int | The group identifier. |
Результат | IQueryable |
public GetPerson ( int groupMemberId ) : Person | ||
groupMemberId | int | The group member identifier. |
Результат | Person |
public GetPersonIdsByHomeAddress ( string partialHomeAddress ) : IQueryable |
||
partialHomeAddress | string | a partial address search string |
Результат | IQueryable |
public Queryable ( bool includeDeceased ) : IQueryable |
||
includeDeceased | bool | A |
Результат | IQueryable |
public Queryable ( string includes ) : IQueryable |
||
includes | string | The includes. |
Результат | IQueryable |
public Queryable ( string includes, bool includeDeceased ) : IQueryable |
||
includes | string | A |
includeDeceased | bool | A |
Результат | IQueryable |