26 lines
564 B
C#
26 lines
564 B
C#
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.ComponentModel;
|
||
|
|
using System.Collections.ObjectModel;
|
||
|
|
using System.Collections.Specialized;
|
||
|
|
|
||
|
|
namespace MetroGauges.Database.Enitys
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 实体父类
|
||
|
|
/// </summary>
|
||
|
|
public class EntityBase : INotifyPropertyChanged
|
||
|
|
{
|
||
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
||
|
|
protected void OnPropertyChanged(string prop)
|
||
|
|
{
|
||
|
|
if (this.PropertyChanged != null)
|
||
|
|
this.PropertyChanged(this, new PropertyChangedEventArgs(prop));
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|