全流程跑通啦~~框架完成基本功能增删改查

This commit is contained in:
橙子
2023-01-15 17:32:27 +08:00
parent f1e314fa13
commit 1314cf1c19
25 changed files with 296 additions and 80 deletions

View File

@@ -1,14 +1,16 @@
using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Core.Model;
namespace Yi.Framework.Ddd.Services
{
public abstract class ApplicationService
{
public IMapper _mapper { get; set; }
public IMapper _mapper { get => ServiceLocatorModel.Instance.GetRequiredService<IMapper>(); }
}
}