private void detach_Authors(Authors entity) { this.SendPropertyChanging(); entity.Countries = null; }
private void attach_Authors(Authors entity) { this.SendPropertyChanging(); entity.Countries = this; }
partial void DeleteAuthors(Authors instance);
partial void UpdateAuthors(Authors instance);
partial void InsertAuthors(Authors instance);
public void ShowAuthor(Authors author) { Console.WriteLine("{0,-30} {1,20}", "Full name", "Country"); Console.WriteLine(new string('-', 70)); Console.WriteLine("{0,-27} {1,22} ", author.Name + ' ' + author.Surname, author.Countries.Name); }