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