Commit 7cf1d2b0 authored by Detlef Runde's avatar Detlef Runde
Browse files

added .gitignore

parent 8487ed28
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+40 −0
Original line number Original line Diff line number Diff line
## 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
+2 −2
Original line number Original line Diff line number Diff line
@@ -60,13 +60,13 @@ remove sample code and replace it by using the appropriate methods of the corres
--- 
--- 


### folder `Models`:
### 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;
  using MongoDB.Bson.Serialization.Attributes;
  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]
  [BsonId]
  [BsonRepresentation(BsonType.String)]
  [BsonRepresentation(BsonType.String)]