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