C# Class Rock.Model.DefinedValueService

Service/Data Access class for Rock.Model.DefinedValue entity objects.
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
GetByDefinedTypeGuid ( System.Guid definedTypeGuid ) : IOrderedQueryable

Returns an enumerable collection of Rock.Model.DefinedValue">DefinedValues that belong to a specified

GetByDefinedTypeId ( int definedTypeId ) : IOrderedQueryable

Returns an enumerable collection of Rock.Model.DefinedValue">DefinedValues that belong to a specified

GetByGuid ( Guid guid ) : DefinedValue

Returns a Rock.Model.DefinedValue by its Guid identifier.

GetGuid ( int id ) : Guid?

Gets the Guid for the DefinedValue that has the specified Id

GetIdByGuid ( Guid guid ) : int?

Returns a DefinedValueId of a Rock.Model.DefinedValue by its Guid.

Method Details

GetByDefinedTypeGuid() public méthode

Returns an enumerable collection of Rock.Model.DefinedValue">DefinedValues that belong to a specified
public GetByDefinedTypeGuid ( System.Guid definedTypeGuid ) : IOrderedQueryable
definedTypeGuid System.Guid A representing the Guid identifier of the to retrieve DefinedValues /// for.
Résultat IOrderedQueryable

GetByDefinedTypeId() public méthode

Returns an enumerable collection of Rock.Model.DefinedValue">DefinedValues that belong to a specified
public GetByDefinedTypeId ( int definedTypeId ) : IOrderedQueryable
definedTypeId int A representing the DefinedTypeId of the to retrieve DefinedValues for.
Résultat IOrderedQueryable

GetByGuid() public méthode

Returns a Rock.Model.DefinedValue by its Guid identifier.
public GetByGuid ( Guid guid ) : DefinedValue
guid Guid A representing the Guid identifier of the to retrieve.
Résultat DefinedValue

GetGuid() public méthode

Gets the Guid for the DefinedValue that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
Résultat Guid?

GetIdByGuid() public méthode

Returns a DefinedValueId of a Rock.Model.DefinedValue by its Guid.
public GetIdByGuid ( Guid guid ) : int?
guid Guid A representing the Guid identifier of the to retrieve the DefinedvalueId for.
Résultat int?