TqesDbContext.cs 404 B

1234567891011121314
  1. using Furion.DatabaseAccessor;
  2. using Microsoft.EntityFrameworkCore;
  3. using YBEE.EQM.Core;
  4. namespace YBEE.EQM.EntityFramework.Core;
  5. [AppDbContext("TQES", DbProvider.SqlServer)]
  6. public class TqesDbContext : AppDbContext<TqesDbContext, TqesDbContextLocator>
  7. {
  8. public TqesDbContext(DbContextOptions<TqesDbContext> options) : base(options)
  9. {
  10. InsertOrUpdateIgnoreNullValues = true;
  11. }
  12. }