public ImageMarkingMarkerDALImpl(IInfraDAL infraDAL, IConfiguration configuration) { _infraDAL = infraDAL; _configuration = configuration; _conn = _infraDAL.Connect(_configuration.GetConnectionString("ImageMarkingDB")); }
public ImageMarkingShareDocumentsDALImpl(IInfraDAL infraDAL) { _infraDAL = infraDAL; var strConn = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xe)));User Id=ms;Password=1234;"; _conn = _infraDAL.Connect(strConn); }
public UserDALImpl(IInfraDAL infraDAL, IConfiguration configuration) { _configuration = configuration; var strConn = _configuration.GetConnectionString("DrawingAppDB"); _infraDAL = infraDAL; _conn = _infraDAL.Connect(strConn); }
public void Setup() { _dal = new InfraDAL(); var strConn = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))" + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)));" + "User Id=ZIVPROJ;Password=1234;"; _conn = _dal.Connect(strConn); }
public IDBConnection Connect(string strConnection) { return(_dal.Connect(strConnection)); }
public LoggerManagerDBDALImpl(IInfraDAL infraDAL, IConfiguration configuration) { _infraDAL = infraDAL; _configuration = configuration; _conn = _infraDAL.Connect(_configuration.GetConnectionString("LoggerManager")); }
public MarkDocsAppDALImpl(IInfraDAL dal, IConfiguration configuration) { _dal = dal; _configuration = configuration; _connection = _dal.Connect(_configuration.GetConnectionString("MarkDocsDBConnection")); }