Skip to content

Commit

Permalink
v22 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-nitehawk committed May 27, 2023
1 parent 48c1dc7 commit c0639da
Show file tree
Hide file tree
Showing 38 changed files with 766 additions and 3,193 deletions.
2 changes: 1 addition & 1 deletion Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.5" />
<PackageReference Include="MongoDB.Driver.GridFS" Version="2.19.1" />
<PackageReference Include="MongoDB.Driver.GridFS" Version="2.19.2" />
</ItemGroup>

<ItemGroup>
Expand Down
19 changes: 11 additions & 8 deletions Documentation/api/.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"MongoDB.Entities.CollectionAttribute.#ctor(System.String)": "MongoDB.Entities.CollectionAttribute.yml",
"MongoDB.Entities.CollectionAttribute.Name": "MongoDB.Entities.CollectionAttribute.yml",
"MongoDB.Entities.Coordinates2D": "MongoDB.Entities.Coordinates2D.yml",
"MongoDB.Entities.Coordinates2D.#ctor": "MongoDB.Entities.Coordinates2D.yml",
"MongoDB.Entities.Coordinates2D.#ctor(System.Double,System.Double)": "MongoDB.Entities.Coordinates2D.yml",
"MongoDB.Entities.Coordinates2D.Coordinates": "MongoDB.Entities.Coordinates2D.yml",
"MongoDB.Entities.Coordinates2D.GeoJsonPoint(System.Double,System.Double)": "MongoDB.Entities.Coordinates2D.yml",
Expand All @@ -22,9 +23,10 @@
"MongoDB.Entities.DataStreamer.UploadAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken,MongoDB.Driver.IClientSessionHandle)": "MongoDB.Entities.DataStreamer.yml",
"MongoDB.Entities.DataStreamer.UploadWithTimeoutAsync(System.IO.Stream,System.Int32,System.Int32,MongoDB.Driver.IClientSessionHandle)": "MongoDB.Entities.DataStreamer.yml",
"MongoDB.Entities.Date": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.#ctor": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.#ctor(System.DateTime)": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.#ctor(System.Int64)": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.DateTime": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.op_Implicit(MongoDB.Entities.Date)~System.DateTime": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.op_Implicit(System.DateTime)~MongoDB.Entities.Date": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.Date.Ticks": "MongoDB.Entities.Date.yml",
"MongoDB.Entities.DB": "MongoDB.Entities.DB.yml",
"MongoDB.Entities.DB.AllDatabaseNamesAsync(MongoDB.Driver.MongoClientSettings)": "MongoDB.Entities.DB.yml",
Expand Down Expand Up @@ -217,10 +219,13 @@
"MongoDB.Entities.Extensions.SavePreservingAsync``1(``0,MongoDB.Driver.IClientSessionHandle,System.Threading.CancellationToken)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.SortByRelevance``1(System.Collections.Generic.IEnumerable{``0},System.String,System.Func{``0,System.String},System.Nullable{System.Int32})": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToBatches``1(System.Collections.Generic.IEnumerable{``0},System.Int32)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToDate(System.DateTime)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToDate(System.Int64)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToDocument``1(``0)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToDocuments``1(``0[])": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToDocuments``1(System.Collections.Generic.IEnumerable{``0})": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToDoubleMetaphoneHash(System.String)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToFuzzy(System.String)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.Extensions.ToReference``1(``0)": "MongoDB.Entities.Extensions.yml",
"MongoDB.Entities.FieldAttribute": "MongoDB.Entities.FieldAttribute.yml",
"MongoDB.Entities.FieldAttribute.#ctor(System.Int32)": "MongoDB.Entities.FieldAttribute.yml",
Expand Down Expand Up @@ -266,9 +271,9 @@
"MongoDB.Entities.Find`2.SortByTextScore": "MongoDB.Entities.Find-2.yml",
"MongoDB.Entities.Find`2.SortByTextScore(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})": "MongoDB.Entities.Find-2.yml",
"MongoDB.Entities.FuzzyString": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.FuzzyString.#ctor": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.FuzzyString.#ctor(System.String)": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.FuzzyString.CharacterLimit": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.FuzzyString.op_Implicit(MongoDB.Entities.FuzzyString)~System.String": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.FuzzyString.op_Implicit(System.String)~MongoDB.Entities.FuzzyString": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.FuzzyString.Value": "MongoDB.Entities.FuzzyString.yml",
"MongoDB.Entities.GeoNear`1": "MongoDB.Entities.GeoNear-1.yml",
"MongoDB.Entities.GeoNear`1.distanceField": "MongoDB.Entities.GeoNear-1.yml",
Expand Down Expand Up @@ -345,15 +350,13 @@
"MongoDB.Entities.ModifiedBy": "MongoDB.Entities.ModifiedBy.yml",
"MongoDB.Entities.ModifiedBy.UserID": "MongoDB.Entities.ModifiedBy.yml",
"MongoDB.Entities.ModifiedBy.UserName": "MongoDB.Entities.ModifiedBy.yml",
"MongoDB.Entities.NameAttribute": "MongoDB.Entities.NameAttribute.yml",
"MongoDB.Entities.NameAttribute.#ctor(System.String)": "MongoDB.Entities.NameAttribute.yml",
"MongoDB.Entities.ObjectIdAttribute": "MongoDB.Entities.ObjectIdAttribute.yml",
"MongoDB.Entities.ObjectIdAttribute.#ctor": "MongoDB.Entities.ObjectIdAttribute.yml",
"MongoDB.Entities.One`1": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.#ctor": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.#ctor(`0)": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.#ctor(System.String)": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.ID": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.op_Implicit(`0)~MongoDB.Entities.One{`0}": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.op_Implicit(System.String)~MongoDB.Entities.One{`0}": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.ToEntityAsync(MongoDB.Driver.IClientSessionHandle,System.Threading.CancellationToken)": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.ToEntityAsync(System.Func{MongoDB.Driver.ProjectionDefinitionBuilder{`0},MongoDB.Driver.ProjectionDefinition{`0,`0}},MongoDB.Driver.IClientSessionHandle,System.Threading.CancellationToken)": "MongoDB.Entities.One-1.yml",
"MongoDB.Entities.One`1.ToEntityAsync(System.Linq.Expressions.Expression{System.Func{`0,`0}},MongoDB.Driver.IClientSessionHandle,System.Threading.CancellationToken)": "MongoDB.Entities.One-1.yml",
Expand Down
4 changes: 2 additions & 2 deletions Documentation/api/MongoDB.Entities.AsObjectIdAttribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ items:
source:
id: AsObjectIdAttribute
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Attributes.cs
startLine: 94
startLine: 86
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -116,7 +116,7 @@ items:
source:
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Attributes.cs
startLine: 97
startLine: 89
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down
8 changes: 3 additions & 5 deletions Documentation/api/MongoDB.Entities.CollectionAttribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ items:
source:
id: CollectionAttribute
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Attributes.cs
startLine: 54
startLine: 46
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand All @@ -37,8 +37,6 @@ items:
inheritance:
- System.Object
- System.Attribute
derivedClasses:
- MongoDB.Entities.NameAttribute
inheritedMembers:
- System.Attribute.Equals(System.Object)
- System.Attribute.GetCustomAttribute(System.Reflection.Assembly,System.Type)
Expand Down Expand Up @@ -112,7 +110,7 @@ items:
source:
id: Name
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Attributes.cs
startLine: 57
startLine: 49
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -143,7 +141,7 @@ items:
source:
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Attributes.cs
startLine: 59
startLine: 51
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down
41 changes: 35 additions & 6 deletions Documentation/api/MongoDB.Entities.Coordinates2D.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ items:
id: Coordinates2D
parent: MongoDB.Entities
children:
- MongoDB.Entities.Coordinates2D.#ctor
- MongoDB.Entities.Coordinates2D.#ctor(System.Double,System.Double)
- MongoDB.Entities.Coordinates2D.Coordinates
- MongoDB.Entities.Coordinates2D.GeoJsonPoint(System.Double,System.Double)
Expand All @@ -20,7 +21,7 @@ items:
source:
id: Coordinates2D
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 10
startLine: 11
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -59,7 +60,7 @@ items:
source:
id: Type
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 12
startLine: 13
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -102,7 +103,7 @@ items:
source:
id: Coordinates
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 15
startLine: 16
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -131,6 +132,34 @@ items:
- set
modifiers.vb:
- Public
- uid: MongoDB.Entities.Coordinates2D.#ctor
commentId: M:MongoDB.Entities.Coordinates2D.#ctor
id: '#ctor'
parent: MongoDB.Entities.Coordinates2D
langs:
- csharp
- vb
name: Coordinates2D()
nameWithType: Coordinates2D.Coordinates2D()
fullName: MongoDB.Entities.Coordinates2D.Coordinates2D()
type: Constructor
source:
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 22
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
summary: "\nInstantiate a new Coordinates2D instance with default values\n"
example: []
syntax:
content: public Coordinates2D()
content.vb: Public Sub New
overload: MongoDB.Entities.Coordinates2D.#ctor*
modifiers.csharp:
- public
modifiers.vb:
- Public
- uid: MongoDB.Entities.Coordinates2D.#ctor(System.Double,System.Double)
commentId: M:MongoDB.Entities.Coordinates2D.#ctor(System.Double,System.Double)
id: '#ctor(System.Double,System.Double)'
Expand All @@ -145,7 +174,7 @@ items:
source:
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 21
startLine: 27
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -178,7 +207,7 @@ items:
source:
id: ToGeoJsonPoint
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 30
startLine: 36
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down Expand Up @@ -208,7 +237,7 @@ items:
source:
id: GeoJsonPoint
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\GeoNear.cs
startLine: 38
startLine: 44
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
Expand Down
120 changes: 65 additions & 55 deletions Documentation/api/MongoDB.Entities.Date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ items:
id: Date
parent: MongoDB.Entities
children:
- MongoDB.Entities.Date.#ctor
- MongoDB.Entities.Date.#ctor(System.DateTime)
- MongoDB.Entities.Date.#ctor(System.Int64)
- MongoDB.Entities.Date.DateTime
- MongoDB.Entities.Date.op_Implicit(MongoDB.Entities.Date)~System.DateTime
- MongoDB.Entities.Date.op_Implicit(System.DateTime)~MongoDB.Entities.Date
- MongoDB.Entities.Date.Ticks
langs:
- csharp
Expand Down Expand Up @@ -106,78 +107,96 @@ items:
- set
modifiers.vb:
- Public
- uid: MongoDB.Entities.Date.op_Implicit(System.DateTime)~MongoDB.Entities.Date
commentId: M:MongoDB.Entities.Date.op_Implicit(System.DateTime)~MongoDB.Entities.Date
id: op_Implicit(System.DateTime)~MongoDB.Entities.Date
- uid: MongoDB.Entities.Date.#ctor
commentId: M:MongoDB.Entities.Date.#ctor
id: '#ctor'
parent: MongoDB.Entities.Date
langs:
- csharp
- vb
name: Implicit(DateTime to Date)
nameWithType: Date.Implicit(DateTime to Date)
fullName: MongoDB.Entities.Date.Implicit(System.DateTime to MongoDB.Entities.Date)
type: Operator
name: Date()
nameWithType: Date.Date()
fullName: MongoDB.Entities.Date.Date()
type: Constructor
source:
id: op_Implicit
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Date.cs
startLine: 97
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
syntax:
content: public static implicit operator Date(DateTime datetime)
content: public Date()
content.vb: Public Sub New
overload: MongoDB.Entities.Date.#ctor*
modifiers.csharp:
- public
modifiers.vb:
- Public
- uid: MongoDB.Entities.Date.#ctor(System.Int64)
commentId: M:MongoDB.Entities.Date.#ctor(System.Int64)
id: '#ctor(System.Int64)'
parent: MongoDB.Entities.Date
langs:
- csharp
- vb
name: Date(Int64)
nameWithType: Date.Date(Int64)
fullName: MongoDB.Entities.Date.Date(System.Int64)
type: Constructor
source:
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Date.cs
startLine: 103
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
summary: "\ninstantiate a Date with ticks\n"
example: []
syntax:
content: public Date(long ticks)
parameters:
- id: datetime
type: System.DateTime
return:
type: MongoDB.Entities.Date
content.vb: Public Shared Widening Operator CType(datetime As Date) As Date
overload: MongoDB.Entities.Date.op_Implicit*
nameWithType.vb: Date.Widening(DateTime to Date)
- id: ticks
type: System.Int64
description: the ticks
content.vb: Public Sub New(ticks As Long)
overload: MongoDB.Entities.Date.#ctor*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: MongoDB.Entities.Date.Widening(System.DateTime to MongoDB.Entities.Date)
name.vb: Widening(DateTime to Date)
- uid: MongoDB.Entities.Date.op_Implicit(MongoDB.Entities.Date)~System.DateTime
commentId: M:MongoDB.Entities.Date.op_Implicit(MongoDB.Entities.Date)~System.DateTime
id: op_Implicit(MongoDB.Entities.Date)~System.DateTime
- uid: MongoDB.Entities.Date.#ctor(System.DateTime)
commentId: M:MongoDB.Entities.Date.#ctor(System.DateTime)
id: '#ctor(System.DateTime)'
parent: MongoDB.Entities.Date
langs:
- csharp
- vb
name: Implicit(Date to DateTime)
nameWithType: Date.Implicit(Date to DateTime)
fullName: MongoDB.Entities.Date.Implicit(MongoDB.Entities.Date to System.DateTime)
type: Operator
name: Date(DateTime)
nameWithType: Date.Date(DateTime)
fullName: MongoDB.Entities.Date.Date(System.DateTime)
type: Constructor
source:
id: op_Implicit
id: .ctor
path: D:\SOURCE-CONTROL\MongoDB.Entities\Documentation\src\Core\Date.cs
startLine: 102
startLine: 109
assemblies:
- MongoDB.Entities
namespace: MongoDB.Entities
summary: "\ninstantiate a Date with a DateTime\n"
example: []
syntax:
content: public static implicit operator DateTime(Date date)
content: public Date(DateTime dateTime)
parameters:
- id: date
type: MongoDB.Entities.Date
return:
- id: dateTime
type: System.DateTime
content.vb: Public Shared Widening Operator CType(date As Date) As Date
overload: MongoDB.Entities.Date.op_Implicit*
nameWithType.vb: Date.Widening(Date to DateTime)
description: the DateTime
content.vb: Public Sub New(dateTime As Date)
overload: MongoDB.Entities.Date.#ctor*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: MongoDB.Entities.Date.Widening(MongoDB.Entities.Date to System.DateTime)
name.vb: Widening(Date to DateTime)
references:
- uid: MongoDB.Entities
commentId: N:MongoDB.Entities
Expand Down Expand Up @@ -500,17 +519,8 @@ references:
name: DateTime
nameWithType: DateTime
fullName: System.DateTime
- uid: MongoDB.Entities.Date.op_Implicit*
commentId: Overload:MongoDB.Entities.Date.op_Implicit
name: Implicit
nameWithType: Date.Implicit
fullName: MongoDB.Entities.Date.Implicit
nameWithType.vb: Date.Widening
fullName.vb: MongoDB.Entities.Date.Widening
name.vb: Widening
- uid: MongoDB.Entities.Date
commentId: T:MongoDB.Entities.Date
parent: MongoDB.Entities
- uid: MongoDB.Entities.Date.#ctor*
commentId: Overload:MongoDB.Entities.Date.#ctor
name: Date
nameWithType: Date
fullName: MongoDB.Entities.Date
nameWithType: Date.Date
fullName: MongoDB.Entities.Date.Date
Loading

0 comments on commit c0639da

Please sign in to comment.