Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7562679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:28:11+00:00 2026-05-30T13:28:11+00:00

I am beginning to use MongoDB with C# and through following a few tutorials

  • 0

I am beginning to use MongoDB with C# and through following a few tutorials I have found that the methods Find & FindAll no longer exist in the latest versions.

Could somebody explain why and also, how would I now get the same functionality using v1.3.1?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:28:12+00:00Added an answer on May 30, 2026 at 1:28 pm

    No, they should be. At least I not see them at master branch on git here line 1655. In release notes for 1.3.1 here I also can’t find any breaking changes.

    It seems you can’t find them because you have created mongodb collection in different way then before. Basically there is two approaches:

    First approach is to specify exact type of document when getting collection:

    var collection = db.GetCollection<ICanSpecifyTypeHere>("name")
    //then collection has Find and FindAll methods
    var result = collection.Find(Query.And());
    

    Second approach is to specify type of document at find method :

    var collection = db.GetCollection("name");
    //in this case you should use FindAs<TypeOfDocument> and FindAllAs<TypeOfDocument>
    var result = collection.FindAs<ICanSpecifyTypeHere>(Query.And());
    

    I suppose that you have declared collection as in second approach and because of this don’t see Find and FindAll methods.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following variable definition: @monday = (Time.now).at_beginning_of_week I use that in different
Since beginning to use VB.NET some years ago I have become slowly familiar with
I'm just beginning to use Regex so bear with my terminology. I have a
I'm beginning python and I'm trying to use a two-dimensional list, that I initially
I have a button I want to use in the beginning and the end
I heard that its not advised to use % in the beginning of LIKE
I'm beginning to use DotNetOpenAuth and want to understand what the following members of
I have a reference application that downloads an sql lite file in the beginning
Please consider the following class. I'm beginning to use JQuery. function AutoHide(elemControl, elemContent) {
I'm trying to work through http://railscasts.com/episodes/155-beginning-with-cucumber which basically teaches how to use Cucumber within

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.