User Tools

Site Tools


nebolintegration_basic_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nebolintegration_basic_integration [2021/11/03 17:15] nebolnebolintegration_basic_integration [2021/11/03 17:24] (current) nebol
Line 18: Line 18:
 Install-Package SharpRepository.EfCoreRepository # EF Core support for SharpRepository Install-Package SharpRepository.EfCoreRepository # EF Core support for SharpRepository
 Install-Package Microsoft.EntityFrameworkCore.SqlServer # MS SQL support for Entity Framework Install-Package Microsoft.EntityFrameworkCore.SqlServer # MS SQL support for Entity Framework
-Install-Package SharpRepository.IocMicrosoft.DependencyInjection # MS dependency injection support for SharpRepository+Install-Package SharpRepository.Ioc.Microsoft.DependencyInjection # MS dependency injection support for SharpRepository
 Install-Package NewtonSoft.Json # needed for some JSON converting later Install-Package NewtonSoft.Json # needed for some JSON converting later
 </code> </code>
Line 38: Line 38:
 <code> <code>
 "Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=integration;AttachDBFilename=E:\NebolIntegrationSample.mdf"; "Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=integration;AttachDBFilename=E:\NebolIntegrationSample.mdf";
 +</code>
 +or something like this for MS SQL Server:
 +<code>
 +"Server=mssql;user id=myuser;password=sdfsf4rerweew;database=test_integrations";
 </code> </code>
  
Line 103: Line 107:
  
 Now let's set everything up. Now let's set everything up.
 +
 +A couple of static variables in the Program class:
 +<code csharp>
 +static Engine engine;
 +static ServiceCollection services;
 +</code>
  
 <code csharp> <code csharp>
nebolintegration_basic_integration.1635956122.txt.gz · Last modified: 2021/11/03 17:15 by nebol