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.

21 rader
431 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. public ModbusDbContext(DbContextOptions<ModbusDbContext> options) :base(options)
  12. {
  13. }
  14. public DbSet<ModbusLog> ModbusLog { get; set; }
  15. }
  16. }