Exemplo n.º 1
0
        public AdsGoFastDapperContext(Helpers.AzureSDK azureSDK, string Server, string Database)
        {
            this._azureSDK = azureSDK;
            SqlConnectionStringBuilder _scsb = new SqlConnectionStringBuilder
            {
                DataSource     = Server,
                InitialCatalog = Database
            };

            this._connectionstring = _scsb.ConnectionString;
        }
 public AppInsightsContext(Helpers.AzureSDK azureSDK, string AppInsightsWorkspaceId)
 {
     this._azureSDK = azureSDK;
     this._AppInsightsWorkspaceId = AppInsightsWorkspaceId;
 }