I have the following code:
using System.Data.SqlClient;
using OPN.SP_Services.Interface;
using wwa.EPR.Services;
namespace OPN.SP_Services
{
public class TestService : UnitOfWork<ClearviewLocalContext>, ITestService
{
public TestService(IDataContext<ClearviewLocalContext> dataContext) : base(dataContext)
{
}
public void test()
{
var param = new SqlParameter();
}
}
}
namespace OPN.SP_Services.Interface
{
public interface ITestService
{
void test();
}
}
Dependency config:
container.Register<ITestService, TestService>();
called like this:
_testService.test();
When I step through the code and reach this line:
var param = new SqlParameter();
and inspect the variable, I see the following in my locals:
Can anyone explain what is going on here?