Exemplo n.º 1
0
 public DemandService(IFreeSql freeSql, IMapper mapper, IFreeSqlFactory freeSqlFactory)
 {
     this.freeSql  = freeSql;
     this.mapper   = mapper;
     this.freeSql2 = freeSqlFactory.Build("server=192.168.31.138;uid=dev;pwd=dev+-*/86224155;database=FileData");
 }
 public ProductDiagramService(IFreeSqlFactory freeSqlFactory)
 {
     this.freeSql = freeSqlFactory.Build("server=39.108.89.110;uid=sa;pwd=sa123.;database=FileData");
 }