示例#1
0
 internal ValueGroupTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mSortCode = myRow[dbconf.ValueGroupLang2.SortCodeCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mSortCode = myRow[dbconf.ValueGroup.SortCodeCol.Label()].ToString();
     }
 }
示例#2
0
 internal GroupingLevelTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mLevelText = myRow[dbconf.GroupingLevelLang2.LevelTextCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mLevelText = myRow[dbconf.GroupingLevel.LevelTextCol.Label()].ToString();
     }
 }
示例#3
0
 internal VariableTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText = myRow[dbconf.VariableLang2.PresTextCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText = myRow[dbconf.Variable.PresTextCol.Label()].ToString();
     }
 }
示例#4
0
 public RelevantFoonotesTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mFootNotetext = myRow[dbconf.FootnoteLang2.FootnoteTextCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mFootNotetext = myRow[dbconf.Footnote.FootnoteTextCol.Label()].ToString();
     }
 }
示例#5
0
 internal ValueSetTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText    = myRow[dbconf.ValueSetLang2.PresTextCol.Label(languageCode)].ToString();
         this.mDescription = myRow[dbconf.ValueSetLang2.DescriptionCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText    = myRow[dbconf.ValueSet.PresTextCol.Label()].ToString();
         this.mDescription = myRow[dbconf.ValueSet.DescriptionCol.Label()].ToString();
     }
 }
示例#6
0
 internal ValuePoolTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mValuePoolAlias = myRow[dbconf.ValuePoolLang2.ValuePoolAliasCol.Label(languageCode)].ToString();
         this.mPresText       = myRow[dbconf.ValuePoolLang2.PresTextCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mValuePoolAlias = myRow[dbconf.ValuePool.ValuePoolAliasCol.Label()].ToString();
         this.mPresText       = myRow[dbconf.ValuePool.PresTextCol.Label()].ToString();
     }
 }
示例#7
0
 internal GroupingTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText = myRow[dbconf.GroupingLang2.PresTextCol.Label(languageCode)].ToString();
         this.mSortCode = myRow[dbconf.GroupingLang2.SortCodeCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText = myRow[dbconf.Grouping.PresTextCol.Label()].ToString();
         this.mSortCode = myRow[dbconf.Grouping.SortCodeCol.Label()].ToString();
     }
 }
示例#8
0
 internal SpecialCharacterTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresCharacter = myRow[dbconf.SpecialCharacterLang2.PresCharacterCol.Label(languageCode)].ToString();
         this.mPresText      = myRow[dbconf.SpecialCharacterLang2.PresTextCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresCharacter = myRow[dbconf.SpecialCharacter.PresCharacterCol.Label()].ToString();
         this.mPresText      = myRow[dbconf.SpecialCharacter.PresTextCol.Label()].ToString();
     }
 }
示例#9
0
 internal TextCatalogTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mTextType    = myRow[dbconf.TextCatalogLang2.TextTypeCol.Label(languageCode)].ToString();
         this.mPresText    = myRow[dbconf.TextCatalogLang2.PresTextCol.Label(languageCode)].ToString();
         this.mDescription = myRow[dbconf.TextCatalogLang2.DescriptionCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mTextType    = myRow[dbconf.TextCatalog.TextTypeCol.Label()].ToString();
         this.mPresText    = myRow[dbconf.TextCatalog.PresTextCol.Label()].ToString();
         this.mDescription = myRow[dbconf.TextCatalog.DescriptionCol.Label()].ToString();
     }
 }
示例#10
0
 internal ValueTextHM(DataRow mRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     {
         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();
         }
     }
 }
示例#11
0
 internal OrganizationTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mOrganizationName = myRow[dbconf.OrganizationLang2.OrganizationNameCol.Label(languageCode)].ToString();
         this.mDepartment       = myRow[dbconf.OrganizationLang2.DepartmentCol.Label(languageCode)].ToString();
         this.mUnit             = myRow[dbconf.OrganizationLang2.UnitCol.Label(languageCode)].ToString();
         this.mWebAddress       = myRow[dbconf.OrganizationLang2.WebAddressCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mOrganizationName = myRow[dbconf.Organization.OrganizationNameCol.Label()].ToString();
         this.mDepartment       = myRow[dbconf.Organization.DepartmentCol.Label()].ToString();
         this.mUnit             = myRow[dbconf.Organization.UnitCol.Label()].ToString();
         this.mWebAddress       = myRow[dbconf.Organization.WebAddressCol.Label()].ToString();
     }
 }
示例#12
0
 internal MenuSelectionTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText     = myRow[dbconf.MenuSelectionLang2.PresTextCol.Label(languageCode)].ToString();
         this.mPresTextS    = myRow[dbconf.MenuSelectionLang2.PresTextSCol.Label(languageCode)].ToString();
         this.mDescription  = myRow[dbconf.MenuSelectionLang2.DescriptionCol.Label(languageCode)].ToString();
         this.mSortCode     = myRow[dbconf.MenuSelectionLang2.SortCodeCol.Label(languageCode)].ToString();
         this.mPresentation = myRow[dbconf.MenuSelectionLang2.PresentationCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText     = myRow[dbconf.MenuSelection.PresTextCol.Label()].ToString();
         this.mPresTextS    = myRow[dbconf.MenuSelection.PresTextSCol.Label()].ToString();
         this.mDescription  = myRow[dbconf.MenuSelection.DescriptionCol.Label()].ToString();
         this.mSortCode     = myRow[dbconf.MenuSelection.SortCodeCol.Label()].ToString();
         this.mPresentation = myRow[dbconf.MenuSelection.PresentationCol.Label()].ToString();
     }
 }
示例#13
0
 internal ContentsTexts(DataRow myRow, SqlDbConfig_24 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText   = myRow[dbconf.ContentsLang2.PresTextCol.Label(languageCode)].ToString();
         this.mPresTextS  = myRow[dbconf.ContentsLang2.PresTextSCol.Label(languageCode)].ToString();
         this.mUnit       = myRow[dbconf.ContentsLang2.UnitCol.Label(languageCode)].ToString();
         this.mRefPeriod  = myRow[dbconf.ContentsLang2.RefPeriodCol.Label(languageCode)].ToString();
         this.mBasePeriod = myRow[dbconf.ContentsLang2.BasePeriodCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText   = myRow[dbconf.Contents.PresTextCol.Label()].ToString();
         this.mPresTextS  = myRow[dbconf.Contents.PresTextSCol.Label()].ToString();
         this.mUnit       = myRow[dbconf.Contents.UnitCol.Label()].ToString();
         this.mRefPeriod  = myRow[dbconf.Contents.RefPeriodCol.Label()].ToString();
         this.mBasePeriod = myRow[dbconf.Contents.BasePeriodCol.Label()].ToString();
     }
 }