25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
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. }