全局处理问题:public static Model.SGGLDB db = Funs.DB;
This commit is contained in:
@@ -9,7 +9,7 @@ namespace BLL
|
||||
{
|
||||
public class DataTypeProjectService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
@@ -23,7 +23,7 @@ namespace BLL
|
||||
/// <summary>
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.DataBase_DataTypeProject> qq = from x in db.DataBase_DataTypeProject orderby x.SortIndex select x;
|
||||
private static IQueryable<Model.DataBase_DataTypeProject> qq = from x in Funs.DB.DataBase_DataTypeProject orderby x.SortIndex select x;
|
||||
|
||||
/// <summary>
|
||||
/// 获取项目列表
|
||||
|
||||
Reference in New Issue
Block a user