File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
# MongoNet
2
2
This package contains CRUD functions with mongodb driver functions like find that are ready for use for MongoDB.
3
3
4
- # Step 1: Add connection class
4
+ ### Step 1: Add connection class
5
5
```
6
6
public class MyMongoConnection : IMongoConnection
7
7
{
@@ -17,7 +17,7 @@ public class MyMongoConnection : IMongoConnection
17
17
}
18
18
```
19
19
20
- # Step 2: Inherit your entity from EntityBase
20
+ ### Step 2: Inherit your entity from EntityBase
21
21
```
22
22
public class ExampleEntity : EntityBase
23
23
{
@@ -38,7 +38,7 @@ public class ExampleEntity : EntityBase
38
38
}
39
39
```
40
40
41
- # Step 3: Call any crud method from anywhere
41
+ ### Step 3: Call any crud method from anywhere
42
42
```
43
43
ExampleEntity.DBContext.Insert(new ExampleEntity(){ });
44
44
```
You can’t perform that action at this time.
0 commit comments