• 大小: 35.87M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: MVC  EF  Spring  

资源简介

数据库脚本再 DataModel.edmx.sql

资源截图

代码片段和文件信息

using Sun.OA.DALFactory;
using Sun.OA.IDAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.expressions;
using System.Text;
using System.Threading.Tasks;

namespace Sun.OA.BLL
{
    public abstract class baseService where T : classnew()
    {
        public IbaseDal currentDal { get; set; }

        public IDbSession DbSession
        {
            get
            {
                return DbSessionFactory.GetCurrentDbSession();
            }
        }

        public baseService()
        {
            SetCurrentDal();
        }

        public abstract void SetCurrentDal();


        #region 查询

        public IQueryable GetEntities(expression> lambdaWhere)
        {
            return currentDal.GetEntities(lambdaWhere);
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-07-28 07:59  Sun.OA-master\
     文件       35141  2017-07-28 07:59  Sun.OA-master\LICENSE
     文件         101  2017-07-28 07:59  Sun.OA-master\README.md
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\
     文件        1884  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\baseService.cs
     文件         818  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\ControllerSprinNetxml.tt
     文件         283  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\ControllerSprinNetxml.xml
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\Properties\
     文件        1326  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\Properties\AssemblyInfo.cs
     文件         744  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\ServiceSprinNetxml.tt
     文件         216  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\ServiceSprinNetxml.xml
     文件         452  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\Services.cs
     文件         996  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\Services.tt
     文件        4870  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\Sun.OA.BLL.csproj
     文件        1266  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\UserInfoService.cs
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\
     文件        7359  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TempPE\
     文件        3072  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TempPE\ControllerSprinNetxml.xml.dll
     文件        3072  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TempPE\ServiceSprinNetxml.xml.dll
     文件        3072  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TempPE\Services.cs.dll
     文件           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.BLL\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.Common\
     目录           0  2017-07-28 07:59  Sun.OA-master\Sun.OA.Common\Cache\
     文件        1344  2017-07-28 07:59  Sun.OA-master\Sun.OA.Common\Cache\CacheHelper.cs
     文件        1136  2017-07-28 07:59  Sun.OA-master\Sun.OA.Common\Cache\HttpRunTimeCacheWriter.cs
     文件         517  2017-07-28 07:59  Sun.OA-master\Sun.OA.Common\Cache\ICacheWriter.cs
     文件        1916  2017-07-28 07:59  Sun.OA-master\Sun.OA.Common\Cache\MemcacheWriter.cs
............此处省略1483个文件信息

评论

共有 条评论