예제 #1
0
 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;
 }
예제 #2
0
 public EmitRepositoryBuilder(
     string scopeTemplate
     , Func <Type, MethodInfo, String> sqlIdNamingConvert
     , ILogger logger
     )
 {
     _sqlIdNamingConvert = sqlIdNamingConvert;
     _logger             = logger;
     _templateParser     = new ScopeTemplateParser(scopeTemplate);
     _statementAnalyzer  = new StatementAnalyzer();
     InitAssembly();
 }