NuGet Package MongoDB.Crud.Repository

This package contains CRUD functions that are ready for use for MongoDB.

Implement IMongoConnection interface for connection. Please do not forget to get inheritance from EntityBase class for models.


step by step:
# step 1: please add connection class # public class MyMongoConnection : IMongoConnection /// # step 2: please add entity model ##public class ExampleEntity : EntityBase { public string ExampleField { get; set;} public static MongoDbRepository<ExampleEntity > DBContext = new MongoDbRepository<ExampleEntity >(); } /// # step 3: Please call any crud method # ExampleEntity.DBContext.Insert(new ExampleEntity(){ });.

Info

Version: 2.5.7
Author(s): Hakki Eser : eser.hakki@hotmail.com
Last Update: Thursday, March 1, 2018
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/MongoDB.Crud.Repository


Install
Install-Package MongoDB.Crud.Repository
dotnet add package MongoDB.Crud.Repository
paket add MongoDB.Crud.Repository
MongoDB.Crud.Repository Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

1144