public override void SetCodonType(ICodonIdentifier codonIdentifier, CodonType codonType)
 {
     Qry.Update(DM.Codon.CodonType, codonType.ToString())
         .Where(DM.Codon.Name, codonIdentifier.ToString())
         .Go();
 }
예제 #2
0
 public int CompareTo(ICodonIdentifier other)
 {
     return this.Identifier.CompareTo(other.ToString());
 }
 public override ICodon GetCodon(ICodonIdentifier codonIdentifier)
 {
     var codonRow = new CodonRow();
     Qry.SelectAllFrom(codonRow)
         .InnerJoinSelectingAllOn(codonRow.FunctionPairRowColumn)
         .Where(codonRow.NameColumn, codonIdentifier.ToString())
         .GoAndExtract(ref codonRow);
     return codonRow.ToGEPCodon(this);
 }