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

The feature repository.
Inheritance: IFeatureRepository
Afficher le fichier Open project: intervals-mining-lab/libiada-web Class Usage Examples

Méthodes publiques

Méthode 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 méthode

The dispose.
public Dispose ( ) : void
Résultat void

ExtractSequenceFeature() public méthode

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

FeatureExists() public méthode

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

FeatureRepository() public méthode

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

GetFeatureById() public méthode

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

GetFeatureIdByName() public méthode

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

GetFeaturesById() public méthode

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

GetSelectListWithNature() public méthode

The get select list with nature.
public GetSelectListWithNature ( ) : IEnumerable
Résultat IEnumerable

GetSelectListWithNature() public méthode

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

GetSelectListWithNature() public méthode

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

GetSelectListWithNature() public méthode

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

GetSelectListWithNature() public méthode

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