Skip to content
Snippets Groups Projects
Commit 7cf1d2b0 authored by Detlef Runde's avatar Detlef Runde
Browse files

added .gitignore

parent 8487ed28
No related branches found
No related tags found
1 merge request!2Use now API v1.0.0
## Ignore .openapi-generator Folder
##
.openapi-generator/
server/src/Org.OpenAPITools/.gitignore
# Visual Studio cache/options directory
.vs/
# Visual Studio solution
*.sln
# build-jobs
build.*
# database data directory
data/
#generated readme
server/README.md
# all generated directories
Attributes/
Authentication/
Controllers/
Converters/
Filters/
Formatters/
Models/
OpenAPI/
Properties/
wwwroot/
# generated project-files
*.csproj
# generated Program.cs
Program.cs
# backup-files
*.bak
......@@ -60,13 +60,13 @@ remove sample code and replace it by using the appropriate methods of the corres
---
### folder `Models`:
add:
add to the classes to be stored in the database (i.e. `Trackable.cs`, `WorldAnchor.cs`, `WorldLink.cs`) :
```
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
```
at the value that is to become the MongoDB ID, add:
and at the value that is to become the MongoDB ID, add:
```
[BsonId]
[BsonRepresentation(BsonType.String)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment