Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : mongodb.driver.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(){ });

Registry - JSON
purl: pkg:nuget/mongodb.driver.crud.repository
Keywords: MongoDB, Repository, nosql, mongo, crud
License:
Latest release: over 124 years ago
First release: over 124 years ago
Last synced: 20 days ago

    Loading...
    Readme
    Loading...