C# Class LibiadaWeb.Models.Repositories.Catalogs.AttributeRepository

The attribute repository.
Inheritance: IAttributeRepository
Show file Open project: intervals-mining-lab/libiada-web Class Usage Examples

Public Methods

Method Description
AttributeRepository ( ) : System

Initializes a new instance of the AttributeRepository class.

Dispose ( ) : void

The dispose.

GetAttributeByName ( string name ) : LibiadaWeb.Attribute

Gets attribute by name.

GetAttributeNameById ( int id ) : string

Gets attribute name by id.

Method Details

AttributeRepository() public method

Initializes a new instance of the AttributeRepository class.
public AttributeRepository ( ) : System
return System

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

GetAttributeByName() public method

Gets attribute by name.
/// Thrown if attribute with given name is not found. ///
public GetAttributeByName ( string name ) : LibiadaWeb.Attribute
name string /// The name. ///
return LibiadaWeb.Attribute

GetAttributeNameById() public method

Gets attribute name by id.
/// Thrown if attribute with given id is not found. ///
public GetAttributeNameById ( int id ) : string
id int /// The id. ///
return string