예제 #1
0
파일: FootnoteRow.cs 프로젝트: trygu/PxWeb
 internal FootnoteTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #2
0
파일: VSValueRow.cs 프로젝트: trygu/PxWeb
 internal VSValueTexts(DataRow myRow, SqlDbConfig_22 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mSortCode = myRow[dbconf.VSValueLang2.SortCodeCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mSortCode = myRow[dbconf.VSValue.SortCodeCol.Label()].ToString();
     }
 }
예제 #3
0
파일: SubTableRow.cs 프로젝트: trygu/PxWeb
 internal SubTableTexts(DataRow myRow, SqlDbConfig_22 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText = myRow[dbconf.SubTableLang2.PresTextCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText = myRow[dbconf.SubTable.PresTextCol.Label()].ToString();
     }
 }
예제 #4
0
 internal GroupingLevelTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #5
0
파일: ValueSetRow.cs 프로젝트: trygu/PxWeb
 internal ValueSetTexts(DataRow myRow, SqlDbConfig_22 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 SpecialCharacterTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #7
0
파일: ValuePoolRow.cs 프로젝트: trygu/PxWeb
 internal ValuePoolTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #8
0
 internal ValueGroupTexts(DataRow myRow, SqlDbConfig_22 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mValuePool = myRow[dbconf.ValueGroupLang2.ValuePoolCol.Label(languageCode)].ToString();
         this.mSortCode  = myRow[dbconf.ValueGroupLang2.SortCodeCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mValuePool = myRow[dbconf.ValueGroup.ValuePoolCol.Label()].ToString();
         this.mSortCode  = myRow[dbconf.ValueGroup.SortCodeCol.Label()].ToString();
     }
 }
예제 #9
0
 internal GroupingTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #10
0
 internal OrganizationTexts(DataRow myRow, SqlDbConfig_22 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();
     }
     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();
     }
 }
예제 #11
0
 internal TextCatalogTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #12
0
 internal MainTableTexts(DataRow myRow, SqlDbConfig_22 dbconf, String languageCode)
 {
     if (dbconf.isSecondaryLanguage(languageCode))
     {
         this.mPresText         = myRow[dbconf.MainTableLang2.PresTextCol.Label(languageCode)].ToString();
         this.mPresTextS        = myRow[dbconf.MainTableLang2.PresTextSCol.Label(languageCode)].ToString();
         this.mContentsVariable = myRow[dbconf.MainTableLang2.ContentsVariableCol.Label(languageCode)].ToString();
     }
     else
     {
         this.mPresText         = myRow[dbconf.MainTable.PresTextCol.Label()].ToString();
         this.mPresTextS        = myRow[dbconf.MainTable.PresTextSCol.Label()].ToString();
         this.mContentsVariable = myRow[dbconf.MainTable.ContentsVariableCol.Label()].ToString();
     }
 }
예제 #13
0
 internal ValueText(DataRow mRow, SqlDbConfig_22 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();
         }
     }
 }
예제 #14
0
파일: ContentsRow.cs 프로젝트: trygu/PxWeb
 internal ContentsTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }
예제 #15
0
 internal MenuSelectionTexts(DataRow myRow, SqlDbConfig_22 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();
     }
 }