diff --git a/.vs/Backend-API-Services/v17/.wsuo b/.vs/Backend-API-Services/v17/.wsuo new file mode 100644 index 0000000..f4f848c Binary files /dev/null and b/.vs/Backend-API-Services/v17/.wsuo differ diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..e011525 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\DamageAssesment.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/DamageAssesmentApi/DamageAssesment.Api.Answers/Db/Answer.cs b/DamageAssesmentApi/DamageAssesment.Api.Answers/Db/Answer.cs index 50553f5..4bedf6e 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Answers/Db/Answer.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Answers/Db/Answer.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Answers.Db { + [Table("Answers")] public class Answer { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Attachments/Db/Attachment.cs b/DamageAssesmentApi/DamageAssesment.Api.Attachments/Db/Attachment.cs index d27adc1..d764bfc 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Attachments/Db/Attachment.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Attachments/Db/Attachment.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Attachments.Db { + [Table("AnswerAttachments")] public class Attachment { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/Doculink.cs b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/Doculink.cs index 8fe5f21..dbd5f55 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/Doculink.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/Doculink.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.DocuLinks.Db { + [Table("Doculinks")] public class Doculink { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkAttachments.cs b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkAttachments.cs index 035ae9b..b6eac5c 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkAttachments.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkAttachments.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations; namespace DamageAssesment.Api.DocuLinks.Db { + [Table("DoculinkAttachments")] public class DoculinkAttachments { diff --git a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkTranslation.cs b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkTranslation.cs index b932f66..0bc52b2 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkTranslation.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/DoculinkTranslation.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.DocuLinks.Db { + [Table("DoculinkTrans")] public class DoculinkTranslation { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinkType.cs b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinkType.cs index 510f9e3..cc69ffa 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinkType.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinkType.cs @@ -1,7 +1,9 @@ using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.DocuLinks.Db { + [Table("DoculinkTypes")] public class LinkType { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinksTranslation.cs b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinksTranslation.cs index e477743..ad528d3 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinksTranslation.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.DocuLinks/Db/LinksTranslation.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations; namespace DamageAssesment.Api.DocuLinks.Db { + [Table("DoculinkTypeTrans")] public class LinksTranslation { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Employees/Db/Employee.cs b/DamageAssesmentApi/DamageAssesment.Api.Employees/Db/Employee.cs index 45ab57e..44132f4 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Employees/Db/Employee.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Employees/Db/Employee.cs @@ -1,7 +1,9 @@ using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Employees.Db { + [Table("Employees")] public class Employee { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Location.cs b/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Location.cs index 1774c9f..78e1921 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Location.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Location.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Locations.Db { + [Table("Locations")] public class Location { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Region.cs b/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Region.cs index c0b64bb..9de590e 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Region.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Region.cs @@ -1,7 +1,9 @@ using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Locations.Db { + [Table("Regions")] public class Region { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/CategoryTranslation.cs b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/CategoryTranslation.cs index b6e21fa..febc953 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/CategoryTranslation.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/CategoryTranslation.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations; namespace DamageAssesment.Api.Questions.Db { + [Table("QuestionCategoryTrans")] public class CategoryTranslation { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/Question.cs b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/Question.cs index 29d0c64..1944385 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/Question.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/Question.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Questions.Db { + [Table("Questions")] public class Question { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionCategory.cs b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionCategory.cs index 117f770..8d85c5c 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionCategory.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionCategory.cs @@ -1,8 +1,10 @@ using System.Buffers.Text; using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Questions.Db { + [Table("QuestionCategories")] public class QuestionCategory { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionType.cs b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionType.cs index 3d7e2b6..28a070d 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionType.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionType.cs @@ -1,7 +1,9 @@ using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Questions.Db { + [Table("QuestionTypes")] public class QuestionType { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionsTranslation.cs b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionsTranslation.cs index bfe75e8..08ac4ef 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionsTranslation.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Questions/Db/QuestionsTranslation.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Questions.Db { + [Table("QuestionTrans")] public class QuestionsTranslation { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Responses/Db/SurveyResponse.cs b/DamageAssesmentApi/DamageAssesment.Api.Responses/Db/SurveyResponse.cs index 14704cb..ec1604f 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Responses/Db/SurveyResponse.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Responses/Db/SurveyResponse.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Responses.Db { + [Table("SurveyResponses")] public class SurveyResponse { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/Survey.cs b/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/Survey.cs index c031f57..aa49acc 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/Survey.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/Survey.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace DamageAssesment.Api.Surveys.Db { + [Table("Surveys")] public class Survey { [Key] diff --git a/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/SurveyTranslation.cs b/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/SurveyTranslation.cs index 340bf12..e66f40a 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/SurveyTranslation.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Surveys/Db/SurveyTranslation.cs @@ -3,6 +3,7 @@ using System.ComponentModel.DataAnnotations; namespace DamageAssesment.Api.Surveys.Db { + [Table("SurveyTrans")] public class SurveyTranslation { [Key]