using iWareCommon.Common.Service;
|
using iWareCommon.Utils;
|
using iWareDataCore.BASE.Dao;
|
using iWareDataCore.BASE.Entity;
|
using iWareDataCore.ORM;
|
using iWareDataCore.Properties;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace iWareDataCore.BASE.Service
|
{
|
public class PlaceTypeViewService : CommonService<PlaceTypeViewEntity, BASEPlaceTypeView, DbModelCore>
|
{
|
|
private static object Lock = new object();
|
|
private PlaceTypeViewService() : base(PlaceTypeViewDao.GetInstance()) { }
|
|
private static PlaceTypeViewService Instance = null;
|
|
/// <summary>
|
/// 获取单例的方法
|
/// </summary>
|
/// <returns>角色服务的单例实体</returns>
|
public static PlaceTypeViewService GetInstance()
|
{
|
|
if (Instance == null)
|
{
|
lock (Lock)
|
{
|
if (Instance == null)
|
{
|
Instance = new PlaceTypeViewService();
|
}
|
}
|
}
|
return Instance;
|
}
|
|
|
|
|
|
}
|
}
|