Releases1
Frequency
Last Release
Пакеты Microsoft.EntityFrameworkCore.Proxies Microsoft.EntityFrameworkCore.Tools Pomelo.EntityFrameworkCore.MySql Подключение dotnet tool install --global dotnet-ef --version 5.0.0 cd ./WpfApp6 dotnet ef dbcontext scaffold "server=localhost;user=root;password=2580;database=trade" "Pomelo.EntityFrameworkCore.MySql" --output-dir Models using название проекта.Models; Models context public static sakilaContext context { get; } = new sakilaContext(); public static CafeManagementContext _context; public static CafeManagementContext GetContext() { if (_context == null) _context = new CafeManagementContext(); return _context; } Models User public string FIO { get { Employee emp = App.context.Employees.ToList().Find(u => u.UserId == UserId); return $"{emp.FirstName} {emp.LastName}"; } } public string Id { get { Employee emp = App.context.Employees.ToList().Find(u => u.UserId == UserId); return $"{emp.EmployeeId}"; } } public string dolgnost { get { return $"{Role}"; } } Alldata cs internal class AllData { public static int ID; } Авторизация xaml Title="Авторизация" Height="498" Width="384" FontSize="20" WindowStartupLocation="CenterScreen">
Subscribe above to receive notifications when new versions are released.
VersionDate
Stability
Stability is determined by the version string and my be inaccurate.
1.0.0 Stable