public static IServiceCollection AddXpoPooledDataLayer(this IServiceCollection serviceCollection, string connectionString) { return(serviceCollection.AddSingleton <IDataLayer>(XpoHelper.CreatePooledDataLayer(connectionString))); }
public static IServiceCollection AddXpoPooledDataLayer(this IServiceCollection serviceCollection, string connectionString) { return(serviceCollection.AddSingleton <IDataLayer>(XpoHelper.CreatePooledDataLayer(connectionString))); }