Ejemplo n.º 1
0
 /// <summary>
 /// Constructs an instance of this NucleotideRowSerializableContainer from the given NucleotideRow.
 /// </summary>
 /// <param name="nucleotideRow">The name of the Nucleotide.</param>
 public NucleotideRowSerializableContainer(global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRows.NucleotideRow nucleotideRow)
     : this()
 {
     this.PK_NucleotideID = nucleotideRow.PK_NucleotideID;
     this.Name = nucleotideRow.Name;
     this.GeneticCode = nucleotideRow.GeneticCode;
     if (!nucleotideRow.IsGeneticCodeRowNull)
         this.GeneticCodeRowSerializableContainer = new global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRowSerializableContainers.GeneticCodeRowSerializableContainer(nucleotideRow.GeneticCodeRow);
     if (!nucleotideRow.IsForeignKeyRow_CodonNucleotide_NucleotideRowNull)
         this.ForeignKeyRow_CodonNucleotide_NucleotideRowSerializableContainer = new global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRowSerializableContainers.CodonNucleotideRowSerializableContainer(nucleotideRow.ForeignKeyRow_CodonNucleotide_NucleotideRow);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs an instance of this CodonRowSerializableContainer from the given CodonRow.
 /// </summary>
 /// <param name="codonRow">A Codon in the Genetic Code.</param>
 public CodonRowSerializableContainer(global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRows.CodonRow codonRow)
     : this()
 {
     this.PK_CodonID = codonRow.PK_CodonID;
     this.Name = codonRow.Name;
     this.GeneticCode = codonRow.GeneticCode;
     this.FunctionPair = codonRow.FunctionPair;
     this.CodonType = codonRow.CodonType;
     if (!codonRow.IsGeneticCodeRowNull)
         this.GeneticCodeRowSerializableContainer = new global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRowSerializableContainers.GeneticCodeRowSerializableContainer(codonRow.GeneticCodeRow);
     if (!codonRow.IsFunctionPairRowNull)
         this.FunctionPairRowSerializableContainer = new global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRowSerializableContainers.FunctionPairRowSerializableContainer(codonRow.FunctionPairRow);
     if (!codonRow.IsForeignKeyRow_CodonNucleotide_CodonRowNull)
         this.ForeignKeyRow_CodonNucleotide_CodonRowSerializableContainer = new global::GeneticFaradayDatabaseLibrary.GeneticFaradayDatabase.StrongRowSerializableContainers.CodonNucleotideRowSerializableContainer(codonRow.ForeignKeyRow_CodonNucleotide_CodonRow);
 }