C# Class Rock.Model.SiteDomainService

SiteDomain data access/service class.
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
GetByDomain ( string domain ) : SiteDomain

Returns a Rock.Model.SiteDomain by Domain.

GetByDomainContained ( string domain ) : SiteDomain

Returns the first matching of SiteDomains where the domain property contains the provided string.

GetBySiteId ( int siteId ) : IQueryable

Returns an enumerable collection of Rock.Model.SiteDomain">SiteDomains the Id of the

GetBySiteIdAndDomain ( int siteId, string domain ) : IQueryable

Returns an enumerable list of Rock.Model.SiteDomain entities by the Id of the Rock.Model.Site and domain name.

Method Details

GetByDomain() public method

Returns a Rock.Model.SiteDomain by Domain.
public GetByDomain ( string domain ) : SiteDomain
domain string A containing a domain/URL to search by.
return SiteDomain

GetByDomainContained() public method

Returns the first matching of SiteDomains where the domain property contains the provided string.
public GetByDomainContained ( string domain ) : SiteDomain
domain string A containing a partial domain name to search by.
return SiteDomain

GetBySiteId() public method

Returns an enumerable collection of Rock.Model.SiteDomain">SiteDomains the Id of the
public GetBySiteId ( int siteId ) : IQueryable
siteId int An that contains the Id a to search by.
return IQueryable

GetBySiteIdAndDomain() public method

Returns an enumerable list of Rock.Model.SiteDomain entities by the Id of the Rock.Model.Site and domain name.
public GetBySiteIdAndDomain ( int siteId, string domain ) : IQueryable
siteId int An containing the Id of the to search by.
domain string A containing the domain to search by.
return IQueryable