mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-02 00:43:42 -04:00
Implement Other state events
now emitted to websocket connections on connect
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using Observatory.Framework.Files.Journal.Startup;
|
||||
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
public class CargoConfiguration : IEntityTypeConfiguration<Cargo>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<Cargo> builder)
|
||||
|
@ -1,9 +1,8 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using Observatory.Framework.Files.Journal.Odyssey;
|
||||
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
public class ShipLockerConfiguration : IEntityTypeConfiguration<ShipLockerMaterials>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<ShipLockerMaterials> builder)
|
||||
|
@ -1,12 +1,11 @@
|
||||
namespace Pulsar.Context;
|
||||
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Observatory.Framework.Files.Journal;
|
||||
using Observatory.Framework.Files.Journal.Odyssey;
|
||||
using Observatory.Framework.Files.Journal.Startup;
|
||||
using Observatory.Framework.Files.Journal.StationServices;
|
||||
using Observatory.Framework.Files.Journal.Travel;
|
||||
using Pulsar.Features.ShipLocker;
|
||||
|
||||
/// <summary>
|
||||
/// An in-memory database context for Pulsar.
|
||||
@ -14,7 +13,6 @@ using Pulsar.Features.ShipLocker;
|
||||
public class PulsarContext : DbContext
|
||||
{
|
||||
public SqliteConnection Connection { get; private set; }
|
||||
|
||||
|
||||
public DbSet<Commander> Commander { get; set; }
|
||||
public DbSet<Materials> Materials { get; set; }
|
||||
|
Reference in New Issue
Block a user