C# Class Rock.Model.DefinedValueService

Service/Data Access class for Rock.Model.DefinedValue entity objects.
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method 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 method

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.
return IOrderedQueryable

GetByDefinedTypeId() public method

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.
return IOrderedQueryable

GetByGuid() public method

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.
return DefinedValue

GetGuid() public method

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

GetIdByGuid() public method

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.
return int?