using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Weiferl.Databas.EF.Models; namespace Weiferl.Databas.EF; public partial class WeiferlDb : DbContext { public WeiferlDb() { } public WeiferlDb(DbContextOptions options) : base(options) { } public virtual DbSet Users { get; set; } public virtual DbSet Countries { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => optionsBuilder.UseMySql("server=192.168.0.252;port=3306;database=weiferl_db;uid=root;pwd=op3iv2dbym", ServerVersion.Parse("10.11.4-mariadb")); protected override void OnModelCreating(ModelBuilder modelBuilder) { } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); }