Beispiel #1
0
 public static TapetiConfig WithDataAnnotations(this TapetiConfig config)
 {
     config.Use(new DataAnnotationsMiddleware());
     return(config);
 }
 public static TapetiConfig WithFlowSqlRepository(this TapetiConfig config, string connectionString, int serviceId, string schema = "dbo")
 {
     config.Use(new FlowSqlRepositoryBundle(connectionString, serviceId, schema));
     return(config);
 }
 public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository flowRepository = null)
 {
     config.Use(new FlowMiddleware(flowRepository));
     return(config);
 }