Exemplo n.º 1
0
 public RelevantFoonotesTexts(DataRow myRow, SqlDbConfig_21 dbconf, String languageCode, string metaModel)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mFootNotetext = myRow[dbconf.FootnoteLang2.Alias + dbconf.GetMetaSuffix(languageCode) + "_" + dbconf.FootnoteLang2.FootnoteText].ToString();
     }
     else
     {
         this.mFootNotetext = myRow[dbconf.Footnote.Alias + "_" + dbconf.Footnote.FootnoteText].ToString();
     }
 }
Exemplo n.º 2
0
 internal ValueText(DataRow mRow, SqlDbConfig_21 dbconf, String languageCode, IMetaVersionComparator metaModel)
 {
     {
         if (dbconf.isSecondaryLanguage(languageCode))
         {
             this.mValueTextS = mRow[dbconf.ValueLang2.ValueTextSCol.Label(languageCode)].ToString();
             this.mValueTextL = mRow[dbconf.ValueLang2.ValueTextLCol.Label(languageCode)].ToString();
             this.mSortCode   = mRow[dbconf.ValueLang2.SortCodeCol.Label(languageCode)].ToString();
         }
         else
         {
             this.mValueTextS = mRow[dbconf.Value.ValueTextSCol.Label()].ToString();
             this.mValueTextL = mRow[dbconf.Value.ValueTextLCol.Label()].ToString();
             this.mSortCode   = mRow[dbconf.Value.SortCodeCol.Label()].ToString();
         }
     }
 }