update readme.md migrate V2 1%

This commit is contained in:
Aigio Liu
2021-02-23 19:04:52 +08:00
parent a85f977ccf
commit abf92e98d0
21 changed files with 309 additions and 37 deletions
@@ -1,9 +1,10 @@
using SQLite;
using System.Diagnostics;
using SQLiteTable = SQLite.TableAttribute;
namespace System.Application.Entities
{
[Table("D5428AED")]
[SQLiteTable("D5428AED")]
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public sealed class User : IEntity<Guid>
{
@@ -0,0 +1,20 @@
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Application.Services;
using System.Application.Services.Implementation;
using System.Collections.Generic;
using System.Text;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection
{
public static class IdentityServiceCollectionExtensions
{
public static IServiceCollection TryAddUserManager(this IServiceCollection services)
{
services.TryAddSingleton<ISecurityService, SecurityService>();
services.TryAddSingleton<IUserManager, UserManager>();
return services;
}
}
}
@@ -13,6 +13,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\System.Application.Repositories.sqlite-net-pcl\System.Application.Repositories.sqlite-net-pcl.csproj" />
<ProjectReference Include="..\System.Application.SteamTools.Services.CloudService\System.Application.SteamTools.Services.CloudService.csproj" />
<ProjectReference Include="..\System.Application.SteamTools\System.Application.SteamTools.csproj" />
<ProjectReference Include="..\System.Common.ClientLib\System.Common.ClientLib.csproj" />