message: Added logging for sql statement
diff: @@ -60,10 +60,33 @@ export class FilterConsumerBridgeToSqlRequest implements FilterConsumer {
  +}
  +class LogSQLConnectionProvider implements SQLConnectionProvider {
  + constructor(private origin: SQLConnectionProvider) { }
  + createCommand(): SQLCommand {
  + return new LogSQLCommand(this.origin.createCommand());
  + }
  +}
  +class LogSQLCommand implements SQLCommand {
  + constructor(private origin: SQLCommand) {
  +
  + }
  + args: any = {};
  + addParameterToCommandAndReturnParameterName(col: Column<any>, val: any): string {
  + let r = this.origin.addParameterToCommandAndReturnParameterName(col, val);
  + this.args[r] = val;
  + return r;
  + }
  + query(sql: string): Promise<SQLQueryResult> {
  + console.log(sql, this.args);
  + return this.origin.query(sql);
  + }
  }
  export class ActualSQLServerDataProvider<T extends Entity<any>> implements DataProvider {
  + public static LogToConsole = false;
  constructor(private entityFactory: () => Entity<any>, private name: string, private sql: SQLConnectionProvider, private factory: () => T) {
  -
  + if (ActualSQLServerDataProvider.LogToConsole)
  + sql = new LogSQLConnectionProvider(sql);
  }
  private entity: Entity<any>;
  public count(where: FilterBase): Promise<number> {
  