C# Класс WPF_DB_Sample.Models.User

Наследование: INotifyPropertyChanged
Показать файл Открыть проект

Открытые методы

Метод Описание
SaveUserInDatabase ( ) : long

This method helps you to save the effort when want to save User in DB. When ever you have to save User in Database you have a User's Object so why not make a method in that class to write it once. and whenever you have to save data. just call that method. and this method knows how to save a user in DB.

Приватные методы

Метод Описание
OnPropertyChanged ( string propertyName ) : void

Описание методов

SaveUserInDatabase() публичный Метод

This method helps you to save the effort when want to save User in DB. When ever you have to save User in Database you have a User's Object so why not make a method in that class to write it once. and whenever you have to save data. just call that method. and this method knows how to save a user in DB.
public SaveUserInDatabase ( ) : long
Результат long