public ExecuteCustomSqlCmd(Type mapperClass, ICustomSqlExecution<Mapper, ResultType> customSqlExecution)
 {
     this.mapperClass = mapperClass;
     this.customSqlExecution = customSqlExecution;
 }
Example #2
0
        public virtual ResultType ExecuteCustomSql <MapperType, ResultType>(ICustomSqlExecution <MapperType, ResultType> customSqlExecution)
        {
            Type mapperClass = customSqlExecution.MapperClass;

            return(commandExecutor.Execute(new ExecuteCustomSqlCmd <MapperType, ResultType>(mapperClass, customSqlExecution)));
        }
Example #3
0
 public RoomRepository(ICustomSqlExecution customSqlExecution)
 {
     _customSqlExecution = customSqlExecution;
 }