Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

23 rader
478 B

  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ModbusDemo.Model
  8. {
  9. public class ModbusDbContext:DbContext
  10. {
  11. protected ModbusDbContext()
  12. {
  13. }
  14. public ModbusDbContext(DbContextOptions<ModbusDbContext> options) :base(options)
  15. {
  16. }
  17. public DbSet<ModbusLog> ModbusLog { get; set; }
  18. }
  19. }