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