public Author(string Id)
        {
            AuthorDALC dalc = new AuthorDALC();

            id = Id;
            dalc.GetData(id, out lastName, out firstName);
        }
示例#2
0
 public void Delete()
 {
     AuthorDALC.Delete(id);
 }
示例#3
0
 public void Update()
 {
     AuthorDALC.Update(id, firstName, lastName);
 }
示例#4
0
 public void Insert()
 {
     AuthorDALC.Insert(id, firstName, lastName);
 }
        public void Update()
        {
            AuthorDALC dalc = new AuthorDALC();

            dalc.Update(this.id, this.lastName, this.firstName);
        }