Table of Contents

Enum LinqProvider

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

Represents the different LINQ providers.

public enum LinqProvider

Fields

[Obsolete("This version of the LINQ provider will be removed in a later release.")] V2 = 2

The LINQ provider that was first shipped with version 2.0 of the driver. The V3 LINQ provider is now the default, but you can still select the V2 provider by configuring it in MongoClientSettings. The V2 LINQ provider is no longer being actively maintained and will eventually be removed.

V3 = 3

The current LINQ provider. The V3 LINQ provider is now the default LINQ provider.