using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; namespace Dilon.Core { /// /// 系统应用表种子数据 /// public class SysAppSeedData : IEntitySeedData { /// /// 种子数据 /// /// /// /// public IEnumerable HasData(DbContext dbContext, Type dbContextLocator) { return new[] { new SysApp{Id=142307070922869, Name="业务应用", Code="busapp", Active="N", Status=0, Sort=100 }, new SysApp{Id=142307070898245, Name="系统管理", Code="system", Active="Y", Status=0, Sort=100 }, new SysApp{Id=142307070902341, Name="系统工具", Code="system_tool", Active="N", Status=0, Sort=100 }, new SysApp{Id=142307070922826, Name="高级功能", Code="advanced", Active="N", Status=0, Sort=100 } }; } } }