12 lines
No EOL
291 B
C#
12 lines
No EOL
291 B
C#
using IdentityShroud.Core.Security;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
namespace IdentityShroud.Core.EFCore;
|
|
|
|
public class KekIdConverter : ValueConverter<KekId, Guid>
|
|
{
|
|
public KekIdConverter()
|
|
: base(id => id.Id, guid => new KekId(guid))
|
|
{
|
|
}
|
|
} |