public IEnumerable <T> GetUsingRegex <T>(string fieldName, string searchKey, RegexOptions options, IMongoDBStateContext stateContext = null) where T : class { return(context.FindUsingRegex <T>(fieldName, searchKey, options, stateContext)); }