public RepositoryBuilder( string scope_template , Func <Type, MethodInfo, String> sqlIdNamingConvert , ILogger <RepositoryBuilder> logger ) { _sqlIdNamingConvert = sqlIdNamingConvert; _templateParser = new ScopeTemplateParser(scope_template); _commandAnalyzer = new SqlCommandAnalyzer(); InitAssembly(); _logger = logger; }
public EmitRepositoryBuilder( string scopeTemplate , Func <Type, MethodInfo, String> sqlIdNamingConvert , ILogger logger ) { _sqlIdNamingConvert = sqlIdNamingConvert; _logger = logger; _templateParser = new ScopeTemplateParser(scopeTemplate); _statementAnalyzer = new StatementAnalyzer(); InitAssembly(); }