Пример #1
0
        public UserRepository_Test(SmartSqlFixture smartSqlFixture)
        {
            var repositoryBuilder = new EmitRepositoryBuilder(null, null, smartSqlFixture.LoggerFactory.CreateLogger <EmitRepositoryBuilder>());
            var repositoryFactory = new RepositoryFactory(repositoryBuilder, smartSqlFixture.LoggerFactory.CreateLogger <RepositoryFactory>());

            _userRepository = repositoryFactory.CreateInstance(typeof(IUserRepository), smartSqlFixture.SqlMapper) as IUserRepository;
        }
Пример #2
0
 public RepositoryBuilder_Test(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper          = smartSqlFixture.SqlMapper;
     _repositoryBuilder = new EmitRepositoryBuilder(null, null,
                                                    smartSqlFixture.LoggerFactory.CreateLogger <EmitRepositoryBuilder>());
     _repositoryFactory = new RepositoryFactory(_repositoryBuilder,
                                                smartSqlFixture.LoggerFactory.CreateLogger <RepositoryFactory>());
 }
Пример #3
0
 public CUDTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #4
0
 public DynamicDeserializerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #5
0
 public FlexibleInt16Test(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #6
0
 public SnowflakeIdTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
 public DataTableDeserializerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #8
0
 public UserRepository_Test(SmartSqlFixture smartSqlFixture)
 {
     _userRepository = smartSqlFixture.UserRepository;
 }
Пример #9
0
 public FlexibleByteTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #10
0
 public MultipleResultDeserializerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #11
0
 public EntityDeserializerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #12
0
 public AutoConverterTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #13
0
 public IncludeTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #14
0
 public IsLessThanTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #15
0
 public IncludeTest(SmartSqlFixture smartSqlFixture)
 {
     SmartSqlConfig = smartSqlFixture.SqlMapper.SmartSqlConfig;
 }
Пример #16
0
 public LruCacheProviderTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #17
0
 public ValueTypeDeserializerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #18
0
 public IsNotEmptyTest(SmartSqlFixture smartSqlFixture)
 {
     SmartSqlConfig = smartSqlFixture.SqlMapper.SmartSqlConfig;
 }
Пример #19
0
 public NowTest(SmartSqlFixture smartSqlFixture)
 {
     SmartSqlConfig = smartSqlFixture.SqlMapper.SmartSqlConfig;
 }
Пример #20
0
 public IsGreaterThanTest(SmartSqlFixture smartSqlFixture)
 {
     SmartSqlConfig = smartSqlFixture.SqlMapper.SmartSqlConfig;
 }
Пример #21
0
 public DynamicTest(SmartSqlFixture smartSqlFixture)
 {
     SmartSqlConfig = smartSqlFixture.SqlMapper.SmartSqlConfig;
 }
Пример #22
0
 public DynamicTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #23
0
 public ErrorDiagnosisTest(SmartSqlFixture smartSqlFixture, ITestOutputHelper output)
 {
     _smartSqlFixture = smartSqlFixture;
     _output          = output;
     SqlMapper        = smartSqlFixture.SqlMapper;
 }
Пример #24
0
 public IsNotEmptyTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #25
0
 public DbSessionTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #26
0
 public PlaceholderTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #27
0
 public ColumnAnnotationRepositoryTest(SmartSqlFixture smartSqlFixture)
 {
     _repository = smartSqlFixture.ColumnAnnotationRepository;
 }
Пример #28
0
 public SqlServerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
Пример #29
0
 public JsonTypeTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }
 public CustomizeTypeHandlerTest(SmartSqlFixture smartSqlFixture)
 {
     SqlMapper = smartSqlFixture.SqlMapper;
 }