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