C# Класс LibiadaWeb.Models.Repositories.Sequences.CommonSequenceRepository

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

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

Метод Описание
CommonSequenceRepository ( LibiadaWebEntities db ) : System.Collections.Generic

Initializes a new instance of the CommonSequenceRepository class.

Create ( CommonSequence sequence, long alphabet, int building ) : void

The insert.

Dispose ( ) : void

The dispose.

GetChains ( long matterIds, int notationIds, int languageIds, int translatorIds ) : LibiadaCore.Core.Chain[][]

Extracts sequences from database.

GetElements ( long sequenceId ) : List

The get elements.

GetNucleotideChains ( long matterIds ) : LibiadaCore.Core.Chain[]

Extracts nucleotide sequences from database.

ToLibiadaBaseChain ( long sequenceId ) : BaseChain

The to libiada BaseChain.

ToLibiadaChain ( long sequenceId ) : Chain

The to libiada Chain.

Приватные методы

Метод Описание
GetAlphabet ( long sequenceId ) : Alphabet

The get alphabet.

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

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

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

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

The insert.
public Create ( CommonSequence sequence, long alphabet, int building ) : void
sequence CommonSequence /// The sequence. ///
alphabet long /// The alphabet. ///
building int /// The building. ///
Результат void

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

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

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

Extracts sequences from database.
public GetChains ( long matterIds, int notationIds, int languageIds, int translatorIds ) : LibiadaCore.Core.Chain[][]
matterIds long /// The matter ids. ///
notationIds int /// The notation ids. ///
languageIds int /// The language ids. ///
translatorIds int /// The translator ids. ///
Результат LibiadaCore.Core.Chain[][]

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

The get elements.
public GetElements ( long sequenceId ) : List
sequenceId long /// The sequence id. ///
Результат List

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

Extracts nucleotide sequences from database.
public GetNucleotideChains ( long matterIds ) : LibiadaCore.Core.Chain[]
matterIds long /// The matter ids. ///
Результат LibiadaCore.Core.Chain[]

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

The to libiada BaseChain.
public ToLibiadaBaseChain ( long sequenceId ) : BaseChain
sequenceId long /// The sequence id. ///
Результат LibiadaCore.Core.BaseChain

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

The to libiada Chain.
public ToLibiadaChain ( long sequenceId ) : Chain
sequenceId long /// The sequence id. ///
Результат LibiadaCore.Core.Chain