public static string GetValue(string GSCode) { OanTechHelper entCommon = new OanTechHelper(MyEntities.Common); GeneralSetting value = entCommon.Resolve <GeneralSetting>().Get(x => x.GSCode == GSCode); return(value.GSValue.ToString()); }
public static string GetValue(string GSCode) { OanTechHelper entCommon = new OanTechHelper(MyEntities.Common); GeneralSetting value = entCommon.Resolve <GeneralSetting>().Get(x => x.GSCode == GSCode); return(value.GSValue.ToString()); }