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