internal MySqlDataFeedSource(SqlSourceParameter parameter) : base(DataFeedSourceKind.MySql) { Argument.AssertNotNull(parameter, nameof(parameter)); ConnectionString = parameter.ConnectionString; Query = parameter.Query; }
internal AzureDataExplorerDataFeedSource(SqlSourceParameter parameter, AuthenticationTypeEnum?authentication, string credentialId) : base(DataFeedSourceType.AzureDataExplorer) { Argument.AssertNotNull(parameter, nameof(parameter)); ConnectionString = parameter.ConnectionString; Query = parameter.Query; SetAuthentication(authentication); DataSourceCredentialId = credentialId; }
internal AzureDataExplorerDataFeedSource(SqlSourceParameter parameter, AuthenticationTypeEnum?authentication, string credentialId) : base(DataFeedSourceKind.AzureDataExplorer) { Argument.AssertNotNull(parameter, nameof(parameter)); ConnectionString = parameter.ConnectionString; Query = parameter.Query; Authentication = (authentication == null) ? default(AuthenticationType?) : new AuthenticationType(authentication.ToString()); DataSourceCredentialId = credentialId; }