Esempio n. 1
0
 public SqlDataContext(string connectionString, int connectionTimeout, IMapper mapper, ICacheServiceFactory cacheServiceFactory)
     : this(connectionString, mapper, cacheServiceFactory)
 {
     _connectionString = connectionString;
     _connectionTimeout = connectionTimeout;
 }
Esempio n. 2
0
 private SqlDataContext(IMapper mapper, ICacheServiceFactory cacheServiceFactory)
 {
     _mapper = mapper;
     _cacheService = cacheServiceFactory.Build(TimeSpan.FromMinutes(0));
 }
Esempio n. 3
0
 public SqlDataContext(string connectionString, IMapper mapper, ICacheServiceFactory cacheServiceFactory)
     : this(mapper, cacheServiceFactory)
 {
     _connectionString = connectionString;
 }