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

The feature repository.
Inheritance: IFeatureRepository
Exibir arquivo Open project: intervals-mining-lab/libiada-web Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

The dispose.

ExtractSequenceFeature ( Bio.IO.GenBank.GenBankMetadata metadata ) : int

Extracts sequence feature.

FeatureExists ( string name ) : bool

Checks if feature exists.

FeatureRepository ( LibiadaWebEntities db ) : System

Initializes a new instance of the FeatureRepository class.

GetFeatureById ( int featureId ) : Feature

Gets feature by its id.

GetFeatureIdByName ( string name ) : int

Gets feature id by name.

GetFeaturesById ( int featureIds ) : IEnumerable

The get features by id.

GetSelectListWithNature ( ) : IEnumerable

The get select list with nature.

GetSelectListWithNature ( IEnumerable selectedFeatures ) : IEnumerable

The get select list with nature.

GetSelectListWithNature ( IEnumerable featureIds, IEnumerable selectedFeatures ) : IEnumerable

The get select list with nature.

GetSelectListWithNature ( IEnumerable featureIds, int selectedFeature ) : IEnumerable

The get select list with nature.

GetSelectListWithNature ( int selectedFeature ) : IEnumerable

The get select list with nature.

Method Details

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

ExtractSequenceFeature() public method

Extracts sequence feature.
public ExtractSequenceFeature ( Bio.IO.GenBank.GenBankMetadata metadata ) : int
metadata Bio.IO.GenBank.GenBankMetadata /// The metadata. ///
return int

FeatureExists() public method

Checks if feature exists.
public FeatureExists ( string name ) : bool
name string /// The name of feature. ///
return bool

FeatureRepository() public method

Initializes a new instance of the FeatureRepository class.
public FeatureRepository ( LibiadaWebEntities db ) : System
db LibiadaWebEntities /// The db. ///
return System

GetFeatureById() public method

Gets feature by its id.
public GetFeatureById ( int featureId ) : Feature
featureId int /// The feature id. ///
return Feature

GetFeatureIdByName() public method

Gets feature id by name.
/// Thrown if feature type is unknown. ///
public GetFeatureIdByName ( string name ) : int
name string /// The name. ///
return int

GetFeaturesById() public method

The get features by id.
public GetFeaturesById ( int featureIds ) : IEnumerable
featureIds int /// The feature ids. ///
return IEnumerable

GetSelectListWithNature() public method

The get select list with nature.
public GetSelectListWithNature ( ) : IEnumerable
return IEnumerable

GetSelectListWithNature() public method

The get select list with nature.
public GetSelectListWithNature ( IEnumerable selectedFeatures ) : IEnumerable
selectedFeatures IEnumerable /// The selected features. ///
return IEnumerable

GetSelectListWithNature() public method

The get select list with nature.
public GetSelectListWithNature ( IEnumerable featureIds, IEnumerable selectedFeatures ) : IEnumerable
featureIds IEnumerable /// The features. ///
selectedFeatures IEnumerable /// The selected features. ///
return IEnumerable

GetSelectListWithNature() public method

The get select list with nature.
public GetSelectListWithNature ( IEnumerable featureIds, int selectedFeature ) : IEnumerable
featureIds IEnumerable /// The features. ///
selectedFeature int /// The selected Feature. ///
return IEnumerable

GetSelectListWithNature() public method

The get select list with nature.
public GetSelectListWithNature ( int selectedFeature ) : IEnumerable
selectedFeature int /// The selected feature. ///
return IEnumerable