commit 462ca0af9b7948d157f87d44e2a99c06abfdb0e5 Author: adm Date: Fri Dec 27 13:32:41 2024 +0300 init diff --git a/.vs/Demo3/DesignTimeBuild/.dtbcache.v2 b/.vs/Demo3/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..c0875ea Binary files /dev/null and b/.vs/Demo3/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Demo3/FileContentIndex/2cbd5afd-2d00-4349-b7f6-ba9dffb6aa90.vsidx b/.vs/Demo3/FileContentIndex/2cbd5afd-2d00-4349-b7f6-ba9dffb6aa90.vsidx new file mode 100644 index 0000000..652bc5a Binary files /dev/null and b/.vs/Demo3/FileContentIndex/2cbd5afd-2d00-4349-b7f6-ba9dffb6aa90.vsidx differ diff --git a/.vs/Demo3/FileContentIndex/43f65b3f-934b-49d7-b0bc-bbded6ecf9c3.vsidx b/.vs/Demo3/FileContentIndex/43f65b3f-934b-49d7-b0bc-bbded6ecf9c3.vsidx new file mode 100644 index 0000000..b74c985 Binary files /dev/null and b/.vs/Demo3/FileContentIndex/43f65b3f-934b-49d7-b0bc-bbded6ecf9c3.vsidx differ diff --git a/.vs/Demo3/FileContentIndex/58000c48-e70b-4f37-8e85-8875b0b72378.vsidx b/.vs/Demo3/FileContentIndex/58000c48-e70b-4f37-8e85-8875b0b72378.vsidx new file mode 100644 index 0000000..fe65236 Binary files /dev/null and b/.vs/Demo3/FileContentIndex/58000c48-e70b-4f37-8e85-8875b0b72378.vsidx differ diff --git a/.vs/Demo3/FileContentIndex/b99cb5a1-efe7-4f9f-8f43-392f1c90f7a0.vsidx b/.vs/Demo3/FileContentIndex/b99cb5a1-efe7-4f9f-8f43-392f1c90f7a0.vsidx new file mode 100644 index 0000000..690535d Binary files /dev/null and b/.vs/Demo3/FileContentIndex/b99cb5a1-efe7-4f9f-8f43-392f1c90f7a0.vsidx differ diff --git a/.vs/Demo3/FileContentIndex/d18a0733-3533-45e6-ad0c-63a425510678.vsidx b/.vs/Demo3/FileContentIndex/d18a0733-3533-45e6-ad0c-63a425510678.vsidx new file mode 100644 index 0000000..5023569 Binary files /dev/null and b/.vs/Demo3/FileContentIndex/d18a0733-3533-45e6-ad0c-63a425510678.vsidx differ diff --git a/.vs/Demo3/v17/.futdcache.v2 b/.vs/Demo3/v17/.futdcache.v2 new file mode 100644 index 0000000..2238097 Binary files /dev/null and b/.vs/Demo3/v17/.futdcache.v2 differ diff --git a/.vs/Demo3/v17/.suo b/.vs/Demo3/v17/.suo new file mode 100644 index 0000000..ac9431c Binary files /dev/null and b/.vs/Demo3/v17/.suo differ diff --git a/.vs/Demo3/v17/DocumentLayout.backup.json b/.vs/Demo3/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..4550ce9 --- /dev/null +++ b/.vs/Demo3/v17/DocumentLayout.backup.json @@ -0,0 +1,226 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\adm\\source\\repos\\Demo3\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\catalog.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\catalog.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\catalog.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\catalog.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\product.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\product.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\parsingdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\parsingdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\orderproduct.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\orderproduct.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\app.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\app.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 8, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "ParsingdbContext.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\ParsingdbContext.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\ParsingdbContext.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\ParsingdbContext.cs", + "RelativeToolTip": "Demo3\\Models\\ParsingdbContext.cs", + "ViewState": "AgIAAFcAAAAAAAAAAAAkwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:16:07.49Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "OrderProduct.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\OrderProduct.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\OrderProduct.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\OrderProduct.cs", + "RelativeToolTip": "Demo3\\Models\\OrderProduct.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:15:49.074Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "Order.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Order.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\Order.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Order.cs", + "RelativeToolTip": "Demo3\\Models\\Order.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:14:58.875Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "Product.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Product.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\Product.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Product.cs", + "RelativeToolTip": "Demo3\\Models\\Product.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAA0AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:07:45.82Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "MainViewModel.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainViewModel.cs", + "RelativeDocumentMoniker": "Demo3\\MainViewModel.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainViewModel.cs", + "RelativeToolTip": "Demo3\\MainViewModel.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAEAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T09:47:16.269Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "MainWindow.axaml.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml.cs", + "RelativeDocumentMoniker": "Demo3\\MainWindow.axaml.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml.cs", + "RelativeToolTip": "Demo3\\MainWindow.axaml.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAwAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T09:38:41.437Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "MainWindow.axaml", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml", + "RelativeDocumentMoniker": "Demo3\\MainWindow.axaml", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml", + "RelativeToolTip": "Demo3\\MainWindow.axaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-12-27T09:38:01.329Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Catalog.axaml", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml", + "RelativeDocumentMoniker": "Demo3\\Catalog.axaml", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml", + "RelativeToolTip": "Demo3\\Catalog.axaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-12-27T09:30:19.278Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Program.cs", + "RelativeDocumentMoniker": "Demo3\\Program.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Program.cs", + "RelativeToolTip": "Demo3\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T09:25:17.893Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "Catalog.axaml.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml.cs", + "RelativeDocumentMoniker": "Demo3\\Catalog.axaml.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml.cs", + "RelativeToolTip": "Demo3\\Catalog.axaml.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAXAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T08:29:11.002Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "App.axaml", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\App.axaml", + "RelativeDocumentMoniker": "Demo3\\App.axaml", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\App.axaml", + "RelativeToolTip": "Demo3\\App.axaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-12-27T09:45:04.726Z", + "EditorCaption": "" + } + ] + }, + { + "DockedWidth": 993, + "SelectedChildIndex": -1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}" + }, + { + "$type": "Bookmark", + "Name": "ST:1:0:{d212f56b-c48a-434c-a121-1c5d80b59b9f}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/Demo3/v17/DocumentLayout.json b/.vs/Demo3/v17/DocumentLayout.json new file mode 100644 index 0000000..4550ce9 --- /dev/null +++ b/.vs/Demo3/v17/DocumentLayout.json @@ -0,0 +1,226 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\adm\\source\\repos\\Demo3\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\catalog.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\catalog.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\catalog.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\catalog.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\product.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\product.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\parsingdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\parsingdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\orderproduct.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\orderproduct.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\models\\order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\models\\order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|c:\\users\\adm\\source\\repos\\demo3\\demo3\\app.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}", + "RelativeMoniker": "D:0:0:{0FF482EE-AE6B-458D-BD8A-9B803836BA32}|Demo3\\Demo3.csproj|solutionrelative:demo3\\app.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 8, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "ParsingdbContext.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\ParsingdbContext.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\ParsingdbContext.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\ParsingdbContext.cs", + "RelativeToolTip": "Demo3\\Models\\ParsingdbContext.cs", + "ViewState": "AgIAAFcAAAAAAAAAAAAkwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:16:07.49Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "OrderProduct.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\OrderProduct.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\OrderProduct.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\OrderProduct.cs", + "RelativeToolTip": "Demo3\\Models\\OrderProduct.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:15:49.074Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "Order.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Order.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\Order.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Order.cs", + "RelativeToolTip": "Demo3\\Models\\Order.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:14:58.875Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "Product.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Product.cs", + "RelativeDocumentMoniker": "Demo3\\Models\\Product.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Models\\Product.cs", + "RelativeToolTip": "Demo3\\Models\\Product.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAA0AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T10:07:45.82Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "MainViewModel.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainViewModel.cs", + "RelativeDocumentMoniker": "Demo3\\MainViewModel.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainViewModel.cs", + "RelativeToolTip": "Demo3\\MainViewModel.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAEAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T09:47:16.269Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "MainWindow.axaml.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml.cs", + "RelativeDocumentMoniker": "Demo3\\MainWindow.axaml.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml.cs", + "RelativeToolTip": "Demo3\\MainWindow.axaml.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAwAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T09:38:41.437Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "MainWindow.axaml", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml", + "RelativeDocumentMoniker": "Demo3\\MainWindow.axaml", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\MainWindow.axaml", + "RelativeToolTip": "Demo3\\MainWindow.axaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-12-27T09:38:01.329Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Catalog.axaml", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml", + "RelativeDocumentMoniker": "Demo3\\Catalog.axaml", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml", + "RelativeToolTip": "Demo3\\Catalog.axaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-12-27T09:30:19.278Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Program.cs", + "RelativeDocumentMoniker": "Demo3\\Program.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Program.cs", + "RelativeToolTip": "Demo3\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T09:25:17.893Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "Catalog.axaml.cs", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml.cs", + "RelativeDocumentMoniker": "Demo3\\Catalog.axaml.cs", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\Catalog.axaml.cs", + "RelativeToolTip": "Demo3\\Catalog.axaml.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAXAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-12-27T08:29:11.002Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "App.axaml", + "DocumentMoniker": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\App.axaml", + "RelativeDocumentMoniker": "Demo3\\App.axaml", + "ToolTip": "C:\\Users\\adm\\source\\repos\\Demo3\\Demo3\\App.axaml", + "RelativeToolTip": "Demo3\\App.axaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-12-27T09:45:04.726Z", + "EditorCaption": "" + } + ] + }, + { + "DockedWidth": 993, + "SelectedChildIndex": -1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}" + }, + { + "$type": "Bookmark", + "Name": "ST:1:0:{d212f56b-c48a-434c-a121-1c5d80b59b9f}" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/ProjectEvaluation/demo3.metadata.v9.bin b/.vs/ProjectEvaluation/demo3.metadata.v9.bin new file mode 100644 index 0000000..7736c35 Binary files /dev/null and b/.vs/ProjectEvaluation/demo3.metadata.v9.bin differ diff --git a/.vs/ProjectEvaluation/demo3.projects.v9.bin b/.vs/ProjectEvaluation/demo3.projects.v9.bin new file mode 100644 index 0000000..c989bc4 Binary files /dev/null and b/.vs/ProjectEvaluation/demo3.projects.v9.bin differ diff --git a/.vs/ProjectEvaluation/demo3.strings.v9.bin b/.vs/ProjectEvaluation/demo3.strings.v9.bin new file mode 100644 index 0000000..dacef4b Binary files /dev/null and b/.vs/ProjectEvaluation/demo3.strings.v9.bin differ diff --git a/Demo3.sln b/Demo3.sln new file mode 100644 index 0000000..279bf85 --- /dev/null +++ b/Demo3.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35506.116 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo3", "Demo3\Demo3.csproj", "{0FF482EE-AE6B-458D-BD8A-9B803836BA32}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0FF482EE-AE6B-458D-BD8A-9B803836BA32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FF482EE-AE6B-458D-BD8A-9B803836BA32}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FF482EE-AE6B-458D-BD8A-9B803836BA32}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FF482EE-AE6B-458D-BD8A-9B803836BA32}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Demo3/App.axaml b/Demo3/App.axaml new file mode 100644 index 0000000..afab556 --- /dev/null +++ b/Demo3/App.axaml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/Demo3/App.axaml.cs b/Demo3/App.axaml.cs new file mode 100644 index 0000000..ed770d7 --- /dev/null +++ b/Demo3/App.axaml.cs @@ -0,0 +1,24 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace Demo3 +{ + public partial class App : Application + { + public override void Initialize() + { + AvaloniaXamlLoader.Load(this); + } + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + desktop.MainWindow = new MainWindow(); + } + + base.OnFrameworkInitializationCompleted(); + } + } +} \ No newline at end of file diff --git a/Demo3/Catalog.axaml b/Demo3/Catalog.axaml new file mode 100644 index 0000000..78b949b --- /dev/null +++ b/Demo3/Catalog.axaml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demo3/Catalog.axaml.cs b/Demo3/Catalog.axaml.cs new file mode 100644 index 0000000..b0eae21 --- /dev/null +++ b/Demo3/Catalog.axaml.cs @@ -0,0 +1,49 @@ +using Avalonia; +using Avalonia.Controls; +using Avalonia.Markup.Xaml; +using Avalonia.Media.Imaging; +using Demo3.Models; +using System.Collections.ObjectModel; +using System.Linq; + +namespace Demo3; + +public partial class Catalog : Window +{ + public Catalog() + { + ObservableCollection presenters; + InitializeComponent(); + using var context = new ParsingdbContext(); + var dataSource = context.Products.Select(product => new ProductPresenter + { + Productarticlenumber = product.Productarticlenumber, + Productname = product.Productname, + Productdescription = product.Productdescription, + Productcategory = product.Productcategory, + Productcost = product.Productcost, + Productdiscountamount = product.Productdiscountamount, + Productdiscountamountmax = product.Productdiscountamountmax, + Productmanufacturer = product.Productmanufacturer, + Productphoto = product.Productphoto, + Productquantityinstock = product.Productquantityinstock, + Productstatus = product.Productstatus + }); + var products = new ObservableCollection(dataSource); + ProductList.ItemsSource = products; + } + public class ProductPresenter() : Product + { + Bitmap? Image + { + get + { + try + { + return new Bitmap(Productphoto); + } + catch { return null; } + } + } + } +} \ No newline at end of file diff --git a/Demo3/Demo3.csproj b/Demo3/Demo3.csproj new file mode 100644 index 0000000..df4c31d --- /dev/null +++ b/Demo3/Demo3.csproj @@ -0,0 +1,28 @@ + + + WinExe + net8.0 + enable + true + app.manifest + true + + + + + + + + + + None + All + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + diff --git a/Demo3/MainViewModel.cs b/Demo3/MainViewModel.cs new file mode 100644 index 0000000..23833f7 --- /dev/null +++ b/Demo3/MainViewModel.cs @@ -0,0 +1,32 @@ +using Demo3.Models; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo3 +{ + public class MainViewModel + { + private readonly ParsingdbContext _context; + + public ObservableCollection Products { get; } = new ObservableCollection(); + + public MainViewModel(ParsingdbContext context) + { + _context = context; + LoadProducts(); + } + + public void LoadProducts() + { + var products = _context.Products.ToList(); + foreach (var product in products) + { + Products.Add(product); + } + } + } +} diff --git a/Demo3/MainWindow.axaml b/Demo3/MainWindow.axaml new file mode 100644 index 0000000..c96065d --- /dev/null +++ b/Demo3/MainWindow.axaml @@ -0,0 +1,32 @@ + + + + + + + + + + +