You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Entities/EntitiesStartup.cs

16 lines
401 B

2 years ago
using Connected.Annotations;
using Connected.Entities.Caching;
using Microsoft.Extensions.DependencyInjection;
[assembly: MicroService(MicroServiceType.Sys)]
namespace Connected.Entities;
internal class EntitiesStartup : Startup
{
protected override void OnConfigureServices(IServiceCollection services)
{
services.AddSingleton(typeof(IEntityCacheContext), typeof(EntityCacheContext));
}
}