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