First connection with entity object UI to Object
This commit is contained in:
@ -1,9 +1,19 @@
|
||||
using AdventureWorks.EntityLayer.EntityClasses;
|
||||
|
||||
namespace AdventureWorks.MAUI.Views;
|
||||
|
||||
public partial class UserDetailView : ContentPage
|
||||
{
|
||||
public UserDetailView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public UserDetailView()
|
||||
{
|
||||
InitializeComponent();
|
||||
UserObject = (User)this.Resources["viewModel"];
|
||||
}
|
||||
|
||||
public User UserObject { get; set; }
|
||||
|
||||
private void SaveButton_Clicked(object sender, EventArgs e)
|
||||
{
|
||||
System.Diagnostics.Debugger.Break();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user