Added EF and DB to the core, crude demo in the UI

This commit is contained in:
2026-08-23 20:42:42 +03:00 Unverified
parent db368674d4
commit fb8427bd0e
20 changed files with 285 additions and 36 deletions
+15 -1
View File
@@ -6,9 +6,23 @@
xmlns:local="using:WinWARP.Ui.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:m="using:WinWARP.Core.Models.Entities"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Button Grid.Row="0" Command="{x:Bind ViewModel.AddSubscriptionCommand}" Content="Add Subscription" />
<TextBox Grid.Row="1" Text="{x:Bind ViewModel.NewSubscriptionLink, Mode=TwoWay}" />
<ListBox Grid.Row="2" ItemsSource="{x:Bind ViewModel.Subscriptions}">
<ListBox.ItemTemplate>
<DataTemplate x:DataType="m:Subscription">
<TextBlock Text="{x:Bind Link}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
</Page>