public ExecuteCustomSqlCmd(Type mapperClass, ICustomSqlExecution<Mapper, ResultType> customSqlExecution) { this.mapperClass = mapperClass; this.customSqlExecution = customSqlExecution; }
public virtual ResultType ExecuteCustomSql <MapperType, ResultType>(ICustomSqlExecution <MapperType, ResultType> customSqlExecution) { Type mapperClass = customSqlExecution.MapperClass; return(commandExecutor.Execute(new ExecuteCustomSqlCmd <MapperType, ResultType>(mapperClass, customSqlExecution))); }
public RoomRepository(ICustomSqlExecution customSqlExecution) { _customSqlExecution = customSqlExecution; }