public void AddAuthor(AuthorDTO authorDTO) { if (Testvalue == null) { throw new NullReferenceException("Invalid use of stub code. First set field ExistsReturnValue"); } if (Testvalue.Value) { authorRow = new AuthorRow(); } }
public AuthorRow AddAuthorRow(string Name, string Email) { AuthorRow rowAuthorRow = ((AuthorRow)(this.NewRow())); rowAuthorRow.ItemArray = new object[] { null, Name, Email }; this.Rows.Add(rowAuthorRow); return(rowAuthorRow); }
public AuthorRowChangeEvent(AuthorRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public AuthorRowChangeEvent(AuthorRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveAuthorRow(AuthorRow row) { this.Rows.Remove(row); }
public void AddAuthorRow(AuthorRow row) { this.Rows.Add(row); }