C# Класс LibiadaWeb.Models.Repositories.Catalogs.FeatureRepository

The feature repository.
Наследование: IFeatureRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Dispose() публичный Метод

The dispose.
public Dispose ( ) : void
Результат void

ExtractSequenceFeature() публичный Метод

Extracts sequence feature.
public ExtractSequenceFeature ( Bio.IO.GenBank.GenBankMetadata metadata ) : int
metadata Bio.IO.GenBank.GenBankMetadata /// The metadata. ///
Результат int

FeatureExists() публичный Метод

Checks if feature exists.
public FeatureExists ( string name ) : bool
name string /// The name of feature. ///
Результат bool

FeatureRepository() публичный Метод

Initializes a new instance of the FeatureRepository class.
public FeatureRepository ( LibiadaWebEntities db ) : System
db LibiadaWebEntities /// The db. ///
Результат System

GetFeatureById() публичный Метод

Gets feature by its id.
public GetFeatureById ( int featureId ) : Feature
featureId int /// The feature id. ///
Результат Feature

GetFeatureIdByName() публичный Метод

Gets feature id by name.
/// Thrown if feature type is unknown. ///
public GetFeatureIdByName ( string name ) : int
name string /// The name. ///
Результат int

GetFeaturesById() публичный Метод

The get features by id.
public GetFeaturesById ( int featureIds ) : IEnumerable
featureIds int /// The feature ids. ///
Результат IEnumerable

GetSelectListWithNature() публичный Метод

The get select list with nature.
public GetSelectListWithNature ( ) : IEnumerable
Результат IEnumerable

GetSelectListWithNature() публичный Метод

The get select list with nature.
public GetSelectListWithNature ( IEnumerable selectedFeatures ) : IEnumerable
selectedFeatures IEnumerable /// The selected features. ///
Результат IEnumerable

GetSelectListWithNature() публичный Метод

The get select list with nature.
public GetSelectListWithNature ( IEnumerable featureIds, IEnumerable selectedFeatures ) : IEnumerable
featureIds IEnumerable /// The features. ///
selectedFeatures IEnumerable /// The selected features. ///
Результат IEnumerable

GetSelectListWithNature() публичный Метод

The get select list with nature.
public GetSelectListWithNature ( IEnumerable featureIds, int selectedFeature ) : IEnumerable
featureIds IEnumerable /// The features. ///
selectedFeature int /// The selected Feature. ///
Результат IEnumerable

GetSelectListWithNature() публичный Метод

The get select list with nature.
public GetSelectListWithNature ( int selectedFeature ) : IEnumerable
selectedFeature int /// The selected feature. ///
Результат IEnumerable