Results 6 comments of rb

添加登录认证功能 初始化用户 var user = fsql.GetRepository(); user.InsertOrUpdate(new User { UserName = "admin", Pwd = "123456" }); 注入登录认证 builder.Services.AddLogin(); 添加登录UI app.UseFreeSchedulerLoginUI("/freescheduler/"); app.UseFreeSchedulerUI("/freescheduler/");

解决和主分支的冲突 并且将该包解耦单独出来了 ![image](https://github.com/2881099/FreeScheduler/assets/12226845/c132ce22-1e89-4fe3-820b-03594e9b1f13)

登录UI截图 ![0dd99e6ef6d6279257bf62303a42d9ea](https://github.com/2881099/FreeScheduler/assets/12226845/e8c63f3e-89fc-467b-8cb0-f6119291e1a8)

The Microsoft website documentation describes this configuration method as Required one-to-many with shadow foreign key https://learn.microsoft.com/en-us/ef/core/modeling/relationships/one-to-many#required-one-to-many-with-shadow-foreign-key

I know assigning an Id will work but what I want is for the framework to generate the Id for me by default