1
0
mirror of https://github.com/bitwarden/server synced 2026-01-09 03:53:42 +00:00

SDK integration in db seeder

This commit is contained in:
Hinton
2025-07-01 17:21:26 +02:00
parent 57cd628de8
commit 418dbb374c
12 changed files with 3118 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
using Bit.Core.Enums;
using Bit.Infrastructure.EntityFramework.Models;
using Bit.RustSDK;
namespace Bit.Seeder.Factories;
@@ -7,6 +8,7 @@ public class UserSeeder
{
public static User CreateUser(string email)
{
Console.WriteLine(NativeMethods.my_add(2, 3));
return new User
{
Id = Guid.NewGuid(),

View File

@@ -20,6 +20,7 @@
<ProjectReference Include="..\..\src\Core\Core.csproj" />
<ProjectReference Include="..\..\src\Infrastructure.EntityFramework\Infrastructure.EntityFramework.csproj" />
<ProjectReference Include="..\..\src\SharedWeb\SharedWeb.csproj" />
<ProjectReference Include="..\RustSdk\RustSdk.csproj" />
</ItemGroup>
<ItemGroup>