mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 07:11:10 +00:00
Introduces the closed generic persistence toolkit
This commit is contained in:
1 parent
9ba9b089b5
commit
a632f4ced7
8 files changed
+270
-19
No files matched your search
@@ -11,4 +11,4 @@ namespace Lumina.Application.Common.DataAccess.Entities.Common;
|
||||
[DebuggerDisplay("Name: {Name}")]
|
||||
public record GenreEntity(
|
||||
string? Name
|
||||
);
|
||||
) : ISharedReferenceEntity;
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace Lumina.Application.Common.DataAccess.Entities.Common;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for a shared reference entity, whose identity is its name and whose rows are shared across the whole storage medium instead of being owned by a single parent.
|
||||
/// </summary>
|
||||
public interface ISharedReferenceEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the name that identifies the shared reference.
|
||||
/// </summary>
|
||||
string? Name { get; }
|
||||
}
|
||||
@@ -11,4 +11,4 @@ namespace Lumina.Application.Common.DataAccess.Entities.Common;
|
||||
[DebuggerDisplay("Name: {Name}")]
|
||||
public record TagEntity(
|
||||
string? Name
|
||||
);
|
||||
) : ISharedReferenceEntity;
|
||||
Reference in new issue
Block a user