/// <summary> /// Retrieves a collection of <see cref="!:ProfilePersonModel" /> instances. /// </summary> /// <param name="personId"> /// The value which identifies the <see cref="!:ProfilePersonModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:ProfilePersonModel" /> instances that match the specified <paramref name="personId" />. /// </returns> public static IEnumerable <Consensus.Common.ProfilePerson> FetchAllByPersonId(System.String personId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ProfilePerson.FetchAllByPersonId(site, personId)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ProfilePerson.GetTableName(site)); }
/// <summary> /// Retrieves all instances of the <see cref="!:ProfilePersonModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:ProfilePersonModel" /> instances. /// </returns> public static IEnumerable <Consensus.Common.ProfilePerson> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ProfilePerson.FetchAll(site)); }
/// <summary> /// Retrieves a specific <see cref="!:ProfilePersonModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:ProfilePersonModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:ProfilePersonModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Common.ProfilePerson FetchById(System.String id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ProfilePerson.FetchById(site, id)); }
/// <summary> /// Creates a new <see cref="!:ProfilePersonModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:ProfilePersonModel" /> instance. /// </returns> public static Consensus.Common.ProfilePerson Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ProfilePerson.Create(site)); }