首页 > TAG信息列表 > fjxw

.net core 连接mysql 四:建立 ISysUserRepository

  using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using fjxw.model;namespace fjxw.dal{ public interface ISysUserRepository:IDisposable { IEnumerable<sysuser> GetUsers();

.net core 连接mysql 八:HomeController注入ISysUserRepository

    using fjxw.echarge.Models;using Microsoft.AspNetCore.Mvc;using Microsoft.Extensions.Logging;using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Threading.Tasks;using fjxw.model;using fjxw.dal;namespace