This commit is contained in:
Riccardo Usardi committed 2025-07-09 22:23:37 +02:00
1 parent 2db9525570
commit 5aca82244e
21 files changed
+545 -126

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ namespace uWine.Core.Domain.Entities
{
Id = reader.GetInt32("id"),
Username = reader.GetString("username"),
Active = true,
Role = Role.FromRecord(reader),
};
}
@@ -12,5 +12,6 @@ namespace uWine.Core.Domain.Repositories
void AddAddress(int ownerId, Address address);
void Insert(Owner owner);
Owner Simple(int ownerId);
List<Owner> FromUser(int userId);
}
}
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using uWine.Core.Domain.Entities;
namespace uWine.Core.Domain.Repositories
{
public interface IUserRepository
{
User UserById(int userId);
}
}
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("uWine.Core.Domain")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a172f05269c07a86949730b68f466dbb39efd35c")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2db95255706ee58fdfd1cd80269882ddfb6a08a0")]
[assembly: System.Reflection.AssemblyProductAttribute("uWine.Core.Domain")]
[assembly: System.Reflection.AssemblyTitleAttribute("uWine.Core.Domain")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
8b28d92b53d240bb0fa1329b33b29da5b306fb49220cf2f4e3d5082767ed6f9b
90a65fc50c45509dd6f76eaeb434d71392cfcabf236fe20248645f330d5292ae
+59
View File
@@ -54,6 +54,60 @@
}
}
}
},
"net8.0/linux-x64": {
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.2": {
"type": "package",
"compile": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/_._": {}
}
},
"Microsoft.Extensions.Logging.Abstractions/8.0.2": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.2"
},
"compile": {
"lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets": {}
}
},
"MySqlConnector/2.4.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.2",
"Microsoft.Extensions.Logging.Abstractions": "8.0.2"
},
"compile": {
"lib/net8.0/MySqlConnector.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/MySqlConnector.dll": {
"related": ".xml"
}
}
}
}
},
"libraries": {
@@ -265,6 +319,11 @@
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
}
},
"runtimes": {
"linux-x64": {
"#import": []
}
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "xoU7wD+w/v0=",
"dgSpecHash": "dpwl0H+ZmD8=",
"success": true,
"projectFilePath": "M:\\uv\\uWine\\uWine.Core.Domain\\uWine.Core.Domain.csproj",
"expectedPackageFiles": [
@@ -69,6 +69,11 @@
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
}
},
"runtimes": {
"linux-x64": {
"#import": []
}
}
}
}