static void Main(string[] args) { Console.WriteLine("Hello World!"); using (AeDbContext context = new AeDbContext()) { context.SysUsers.Add(new Ator.Entity.Sys.SysUser() { Email = "*****@*****.**", UserName = "******", Password = "******", }); context.SaveChanges(); Console.ReadKey(); } }
public SysDictionaryRepository(AeDbContext context) : base(context) { }
public SysOperateRecordRepository(AeDbContext context) : base(context) { }
public SysUserRepository(AeDbContext context) : base(context) { }
public ProvinceRepository(AeDbContext context) : base(context) { }
public OrderDetailRepository(AeDbContext context) : base(context) { }
public UnitOfWork(AeDbContext context) { _context = context; }
public SysCmsInfoCommentRepository(AeDbContext context) : base(context) { }
public UnitOfWork(AeDbContext dbContext) { DbContext = dbContext; }
public Repository(AeDbContext context) => _context = context;
public ProductRepository(AeDbContext context) : base(context) { }
public SysSettingRepository(AeDbContext context) : base(context) { }
public WardRepository(AeDbContext context) : base(context) { }
public SysCmsColumnRepository(AeDbContext context) : base(context) { }
public ShippingRepository(AeDbContext context) : base(context) { }
public PostRepository(AeDbContext context) : base(context) { }
public SysLinkTypeRepository(AeDbContext context) : base(context) { }
public SysRolePageRepository(AeDbContext context) : base(context) { }
public RepositoryBase(AeDbContext context) { DbContext = context; _dbSet = DbContext.Set <T>(); }
public DiscountRepository(AeDbContext context) : base(context) { }
public SysLinkItemRepository(AeDbContext context) : base(context) { }
public ShippingProviderRepository(AeDbContext context) : base(context) { }
public SysCmsInfoGoodRepository(AeDbContext context) : base(context) { }
public PaymentRepository(AeDbContext context) : base(context) { }
public PostCategoryRepository(AeDbContext context) : base(context) { }
public DistrictRepository(AeDbContext context) : base(context) { }