Beispiel #1
0
 public static void InitOrderBLL()
 {
     using (FBEntityBLL bll = new FBEntityBLL())
     {
         listOrderCode = bll.GetTable <T_FB_ORDERCODE>().ToList();
     }
 }
Beispiel #2
0
        public static T_FB_SYSTEMSETTINGS GetSetting(QueryExpression qe)
        {
            try
            {
                if (etityT_FB_SYSTEMSETTINGS == null)
                {
                    using (FBEntityBLL bll = new FBEntityBLL())
                    {
                        etityT_FB_SYSTEMSETTINGS = bll.GetTable<T_FB_SYSTEMSETTINGS>().FirstOrDefault();
                    }
                }
                etityT_FB_SYSTEMSETTINGS.Settings = Settings;

                return etityT_FB_SYSTEMSETTINGS;
            }
            catch (Exception ex)
            {
                Tracer.Debug("获取预算初始化信息出错,出错信息:" + ex.ToString());
                throw ex;
            }
        }
Beispiel #3
0
        public static T_FB_SYSTEMSETTINGS GetSetting(QueryExpression qe)
        {
            try
            {
                if (etityT_FB_SYSTEMSETTINGS == null)
                {
                    using (FBEntityBLL bll = new FBEntityBLL())
                    {
                        etityT_FB_SYSTEMSETTINGS = bll.GetTable <T_FB_SYSTEMSETTINGS>().FirstOrDefault();
                    }
                }
                etityT_FB_SYSTEMSETTINGS.Settings = Settings;

                return(etityT_FB_SYSTEMSETTINGS);
            }
            catch (Exception ex)
            {
                Tracer.Debug("获取预算初始化信息出错,出错信息:" + ex.ToString());
                throw ex;
            }
        }
Beispiel #4
0
 public static void InitOrderBLL()
 {
     using (FBEntityBLL bll = new FBEntityBLL())
     {
         listOrderCode = bll.GetTable<T_FB_ORDERCODE>().ToList();
     }
 }