From 7cf1d2b07963477c7c5ad4401179c1759d1c8bba Mon Sep 17 00:00:00 2001 From: Detlef Runde Date: Tue, 12 Apr 2022 10:02:59 +0200 Subject: [PATCH] added .gitignore --- .gitignore | 40 ++++++++++++++++++++++++++++++++++++++++ readme.md | 4 ++-- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8cfb7fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +## 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 diff --git a/readme.md b/readme.md index 5efc95a..1988151 100644 --- a/readme.md +++ b/readme.md @@ -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)] -- GitLab