C# Class LibiadaWeb.Models.Repositories.Sequences.DnaSequenceRepository

The DNA sequence repository.
Inheritance: SequenceImporter, IDnaSequenceRepository
Afficher le fichier Open project: intervals-mining-lab/libiada-web Class Usage Examples

Méthodes publiques

Méthode Description
Create ( CommonSequence sequence, ISequence fastaSequence, bool partial ) : void

The create DNA sequence.

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

The insert.

Dispose ( ) : void

The dispose.

DnaSequenceRepository ( LibiadaWebEntities db ) : System

Initializes a new instance of the DnaSequenceRepository class.

Insert ( DnaSequence sequence, long alphabet, int building ) : void

The insert.

Private Methods

Méthode Description
ToCommonSequence ( DnaSequence source ) : CommonSequence

The to sequence.

Method Details

Create() public méthode

The create DNA sequence.
/// Thrown if at least one element of new sequence is missing in db /// or if sequence is empty or invalid. ///
public Create ( CommonSequence sequence, ISequence fastaSequence, bool partial ) : void
sequence CommonSequence /// The common sequence. ///
fastaSequence ISequence /// Sequence as >. ///
partial bool /// The partial. ///
Résultat void

Create() public méthode

The insert.
public Create ( CommonSequence sequence, bool partial, long alphabet, int building ) : void
sequence CommonSequence /// The sequence. ///
partial bool /// The partial. ///
alphabet long /// The alphabet. ///
building int /// The building. ///
Résultat void

Dispose() public méthode

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

DnaSequenceRepository() public méthode

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

Insert() public méthode

The insert.
public Insert ( DnaSequence sequence, long alphabet, int building ) : void
sequence DnaSequence /// The sequence. ///
alphabet long /// The alphabet. ///
building int /// The building. ///
Résultat void