public void BeginEdit() { _tempValues = new MedRecord { Id = this.Id, Surname = this.Surname, Name = this.Name, Patronymic = this.Patronymic, Birthday = this.Birthday, Country = this.Country, City = this.City, Street = this.City, Home = this.Home, Housing = this.Housing, Houseroom = this.Houseroom, Phone = this.Phone, Passport = this.Passport, Sector = this.Sector, Organization = this.Organization, Post = this.Post }; }
public void EndEdit() { _tempValues = null; }