nuget reorganization
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "3dhaZhz18B5vUoEP13o2j8A6zQfkHdZhwBvLZEjDJum4BTLLv1/Z8bt25UQEtpqvYwLgde4R6ekWZ7XAYUMxuw==",
|
||||
"source": "https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
BIN
.nuget/packages/mongodb.bson/3.1.0/.signature.p7s
vendored
BIN
.nuget/packages/mongodb.bson/3.1.0/.signature.p7s
vendored
Binary file not shown.
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>MongoDB.Bson</id>
|
||||
<version>3.1.0</version>
|
||||
<authors>MongoDB Inc.</authors>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<license type="expression">Apache-2.0</license>
|
||||
<licenseUrl>https://licenses.nuget.org/Apache-2.0</licenseUrl>
|
||||
<icon>packageIcon.png</icon>
|
||||
<readme>README.md</readme>
|
||||
<projectUrl>https://www.mongodb.com/docs/drivers/csharp/</projectUrl>
|
||||
<description>MongoDB's Official Bson Library.</description>
|
||||
<releaseNotes>https://github.com/mongodb/mongo-csharp-driver/releases/tag/v3.1.0</releaseNotes>
|
||||
<copyright>Copyright © 2010-present MongoDB Inc.</copyright>
|
||||
<tags>mongodb mongo nosql bson</tags>
|
||||
<repository type="git" url="https://github.com/mongodb/mongo-csharp-driver.git" commit="1a43b7138e2675ac0837e1ab3d8daa48645e75b0" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework4.7.2">
|
||||
<dependency id="System.Memory" version="4.5.5" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net6.0">
|
||||
<dependency id="System.Memory" version="4.5.5" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="System.Memory" version="4.5.5" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
79
.nuget/packages/mongodb.bson/3.1.0/README.md
vendored
79
.nuget/packages/mongodb.bson/3.1.0/README.md
vendored
@@ -1,79 +0,0 @@
|
||||
MongoDB C# Driver
|
||||
=================
|
||||
|
||||
You can get the latest stable release from the [official Nuget.org feed](https://www.nuget.org/packages/MongoDB.Driver) or from our [github releases page](https://github.com/mongodb/mongo-csharp-driver/releases).
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
### Untyped Documents
|
||||
```C#
|
||||
using MongoDB.Bson;
|
||||
using MongoDB.Driver;
|
||||
```
|
||||
|
||||
```C#
|
||||
var client = new MongoClient("mongodb://localhost:27017");
|
||||
var database = client.GetDatabase("foo");
|
||||
var collection = database.GetCollection<BsonDocument>("bar");
|
||||
|
||||
await collection.InsertOneAsync(new BsonDocument("Name", "Jack"));
|
||||
|
||||
var list = await collection.Find(new BsonDocument("Name", "Jack"))
|
||||
.ToListAsync();
|
||||
|
||||
foreach(var document in list)
|
||||
{
|
||||
Console.WriteLine(document["Name"]);
|
||||
}
|
||||
```
|
||||
|
||||
### Typed Documents
|
||||
|
||||
```C#
|
||||
using MongoDB.Bson;
|
||||
using MongoDB.Driver;
|
||||
```
|
||||
|
||||
```C#
|
||||
public class Person
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
```
|
||||
|
||||
```C#
|
||||
var client = new MongoClient("mongodb://localhost:27017");
|
||||
var database = client.GetDatabase("foo");
|
||||
var collection = database.GetCollection<Person>("bar");
|
||||
|
||||
await collection.InsertOneAsync(new Person { Name = "Jack" });
|
||||
|
||||
var list = await collection.Find(x => x.Name == "Jack")
|
||||
.ToListAsync();
|
||||
|
||||
foreach(var person in list)
|
||||
{
|
||||
Console.WriteLine(person.Name);
|
||||
}
|
||||
```
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
* [MongoDB](https://www.mongodb.com/docs)
|
||||
* [Documentation](https://www.mongodb.com/docs/drivers/csharp/current/)
|
||||
|
||||
Questions/Bug Reports
|
||||
---------------------
|
||||
* [MongoDB Community Forum](https://www.mongodb.com/community/forums/tags/c/data/drivers-odms/7/dot-net)
|
||||
* [Jira](https://jira.mongodb.org/browse/CSHARP)
|
||||
|
||||
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the [instructions here](https://www.mongodb.com/docs/manual/tutorial/create-a-vulnerability-report).
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
Please see our [guidelines](CONTRIBUTING.md) for contributing to the driver.
|
||||
|
||||
Thank you to [everyone](https://github.com/mongodb/mongo-csharp-driver/graphs/contributors) who has contributed to this project.
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1 +0,0 @@
|
||||
5mJPMnE4sykQg0Guv4b8eonySL5kHdOiVd6CTIyVVSua+Gus3sYH8c9th4E3lwOENewSM1GDnvuopdG9MoMuzg==
|
||||
BIN
.nuget/packages/mongodb.bson/3.1.0/packageIcon.png
vendored
BIN
.nuget/packages/mongodb.bson/3.1.0/packageIcon.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB |
Reference in New Issue
Block a user