From eb83644996779b7285b762887be550b794330dca Mon Sep 17 00:00:00 2001 From: safia Date: Thu, 19 Dec 2024 04:34:24 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Forms/FormGrade.Designer.cs | 99 ++-- .../Forms/FormGrades.Designer.cs | 1 + .../Forms/FormGroup.Designer.cs | 4 +- .../Forms/FormGroups.Designer.cs | 37 +- .../Forms/FormLecturesCount.Designer.cs | 34 +- .../Forms/FormProfesor.Designer.cs | 35 +- .../Forms/FormProfessors.Designer.cs | 37 +- .../Forms/FormStudents.Designer.cs | 1 + .../Forms/FormSubject.Designer.cs | 93 ++-- StudentProgress/StudentProgress/Program.cs | 19 +- .../StudentProgress/appsettings.json | 2 +- .../StudentProgress/appsettings20241204.com | 125 ----- .../StudentProgress/appsettings20241205.com | 524 ------------------ 13 files changed, 158 insertions(+), 853 deletions(-) delete mode 100644 StudentProgress/StudentProgress/appsettings20241204.com delete mode 100644 StudentProgress/StudentProgress/appsettings20241205.com diff --git a/StudentProgress/StudentProgress/Forms/FormGrade.Designer.cs b/StudentProgress/StudentProgress/Forms/FormGrade.Designer.cs index ba4e515..38d6ba7 100644 --- a/StudentProgress/StudentProgress/Forms/FormGrade.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormGrade.Designer.cs @@ -28,7 +28,6 @@ /// private void InitializeComponent() { - label1 = new Label(); label2 = new Label(); label3 = new Label(); label4 = new Label(); @@ -37,56 +36,51 @@ dateTimePicker1 = new DateTimePicker(); comboBoxSubject = new ComboBox(); comboBoxProfessor = new ComboBox(); - checkedListBoxType = new CheckedListBox(); groupBox1 = new GroupBox(); groupBox2 = new GroupBox(); dataGridView1 = new DataGridView(); ColumnStudent = new DataGridViewComboBoxColumn(); + ColumnMark = new DataGridViewTextBoxColumn(); groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); SuspendLayout(); // - // label1 - // - label1.AutoSize = true; - label1.Location = new Point(62, 49); - label1.Name = "label1"; - label1.Size = new Size(94, 32); - label1.TabIndex = 0; - label1.Text = "Работа:"; - // // label2 // label2.AutoSize = true; - label2.Location = new Point(62, 272); + label2.Location = new Point(33, 42); + label2.Margin = new Padding(2, 0, 2, 0); label2.Name = "label2"; - label2.Size = new Size(116, 32); + label2.Size = new Size(58, 15); label2.TabIndex = 1; label2.Text = "Предмет:"; // // label3 // label3.AutoSize = true; - label3.Location = new Point(62, 370); + label3.Location = new Point(33, 90); + label3.Margin = new Padding(2, 0, 2, 0); label3.Name = "label3"; - label3.Size = new Size(191, 32); + label3.Size = new Size(95, 15); label3.TabIndex = 2; label3.Text = "Преподователь:"; // // label4 // label4.AutoSize = true; - label4.Location = new Point(62, 481); + label4.Location = new Point(33, 140); + label4.Margin = new Padding(2, 0, 2, 0); label4.Name = "label4"; - label4.Size = new Size(70, 32); + label4.Size = new Size(35, 15); label4.TabIndex = 3; label4.Text = "Дата:"; // // buttonSave // - buttonSave.Location = new Point(62, 625); + buttonSave.Location = new Point(33, 188); + buttonSave.Margin = new Padding(2, 1, 2, 1); buttonSave.Name = "buttonSave"; - buttonSave.Size = new Size(150, 46); + buttonSave.Size = new Size(81, 22); buttonSave.TabIndex = 4; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; @@ -94,9 +88,10 @@ // // buttonCancel // - buttonCancel.Location = new Point(357, 625); + buttonCancel.Location = new Point(192, 188); + buttonCancel.Margin = new Padding(2, 1, 2, 1); buttonCancel.Name = "buttonCancel"; - buttonCancel.Size = new Size(150, 46); + buttonCancel.Size = new Size(81, 22); buttonCancel.TabIndex = 5; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; @@ -104,40 +99,37 @@ // // dateTimePicker1 // - dateTimePicker1.Location = new Point(178, 481); + dateTimePicker1.Location = new Point(81, 134); + dateTimePicker1.Margin = new Padding(2, 1, 2, 1); dateTimePicker1.Name = "dateTimePicker1"; - dateTimePicker1.Size = new Size(400, 39); + dateTimePicker1.Size = new Size(192, 23); dateTimePicker1.TabIndex = 6; // // comboBoxSubject // comboBoxSubject.FormattingEnabled = true; - comboBoxSubject.Location = new Point(267, 272); + comboBoxSubject.Location = new Point(141, 42); + comboBoxSubject.Margin = new Padding(2, 1, 2, 1); comboBoxSubject.Name = "comboBoxSubject"; - comboBoxSubject.Size = new Size(242, 40); + comboBoxSubject.Size = new Size(132, 23); comboBoxSubject.TabIndex = 8; // // comboBoxProfessor // comboBoxProfessor.FormattingEnabled = true; - comboBoxProfessor.Location = new Point(267, 370); + comboBoxProfessor.Location = new Point(141, 87); + comboBoxProfessor.Margin = new Padding(2, 1, 2, 1); comboBoxProfessor.Name = "comboBoxProfessor"; - comboBoxProfessor.Size = new Size(242, 40); + comboBoxProfessor.Size = new Size(132, 23); comboBoxProfessor.TabIndex = 9; // - // checkedListBoxType - // - checkedListBoxType.FormattingEnabled = true; - checkedListBoxType.Location = new Point(267, 49); - checkedListBoxType.Name = "checkedListBoxType"; - checkedListBoxType.Size = new Size(240, 184); - checkedListBoxType.TabIndex = 10; - // // groupBox1 // - groupBox1.Location = new Point(680, 158); + groupBox1.Location = new Point(366, 74); + groupBox1.Margin = new Padding(2, 1, 2, 1); groupBox1.Name = "groupBox1"; - groupBox1.Size = new Size(400, 200); + groupBox1.Padding = new Padding(2, 1, 2, 1); + groupBox1.Size = new Size(215, 94); groupBox1.TabIndex = 11; groupBox1.TabStop = false; groupBox1.Text = "groupBox1"; @@ -145,11 +137,9 @@ // groupBox2 // groupBox2.Controls.Add(dataGridView1); - groupBox2.Location = new Point(627, 49); - groupBox2.Margin = new Padding(6); + groupBox2.Location = new Point(338, 23); groupBox2.Name = "groupBox2"; - groupBox2.Padding = new Padding(6); - groupBox2.Size = new Size(519, 622); + groupBox2.Size = new Size(279, 221); groupBox2.TabIndex = 12; groupBox2.TabStop = false; groupBox2.Text = "Оценка"; @@ -158,13 +148,13 @@ // dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView1.Columns.AddRange(new DataGridViewColumn[] { ColumnStudent }); + dataGridView1.Columns.AddRange(new DataGridViewColumn[] { ColumnStudent, ColumnMark }); dataGridView1.Dock = DockStyle.Fill; - dataGridView1.Location = new Point(6, 38); - dataGridView1.Margin = new Padding(6); + dataGridView1.Location = new Point(3, 19); dataGridView1.Name = "dataGridView1"; + dataGridView1.RowHeadersVisible = false; dataGridView1.RowHeadersWidth = 82; - dataGridView1.Size = new Size(507, 578); + dataGridView1.Size = new Size(273, 199); dataGridView1.TabIndex = 0; // // ColumnStudent @@ -173,14 +163,20 @@ ColumnStudent.MinimumWidth = 10; ColumnStudent.Name = "ColumnStudent"; // + // ColumnMark + // + ColumnMark.HeaderText = "Оценка"; + ColumnMark.Name = "ColumnMark"; + ColumnMark.Resizable = DataGridViewTriState.True; + ColumnMark.SortMode = DataGridViewColumnSortMode.NotSortable; + // // FormGrade // - AutoScaleDimensions = new SizeF(13F, 32F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1161, 779); + ClientSize = new Size(625, 273); Controls.Add(groupBox2); Controls.Add(groupBox1); - Controls.Add(checkedListBoxType); Controls.Add(comboBoxProfessor); Controls.Add(comboBoxSubject); Controls.Add(dateTimePicker1); @@ -189,10 +185,9 @@ Controls.Add(label4); Controls.Add(label3); Controls.Add(label2); - Controls.Add(label1); + Margin = new Padding(2, 1, 2, 1); Name = "FormGrade"; Text = "Оценка"; - Load += FormGrade_Load; groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit(); ResumeLayout(false); @@ -200,8 +195,6 @@ } #endregion - - private Label label1; private Label label2; private Label label3; private Label label4; @@ -210,10 +203,10 @@ private DateTimePicker dateTimePicker1; private ComboBox comboBoxSubject; private ComboBox comboBoxProfessor; - private CheckedListBox checkedListBoxType; private GroupBox groupBox1; private GroupBox groupBox2; private DataGridView dataGridView1; private DataGridViewComboBoxColumn ColumnStudent; + private DataGridViewTextBoxColumn ColumnMark; } } \ No newline at end of file diff --git a/StudentProgress/StudentProgress/Forms/FormGrades.Designer.cs b/StudentProgress/StudentProgress/Forms/FormGrades.Designer.cs index 971a6ae..0f37706 100644 --- a/StudentProgress/StudentProgress/Forms/FormGrades.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormGrades.Designer.cs @@ -82,6 +82,7 @@ dataGridView.Name = "dataGridView"; dataGridView.ReadOnly = true; dataGridView.RowHeadersVisible = false; + dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dataGridView.Size = new Size(548, 271); dataGridView.TabIndex = 1; // diff --git a/StudentProgress/StudentProgress/Forms/FormGroup.Designer.cs b/StudentProgress/StudentProgress/Forms/FormGroup.Designer.cs index a8e7978..d53d63e 100644 --- a/StudentProgress/StudentProgress/Forms/FormGroup.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormGroup.Designer.cs @@ -78,14 +78,14 @@ namespace StudentProgress.Forms buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; buttonCancel.Click += buttonCancel_Click; - + // // FormGroup // AutoScaleDimensions = new SizeF(13F, 32F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(644, 461); - + Controls.Add(buttonCancel); Controls.Add(buttonSave); Controls.Add(textBoxNameGroup); diff --git a/StudentProgress/StudentProgress/Forms/FormGroups.Designer.cs b/StudentProgress/StudentProgress/Forms/FormGroups.Designer.cs index 39004b1..de2db9c 100644 --- a/StudentProgress/StudentProgress/Forms/FormGroups.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormGroups.Designer.cs @@ -41,22 +41,27 @@ namespace StudentProgress.Forms // // dataGridView // + dataGridView.AllowUserToResizeColumns = false; + dataGridView.AllowUserToResizeRows = false; + dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView.Location = new Point(26, 30); - dataGridView.Margin = new Padding(6, 7, 6, 7); + dataGridView.Location = new Point(14, 14); + dataGridView.MultiSelect = false; dataGridView.Name = "dataGridView"; + dataGridView.ReadOnly = true; + dataGridView.RowHeadersVisible = false; dataGridView.RowHeadersWidth = 82; - dataGridView.Size = new Size(635, 569); + dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + dataGridView.Size = new Size(342, 267); dataGridView.TabIndex = 0; // // buttonAdd // buttonAdd.BackgroundImage = Properties.Resources.Add; buttonAdd.BackgroundImageLayout = ImageLayout.Stretch; - buttonAdd.Location = new Point(28, 37); - buttonAdd.Margin = new Padding(6, 7, 6, 7); + buttonAdd.Location = new Point(15, 17); buttonAdd.Name = "buttonAdd"; - buttonAdd.Size = new Size(162, 115); + buttonAdd.Size = new Size(87, 54); buttonAdd.TabIndex = 1; buttonAdd.UseVisualStyleBackColor = true; buttonAdd.Click += buttonAdd_Click; @@ -65,10 +70,9 @@ namespace StudentProgress.Forms // buttonPencil.BackgroundImage = Properties.Resources.Pencil; buttonPencil.BackgroundImageLayout = ImageLayout.Stretch; - buttonPencil.Location = new Point(28, 224); - buttonPencil.Margin = new Padding(6, 7, 6, 7); + buttonPencil.Location = new Point(15, 105); buttonPencil.Name = "buttonPencil"; - buttonPencil.Size = new Size(162, 127); + buttonPencil.Size = new Size(87, 60); buttonPencil.TabIndex = 2; buttonPencil.UseVisualStyleBackColor = true; buttonPencil.Click += buttonPencil_Click; @@ -77,10 +81,9 @@ namespace StudentProgress.Forms // buttonDel.BackgroundImage = Properties.Resources.Del; buttonDel.BackgroundImageLayout = ImageLayout.Stretch; - buttonDel.Location = new Point(28, 390); - buttonDel.Margin = new Padding(6, 7, 6, 7); + buttonDel.Location = new Point(15, 183); buttonDel.Name = "buttonDel"; - buttonDel.Size = new Size(162, 127); + buttonDel.Size = new Size(87, 60); buttonDel.TabIndex = 3; buttonDel.UseVisualStyleBackColor = true; buttonDel.Click += buttonDel_Click; @@ -90,19 +93,19 @@ namespace StudentProgress.Forms panel1.Controls.Add(buttonAdd); panel1.Controls.Add(buttonDel); panel1.Controls.Add(buttonPencil); - panel1.Location = new Point(693, 30); + panel1.Location = new Point(373, 14); + panel1.Margin = new Padding(2, 1, 2, 1); panel1.Name = "panel1"; - panel1.Size = new Size(214, 569); + panel1.Size = new Size(115, 267); panel1.TabIndex = 4; // // FormGroups // - AutoScaleDimensions = new SizeF(13F, 32F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(919, 628); + ClientSize = new Size(495, 294); Controls.Add(panel1); Controls.Add(dataGridView); - Margin = new Padding(6, 7, 6, 7); Name = "FormGroups"; Text = "Группы"; Load += FormGroups_Load; diff --git a/StudentProgress/StudentProgress/Forms/FormLecturesCount.Designer.cs b/StudentProgress/StudentProgress/Forms/FormLecturesCount.Designer.cs index 349cc40..376186b 100644 --- a/StudentProgress/StudentProgress/Forms/FormLecturesCount.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormLecturesCount.Designer.cs @@ -38,23 +38,27 @@ // // LecturesDataGridView // + LecturesDataGridView.AllowUserToResizeColumns = false; + LecturesDataGridView.AllowUserToResizeRows = false; + LecturesDataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; LecturesDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - LecturesDataGridView.Location = new Point(15, 16); - LecturesDataGridView.Margin = new Padding(6, 7, 6, 7); + LecturesDataGridView.Location = new Point(8, 8); + LecturesDataGridView.MultiSelect = false; LecturesDataGridView.Name = "LecturesDataGridView"; + LecturesDataGridView.RowHeadersVisible = false; LecturesDataGridView.RowHeadersWidth = 82; - LecturesDataGridView.Size = new Size(841, 459); + LecturesDataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + LecturesDataGridView.Size = new Size(453, 215); LecturesDataGridView.TabIndex = 0; - LecturesDataGridView.CellContentClick += LecturesDataGridView_CellContentClick; // // buttonAdd // buttonAdd.BackgroundImage = Properties.Resources.Add; buttonAdd.BackgroundImageLayout = ImageLayout.Stretch; - buttonAdd.Location = new Point(28, 36); - buttonAdd.Margin = new Padding(13, 17, 13, 17); + buttonAdd.Location = new Point(15, 17); + buttonAdd.Margin = new Padding(7, 8, 7, 8); buttonAdd.Name = "buttonAdd"; - buttonAdd.Size = new Size(155, 128); + buttonAdd.Size = new Size(83, 60); buttonAdd.TabIndex = 1; buttonAdd.UseVisualStyleBackColor = true; buttonAdd.Click += buttonAdd_Click; @@ -63,10 +67,10 @@ // buttonDel.BackgroundImage = Properties.Resources.Del; buttonDel.BackgroundImageLayout = ImageLayout.Stretch; - buttonDel.Location = new Point(25, 281); - buttonDel.Margin = new Padding(13, 17, 13, 17); + buttonDel.Location = new Point(13, 132); + buttonDel.Margin = new Padding(7, 8, 7, 8); buttonDel.Name = "buttonDel"; - buttonDel.Size = new Size(158, 138); + buttonDel.Size = new Size(85, 65); buttonDel.TabIndex = 2; buttonDel.UseVisualStyleBackColor = true; buttonDel.Click += buttonDel_Click; @@ -75,19 +79,19 @@ // panel1.Controls.Add(buttonAdd); panel1.Controls.Add(buttonDel); - panel1.Location = new Point(885, 16); + panel1.Location = new Point(477, 8); + panel1.Margin = new Padding(2, 1, 2, 1); panel1.Name = "panel1"; - panel1.Size = new Size(216, 452); + panel1.Size = new Size(116, 212); panel1.TabIndex = 3; // // FormLecturesCount // - AutoScaleDimensions = new SizeF(13F, 32F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1112, 493); + ClientSize = new Size(599, 231); Controls.Add(panel1); Controls.Add(LecturesDataGridView); - Margin = new Padding(6, 7, 6, 7); Name = "FormLecturesCount"; Text = "Учет лекций"; Load += FormLecturesCount_Load; diff --git a/StudentProgress/StudentProgress/Forms/FormProfesor.Designer.cs b/StudentProgress/StudentProgress/Forms/FormProfesor.Designer.cs index e7785f5..692846a 100644 --- a/StudentProgress/StudentProgress/Forms/FormProfesor.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormProfesor.Designer.cs @@ -40,26 +40,23 @@ namespace StudentProgress.Forms // // textBoxFirstName // - textBoxFirstName.Location = new Point(235, 28); - textBoxFirstName.Margin = new Padding(6, 7, 6, 7); + textBoxFirstName.Location = new Point(127, 13); textBoxFirstName.Name = "textBoxFirstName"; - textBoxFirstName.Size = new Size(252, 39); + textBoxFirstName.Size = new Size(167, 23); textBoxFirstName.TabIndex = 0; // // textBoxSurname // - textBoxSurname.Location = new Point(235, 105); - textBoxSurname.Margin = new Padding(6, 7, 6, 7); + textBoxSurname.Location = new Point(127, 49); textBoxSurname.Name = "textBoxSurname"; - textBoxSurname.Size = new Size(306, 39); + textBoxSurname.Size = new Size(167, 23); textBoxSurname.TabIndex = 1; // // buttonSave // - buttonSave.Location = new Point(53, 233); - buttonSave.Margin = new Padding(6, 7, 6, 7); + buttonSave.Location = new Point(29, 109); buttonSave.Name = "buttonSave"; - buttonSave.Size = new Size(162, 57); + buttonSave.Size = new Size(87, 27); buttonSave.TabIndex = 2; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; @@ -67,10 +64,9 @@ namespace StudentProgress.Forms // // buttonCancel // - buttonCancel.Location = new Point(286, 233); - buttonCancel.Margin = new Padding(6, 7, 6, 7); + buttonCancel.Location = new Point(154, 109); buttonCancel.Name = "buttonCancel"; - buttonCancel.Size = new Size(162, 57); + buttonCancel.Size = new Size(87, 27); buttonCancel.TabIndex = 3; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; @@ -79,33 +75,34 @@ namespace StudentProgress.Forms // label1 // label1.AutoSize = true; - label1.Location = new Point(53, 31); + label1.Location = new Point(29, 15); + label1.Margin = new Padding(2, 0, 2, 0); label1.Name = "label1"; - label1.Size = new Size(66, 32); + label1.Size = new Size(34, 15); label1.TabIndex = 4; label1.Text = "Имя:"; // // label2 // label2.AutoSize = true; - label2.Location = new Point(53, 105); + label2.Location = new Point(29, 49); + label2.Margin = new Padding(2, 0, 2, 0); label2.Name = "label2"; - label2.Size = new Size(113, 32); + label2.Size = new Size(58, 15); label2.TabIndex = 5; label2.Text = "Фамилия"; // // FormProfessor // - AutoScaleDimensions = new SizeF(13F, 32F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(695, 354); + ClientSize = new Size(374, 166); Controls.Add(label2); Controls.Add(label1); Controls.Add(buttonCancel); Controls.Add(buttonSave); Controls.Add(textBoxSurname); Controls.Add(textBoxFirstName); - Margin = new Padding(6, 7, 6, 7); Name = "FormProfessor"; Text = "Преподаватель"; ResumeLayout(false); diff --git a/StudentProgress/StudentProgress/Forms/FormProfessors.Designer.cs b/StudentProgress/StudentProgress/Forms/FormProfessors.Designer.cs index 474138e..52fcf53 100644 --- a/StudentProgress/StudentProgress/Forms/FormProfessors.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormProfessors.Designer.cs @@ -39,60 +39,61 @@ namespace StudentProgress.Forms // // dataGridView // + dataGridView.AllowUserToResizeColumns = false; + dataGridView.AllowUserToResizeRows = false; + dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView.Location = new Point(26, 30); - dataGridView.Margin = new Padding(6, 7, 6, 7); + dataGridView.Location = new Point(14, 14); + dataGridView.MultiSelect = false; dataGridView.Name = "dataGridView"; + dataGridView.RowHeadersVisible = false; dataGridView.RowHeadersWidth = 82; - dataGridView.Size = new Size(867, 492); + dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + dataGridView.Size = new Size(467, 231); dataGridView.TabIndex = 0; // // buttonAdd // - buttonAdd.BackgroundImage = StudentProgress.Properties.Resources.Add; + buttonAdd.BackgroundImage = Properties.Resources.Add; buttonAdd.BackgroundImageLayout = ImageLayout.Stretch; - buttonAdd.Location = new Point(935, 30); - buttonAdd.Margin = new Padding(6, 7, 6, 7); + buttonAdd.Location = new Point(503, 14); buttonAdd.Name = "buttonAdd"; - buttonAdd.Size = new Size(162, 118); + buttonAdd.Size = new Size(87, 55); buttonAdd.TabIndex = 1; buttonAdd.UseVisualStyleBackColor = true; buttonAdd.Click += buttonAdd_Click; // // buttonPencil // - buttonPencil.BackgroundImage = StudentProgress.Properties.Resources.Pencil; + buttonPencil.BackgroundImage = Properties.Resources.Pencil; buttonPencil.BackgroundImageLayout = ImageLayout.Stretch; - buttonPencil.Location = new Point(935, 224); - buttonPencil.Margin = new Padding(6, 7, 6, 7); + buttonPencil.Location = new Point(503, 105); buttonPencil.Name = "buttonPencil"; - buttonPencil.Size = new Size(162, 118); + buttonPencil.Size = new Size(87, 55); buttonPencil.TabIndex = 2; buttonPencil.UseVisualStyleBackColor = true; buttonPencil.Click += buttonPencil_Click; // // buttonDel // - buttonDel.BackgroundImage = StudentProgress.Properties.Resources.Del; + buttonDel.BackgroundImage = Properties.Resources.Del; buttonDel.BackgroundImageLayout = ImageLayout.Stretch; - buttonDel.Location = new Point(935, 396); - buttonDel.Margin = new Padding(6, 7, 6, 7); + buttonDel.Location = new Point(503, 186); buttonDel.Name = "buttonDel"; - buttonDel.Size = new Size(162, 126); + buttonDel.Size = new Size(87, 59); buttonDel.TabIndex = 3; buttonDel.UseVisualStyleBackColor = true; buttonDel.Click += buttonDel_Click; // // FormProfessors // - AutoScaleDimensions = new SizeF(13F, 32F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1148, 628); + ClientSize = new Size(618, 294); Controls.Add(buttonDel); Controls.Add(buttonPencil); Controls.Add(buttonAdd); Controls.Add(dataGridView); - Margin = new Padding(6, 7, 6, 7); Name = "FormProfessors"; Text = "Преподаватели"; Load += FormProfessors_Load; diff --git a/StudentProgress/StudentProgress/Forms/FormStudents.Designer.cs b/StudentProgress/StudentProgress/Forms/FormStudents.Designer.cs index fa130c6..37be8ec 100644 --- a/StudentProgress/StudentProgress/Forms/FormStudents.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormStudents.Designer.cs @@ -95,6 +95,7 @@ dataGridView.Name = "dataGridView"; dataGridView.ReadOnly = true; dataGridView.RowHeadersVisible = false; + dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dataGridView.Size = new Size(548, 271); dataGridView.TabIndex = 1; // diff --git a/StudentProgress/StudentProgress/Forms/FormSubject.Designer.cs b/StudentProgress/StudentProgress/Forms/FormSubject.Designer.cs index 4ac615a..0fb853e 100644 --- a/StudentProgress/StudentProgress/Forms/FormSubject.Designer.cs +++ b/StudentProgress/StudentProgress/Forms/FormSubject.Designer.cs @@ -20,27 +20,23 @@ namespace StudentPerformance.Forms buttonSave = new Button(); buttonCancel = new Button(); labelName = new Label(); - groupBox = new GroupBox(); - dataGridView = new DataGridView(); - ColumnLast = new DataGridViewComboBoxColumn(); - groupBox.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); + checkedListBoxCourses = new CheckedListBox(); + groupBox1 = new GroupBox(); + groupBox1.SuspendLayout(); SuspendLayout(); // // textBoxName // - textBoxName.Location = new Point(183, 47); - textBoxName.Margin = new Padding(6, 7, 6, 7); + textBoxName.Location = new Point(99, 22); textBoxName.Name = "textBoxName"; - textBoxName.Size = new Size(343, 39); + textBoxName.Size = new Size(187, 23); textBoxName.TabIndex = 0; // // buttonSave // - buttonSave.Location = new Point(32, 579); - buttonSave.Margin = new Padding(6, 7, 6, 7); + buttonSave.Location = new Point(17, 271); buttonSave.Name = "buttonSave"; - buttonSave.Size = new Size(162, 57); + buttonSave.Size = new Size(87, 27); buttonSave.TabIndex = 1; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; @@ -48,10 +44,9 @@ namespace StudentPerformance.Forms // // buttonCancel // - buttonCancel.Location = new Point(370, 597); - buttonCancel.Margin = new Padding(6, 7, 6, 7); + buttonCancel.Location = new Point(199, 280); buttonCancel.Name = "buttonCancel"; - buttonCancel.Size = new Size(162, 57); + buttonCancel.Size = new Size(87, 27); buttonCancel.TabIndex = 2; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; @@ -60,67 +55,44 @@ namespace StudentPerformance.Forms // labelName // labelName.AutoSize = true; - labelName.Location = new Point(32, 47); - labelName.Margin = new Padding(6, 0, 6, 0); + labelName.Location = new Point(17, 22); labelName.Name = "labelName"; - labelName.Size = new Size(111, 32); + labelName.Size = new Size(55, 15); labelName.TabIndex = 3; labelName.Text = "Предмет"; // - // groupBox + // checkedListBoxCourses // - groupBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; - groupBox.Controls.Add(dataGridView); - groupBox.Location = new Point(32, 111); - groupBox.Margin = new Padding(6); - groupBox.Name = "groupBox"; - groupBox.Padding = new Padding(6); - groupBox.Size = new Size(494, 435); - groupBox.TabIndex = 3; - groupBox.TabStop = false; - groupBox.Text = "Преподаватели"; + checkedListBoxCourses.Dock = DockStyle.Fill; + checkedListBoxCourses.FormattingEnabled = true; + checkedListBoxCourses.Location = new Point(3, 19); + checkedListBoxCourses.Name = "checkedListBoxCourses"; + checkedListBoxCourses.Size = new Size(263, 179); + checkedListBoxCourses.TabIndex = 4; // - // dataGridView + // groupBox1 // - dataGridView.AllowUserToDeleteRows = false; - dataGridView.AllowUserToResizeColumns = false; - dataGridView.AllowUserToResizeRows = false; - dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnLast }); - dataGridView.Dock = DockStyle.Fill; - dataGridView.Location = new Point(6, 38); - dataGridView.Margin = new Padding(6); - dataGridView.MultiSelect = false; - dataGridView.Name = "dataGridView"; - dataGridView.RowHeadersVisible = false; - dataGridView.RowHeadersWidth = 82; - dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; - dataGridView.Size = new Size(482, 391); - dataGridView.TabIndex = 0; - // - // ColumnLast - // - ColumnLast.HeaderText = "Фамилия преподавателя"; - ColumnLast.MinimumWidth = 10; - ColumnLast.Name = "ColumnLast"; - ColumnLast.Width = 200; + groupBox1.Controls.Add(checkedListBoxCourses); + groupBox1.Location = new Point(17, 64); + groupBox1.Name = "groupBox1"; + groupBox1.Size = new Size(269, 201); + groupBox1.TabIndex = 5; + groupBox1.TabStop = false; + groupBox1.Text = "Курсы"; // // FormSubject // - AutoScaleDimensions = new SizeF(13F, 32F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(590, 719); - Controls.Add(groupBox); + ClientSize = new Size(318, 337); + Controls.Add(groupBox1); Controls.Add(labelName); Controls.Add(buttonCancel); Controls.Add(buttonSave); Controls.Add(textBoxName); - Margin = new Padding(6, 7, 6, 7); Name = "FormSubject"; Text = "Предметы"; - Load += FormSubject_Load; - groupBox.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); + groupBox1.ResumeLayout(false); ResumeLayout(false); PerformLayout(); } @@ -129,8 +101,7 @@ namespace StudentPerformance.Forms private System.Windows.Forms.Button buttonSave; private System.Windows.Forms.Button buttonCancel; private System.Windows.Forms.Label labelName; - private GroupBox groupBox; - private DataGridView dataGridView; - private DataGridViewComboBoxColumn ColumnLast; + private CheckedListBox checkedListBoxCourses; + private GroupBox groupBox1; } } \ No newline at end of file diff --git a/StudentProgress/StudentProgress/Program.cs b/StudentProgress/StudentProgress/Program.cs index 000fa72..1f402b4 100644 --- a/StudentProgress/StudentProgress/Program.cs +++ b/StudentProgress/StudentProgress/Program.cs @@ -3,14 +3,9 @@ using Microsoft.Extensions.Logging; using Serilog; using Unity; using Unity.Lifetime; -using Serilog.Extensions.Logging; -using StudentProgress.Forms; using StudentProgress.Repositories; using StudentProgress.Repositories.Implementations; -using Unity; using Unity.Microsoft.Logging; -using System; -using System.Windows.Forms; using StudentPerformance.Repositories.Implementations; namespace StudentProgress @@ -28,17 +23,14 @@ namespace StudentProgress Application.Run(container.Resolve()); } - public static UnityContainer CreateContainer() + public static IUnityContainer CreateContainer() { var container = new UnityContainer(); - // container.AddExtension(new LoggingExtension(CreateLoggerFactory())); - // container.RegisterType(new SingletonLifetimeManager()); - // container.RegisterType(new TransientLifetimeManager()); container.RegisterType(new TransientLifetimeManager()); container.RegisterType(new TransientLifetimeManager()); @@ -46,15 +38,6 @@ namespace StudentProgress container.RegisterType(new TransientLifetimeManager()); container.RegisterType(new TransientLifetimeManager()); - // - container.RegisterType(); - container.RegisterType(); - container.RegisterType(); - container.RegisterType(); - container.RegisterType(); - container.RegisterType(); - container.RegisterType(); - return container; } diff --git a/StudentProgress/StudentProgress/appsettings.json b/StudentProgress/StudentProgress/appsettings.json index 0258958..11a02b2 100644 --- a/StudentProgress/StudentProgress/appsettings.json +++ b/StudentProgress/StudentProgress/appsettings.json @@ -6,7 +6,7 @@ { "Name": "File", "Args": { - "path": "C:\\отп\\StudentProgress\\StudentProgress\\appsettings.json", + "path": "Logs/log.txt", "rollingInterval": "Day" } } diff --git a/StudentProgress/StudentProgress/appsettings20241204.com b/StudentProgress/StudentProgress/appsettings20241204.com deleted file mode 100644 index bb0380d..0000000 --- a/StudentProgress/StudentProgress/appsettings20241204.com +++ /dev/null @@ -1,125 +0,0 @@ -2024-12-04 18:12:04.577 +04:00 [INF] Получение групп -2024-12-04 18:12:05.492 +04:00 [ERR] Ошибка при чтении групп -System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. - at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 64 -2024-12-04 18:12:33.740 +04:00 [INF] Добавление группы -2024-12-04 18:12:34.889 +04:00 [DBG] Группа: {"Id":0,"NameGroup":"vhghg"} -2024-12-04 18:12:35.068 +04:00 [ERR] Ошибка при добавлении группы -System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. - at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 29 -2024-12-04 18:12:41.544 +04:00 [INF] Получение групп -2024-12-04 18:12:41.590 +04:00 [ERR] Ошибка при чтении групп -System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. - at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 64 -2024-12-04 18:14:45.539 +04:00 [INF] Получение групп -2024-12-04 18:14:45.623 +04:00 [ERR] Ошибка при чтении групп -System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. - at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 64 -2024-12-04 18:27:30.144 +04:00 [INF] Получение групп -2024-12-04 18:27:30.580 +04:00 [ERR] Ошибка при чтении групп -System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. - at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 64 -2024-12-04 18:40:36.369 +04:00 [INF] Получение групп -2024-12-04 18:40:37.721 +04:00 [ERR] Ошибка при чтении групп -System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. - at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 64 -2024-12-04 19:09:36.613 +04:00 [INF] Получение всех объектов -2024-12-04 19:09:37.378 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 3D000: database "studentperformancebd" does not exist - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.Open() - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 65 - Exception data: - Severity: FATAL - SqlState: 3D000 - MessageText: database "studentperformancebd" does not exist - File: postinit.c - Line: 1050 - Routine: InitPostgres -2024-12-04 19:48:23.173 +04:00 [INF] Получение всех объектов -2024-12-04 19:48:26.525 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 3D000: database "studentperformancebd" does not exist - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.Open() - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 65 - Exception data: - Severity: FATAL - SqlState: 3D000 - MessageText: database "studentperformancebd" does not exist - File: postinit.c - Line: 1050 - Routine: InitPostgres diff --git a/StudentProgress/StudentProgress/appsettings20241205.com b/StudentProgress/StudentProgress/appsettings20241205.com deleted file mode 100644 index a1e9f79..0000000 --- a/StudentProgress/StudentProgress/appsettings20241205.com +++ /dev/null @@ -1,524 +0,0 @@ -2024-12-05 03:52:19.883 +04:00 [INF] Получение всех объектов -2024-12-05 03:52:20.333 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 3D000: database "studentperformancebd" does not exist - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.Open() - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 65 - Exception data: - Severity: FATAL - SqlState: 3D000 - MessageText: database "studentperformancebd" does not exist - File: postinit.c - Line: 1050 - Routine: InitPostgres -2024-12-05 03:52:31.028 +04:00 [INF] Получение оценок -2024-12-05 03:52:31.056 +04:00 [ERR] Ошибка при чтении оценок -System.ArgumentException: Keyword not supported: 'host'. - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GradesRepository.ReadGrades(Nullable`1 dateFrom, Nullable`1 dateTo, Nullable`1 subjectsId, Nullable`1 professorsId) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GradesRepository.cs:line 64 -2024-12-05 03:52:40.306 +04:00 [INF] Получение оценок -2024-12-05 03:52:40.306 +04:00 [ERR] Ошибка при чтении оценок -System.ArgumentException: Keyword not supported: 'host'. - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GradesRepository.ReadGrades(Nullable`1 dateFrom, Nullable`1 dateTo, Nullable`1 subjectsId, Nullable`1 professorsId) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GradesRepository.cs:line 64 -2024-12-05 03:52:50.012 +04:00 [INF] Получение преподавателей -2024-12-05 03:52:50.013 +04:00 [ERR] Ошибка при чтении преподавателей -System.ArgumentException: Keyword not supported: 'host'. - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 64 -2024-12-05 08:57:04.261 +04:00 [INF] Получение объектов -2024-12-05 08:57:05.030 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 3D000: database "studentperformancebd" does not exist - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.Open() - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentProgress.Repositories.Implementations.SubjectsRepository.ReadSubjects(Nullable`1 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\SubjectsRepository.cs:line 113 - Exception data: - Severity: FATAL - SqlState: 3D000 - MessageText: database "studentperformancebd" does not exist - File: postinit.c - Line: 1050 - Routine: InitPostgres -2024-12-05 12:31:25.485 +04:00 [INF] Получение всех объектов -2024-12-05 12:31:26.556 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 3D000: database "studentperformancebd" does not exist - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.Open() - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 65 - Exception data: - Severity: FATAL - SqlState: 3D000 - MessageText: database "studentperformancebd" does not exist - File: postinit.c - Line: 1050 - Routine: InitPostgres -2024-12-05 12:58:08.317 +04:00 [INF] Получение оценок -2024-12-05 12:58:08.808 +04:00 [ERR] Ошибка при чтении оценок -System.ArgumentException: Keyword not supported: 'host'. - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.GradesRepository.ReadGrades(Nullable`1 dateFrom, Nullable`1 dateTo, Nullable`1 subjectsId, Nullable`1 professorsId) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GradesRepository.cs:line 64 -2024-12-05 12:58:26.316 +04:00 [INF] Получение лекций -2024-12-05 12:58:26.999 +04:00 [ERR] Ошибка при чтении лекций -System.ArgumentException: Keyword not supported: 'host'. - at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) - at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) - at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) - at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) - at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) - at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) - at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) - at System.Data.SqlClient.SqlConnection..ctor(String connectionString) - at StudentProgress.Repositories.Implementations.LecturesRepository.ReadLectures() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\LecturesRepository.cs:line 28 -2024-12-05 13:06:50.514 +04:00 [INF] Получение всех объектов -2024-12-05 13:06:51.428 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 3D000: database "StudentProgress" does not exist - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlConnection.Open() - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 65 - Exception data: - Severity: FATAL - SqlState: 3D000 - MessageText: database "StudentProgress" does not exist - File: postinit.c - Line: 1050 - Routine: InitPostgres -2024-12-05 13:08:15.288 +04:00 [INF] Получение всех объектов -2024-12-05 13:08:16.452 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":""},{"Id":0,"NameGroup":""}] -2024-12-05 13:08:30.577 +04:00 [INF] Добавление объекта -2024-12-05 13:08:30.579 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"исэбд-22"} -2024-12-05 13:08:30.724 +04:00 [ERR] Ошибка при добавлении объекта -Npgsql.PostgresException (0x80004005): 42703: column "namegroup" of relation "groups" does not exist - -POSITION: 21 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery() - at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 - at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 - at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 - at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "namegroup" of relation "groups" does not exist - Position: 21 - File: parse_target.c - Line: 1070 - Routine: checkInsertTargets -2024-12-05 13:10:04.161 +04:00 [INF] Добавление объекта -2024-12-05 13:10:04.174 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"22"} -2024-12-05 13:10:04.323 +04:00 [ERR] Ошибка при добавлении объекта -Npgsql.PostgresException (0x80004005): 42703: column "namegroup" of relation "groups" does not exist - -POSITION: 21 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery() - at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 - at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 - at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 - at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "namegroup" of relation "groups" does not exist - Position: 21 - File: parse_target.c - Line: 1070 - Routine: checkInsertTargets -2024-12-05 13:10:16.998 +04:00 [INF] Получение всех объектов -2024-12-05 13:10:17.016 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":""},{"Id":0,"NameGroup":""}] -2024-12-05 13:16:20.215 +04:00 [INF] Получение всех объектов -2024-12-05 13:16:22.404 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] -2024-12-05 13:16:41.980 +04:00 [INF] Добавление объекта -2024-12-05 13:16:41.983 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"исэбд-22"} -2024-12-05 13:16:42.208 +04:00 [ERR] Ошибка при добавлении объекта -Npgsql.PostgresException (0x80004005): 42703: column "course" of relation "groups" does not exist - -POSITION: 32 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery() - at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 - at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 - at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 - at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "course" of relation "groups" does not exist - Position: 32 - File: parse_target.c - Line: 1070 - Routine: checkInsertTargets -2024-12-05 13:17:02.529 +04:00 [INF] Получение объекта по идентификатору -2024-12-05 13:17:02.530 +04:00 [DBG] Объект: 0 -2024-12-05 13:17:02.612 +04:00 [ERR] Ошибка при поиске объекта -Npgsql.PostgresException (0x80004005): 42703: column "id" does not exist - -POSITION: 31 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277 - at Dapper.SqlMapper.QueryFirst[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 836 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroupById(Int32 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 87 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "id" does not exist - Position: 31 - File: parse_relation.c - Line: 3721 - Routine: errorMissingColumn -2024-12-05 13:17:05.088 +04:00 [INF] Получение всех объектов -2024-12-05 13:17:05.102 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] -2024-12-05 13:17:08.655 +04:00 [INF] Получение всех объектов -2024-12-05 13:17:08.663 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] -2024-12-05 13:17:15.051 +04:00 [INF] Удаление объекта -2024-12-05 13:17:15.053 +04:00 [DBG] Объект: 0 -2024-12-05 13:17:15.119 +04:00 [ERR] Ошибка при удалении объекта -Npgsql.PostgresException (0x80004005): 42703: column "id" does not exist - -POSITION: 29 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery() - at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 - at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 - at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 - at StudentPerformance.Repositories.Implementations.GroupRepository.DeleteGroup(Int32 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 49 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "id" does not exist - Position: 29 - File: parse_relation.c - Line: 3721 - Routine: errorMissingColumn -2024-12-05 13:19:43.949 +04:00 [INF] Получение всех объектов -2024-12-05 13:19:46.043 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] -2024-12-05 13:20:01.938 +04:00 [INF] Добавление объекта -2024-12-05 13:20:01.942 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"исэбд-22"} -2024-12-05 13:20:02.154 +04:00 [ERR] Ошибка при добавлении объекта -Npgsql.PostgresException (0x80004005): 42703: column "namefaculty" of relation "groups" does not exist - -POSITION: 40 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery() - at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 - at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 - at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 - at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "namefaculty" of relation "groups" does not exist - Position: 40 - File: parse_target.c - Line: 1070 - Routine: checkInsertTargets -2024-12-05 13:20:45.534 +04:00 [INF] Получение объекта по идентификатору -2024-12-05 13:20:45.537 +04:00 [DBG] Объект: 0 -2024-12-05 13:20:45.613 +04:00 [ERR] Ошибка при поиске объекта -Npgsql.PostgresException (0x80004005): 42703: column "id" does not exist - -POSITION: 31 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277 - at Dapper.SqlMapper.QueryFirst[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 836 - at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroupById(Int32 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 87 - Exception data: - Severity: ERROR - SqlState: 42703 - MessageText: column "id" does not exist - Position: 31 - File: parse_relation.c - Line: 3721 - Routine: errorMissingColumn -2024-12-05 13:20:47.672 +04:00 [INF] Получение всех объектов -2024-12-05 13:20:47.694 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] -2024-12-05 13:20:52.194 +04:00 [INF] Получение всех объектов -2024-12-05 13:20:52.248 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 42P01: relation "student" does not exist - -POSITION: 15 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.StudentRepository.ReadStudents(Nullable`1 groupID) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\StudentRepository.cs:line 93 - Exception data: - Severity: ERROR - SqlState: 42P01 - MessageText: relation "student" does not exist - Position: 15 - File: parse_relation.c - Line: 1452 - Routine: parserOpenTable -2024-12-05 13:21:00.660 +04:00 [INF] Получение всех объектов -2024-12-05 13:21:00.670 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] -2024-12-05 13:21:07.759 +04:00 [INF] Добавление объекта -2024-12-05 13:21:07.768 +04:00 [DBG] Объект: {"Id":0,"Name":"авава","Surname":"вваав","GroupId":0} -2024-12-05 13:21:07.812 +04:00 [ERR] Ошибка при добавлении объекта -Npgsql.PostgresException (0x80004005): 42P01: relation "student" does not exist - -POSITION: 15 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteNonQuery() - at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 - at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 - at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 - at StudentPerformance.Repositories.Implementations.StudentRepository.CreateStudent(Student student) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\StudentRepository.cs:line 33 - Exception data: - Severity: ERROR - SqlState: 42P01 - MessageText: relation "student" does not exist - Position: 15 - File: parse_relation.c - Line: 1452 - Routine: parserOpenTable -2024-12-05 13:21:19.384 +04:00 [INF] Получение всех объектов -2024-12-05 13:21:19.454 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 42P01: relation "student" does not exist - -POSITION: 15 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentPerformance.Repositories.Implementations.StudentRepository.ReadStudents(Nullable`1 groupID) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\StudentRepository.cs:line 93 - Exception data: - Severity: ERROR - SqlState: 42P01 - MessageText: relation "student" does not exist - Position: 15 - File: parse_relation.c - Line: 1452 - Routine: parserOpenTable -2024-12-05 13:21:26.154 +04:00 [INF] Получение всех объектов -2024-12-05 13:21:26.191 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 42P01: relation "professorsname" does not exist - -POSITION: 15 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 67 - Exception data: - Severity: ERROR - SqlState: 42P01 - MessageText: relation "professorsname" does not exist - Position: 15 - File: parse_relation.c - Line: 1452 - Routine: parserOpenTable -2024-12-05 13:21:38.506 +04:00 [INF] Получение всех объектов -2024-12-05 13:21:38.559 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 42P01: relation "professorsname" does not exist - -POSITION: 15 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 67 - Exception data: - Severity: ERROR - SqlState: 42P01 - MessageText: relation "professorsname" does not exist - Position: 15 - File: parse_relation.c - Line: 1452 - Routine: parserOpenTable -2024-12-05 13:21:49.442 +04:00 [INF] Получение всех объектов -2024-12-05 13:21:49.533 +04:00 [ERR] Ошибка при чтении объектов -Npgsql.PostgresException (0x80004005): 42P01: relation "professorsname" does not exist - -POSITION: 15 - at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) - at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) - at Npgsql.NpgsqlDataReader.NextResult() - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) - at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) - at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 - at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 - at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) - at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) - at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 - at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 67 - Exception data: - Severity: ERROR - SqlState: 42P01 - MessageText: relation "professorsname" does not exist - Position: 15 - File: parse_relation.c - Line: 1452 - Routine: parserOpenTable