using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; namespace YBEE.EQM.Core.SeedData; /// /// 角色用户种子 /// public class SysRoleUserSeedData : IEntitySeedData { /// /// 种子数据 /// /// /// /// public IEnumerable HasData(DbContext dbContext, Type dbContextLocator) { return new[] { new SysRoleUser { Id = 1, SysRoleId = 1, SysUserId = 2 }, }; } }