C# Класс Rock.Data.RockUdfHelper

pattern from https://github.com/divega/UdfCodeFirstSample
Показать файл Открыть проект

Открытые методы

Метод Описание
ufnCrm_GetFamilyTitle ( RockContext rockContext, int PersonId, int GroupId, string GroupPersonIds, bool UseNickName ) : string

calls database TVF function ufnCrm_GetFamilyTitle. Usage: string familyTitle = RockUdfHelper.ufnCrm_GetFamilyTitle( rockContext, personId, groupId, commaPersonIds, true );

Приватные методы

Метод Описание
ufnCrm_GetAddress ( int PersonId, string AddressType, string AddressComponent ) : string
ufnGroup_GetGeofencingGroupNames ( int PersonId, int groupTypeId ) : string

Описание методов

ufnCrm_GetFamilyTitle() публичный статический Метод

calls database TVF function ufnCrm_GetFamilyTitle. Usage: string familyTitle = RockUdfHelper.ufnCrm_GetFamilyTitle( rockContext, personId, groupId, commaPersonIds, true );
public static ufnCrm_GetFamilyTitle ( RockContext rockContext, int PersonId, int GroupId, string GroupPersonIds, bool UseNickName ) : string
rockContext RockContext The rock context.
PersonId int The PersonId. NULL means use GroupId parameter
GroupId int The GroupId of the Family. NULL means use PersonId parameter
GroupPersonIds string If GroupId is specified, set this as a comma-delimited list of PersonIds that you want to limit the family members to. NULL means don't restrict.
UseNickName bool if set to true [use nick name].
Результат string