Using dependency injection and viewmodel etc

This commit is contained in:
2025-08-20 12:08:46 +02:00
parent 2f053dfc71
commit 1649eaa992
17 changed files with 1143 additions and 31 deletions

View File

@ -0,0 +1,33 @@
using System;
using Common.Library;
namespace AdventureWorks.EntityLayer;
public class Color : EntityBase
{
#region Private Variables
private int _ColorId;
private string _ColorName = string.Empty;
#endregion
#region Public Properties
public int ColorId
{
get { return _ColorId; }
set
{
_ColorId = value;
RaisePropertyChanged(nameof(ColorId));
}
}
public string ColorName
{
get { return _ColorName; }
set {
_ColorName = value;
RaisePropertyChanged(nameof(ColorName));
}
}
#endregion
}