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();
            }
        }
Exemple #2
0
            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;
 }
Exemple #4
0
 public AuthorRowChangeEvent(AuthorRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemple #5
0
 public void RemoveAuthorRow(AuthorRow row)
 {
     this.Rows.Remove(row);
 }
Exemple #6
0
 public void AddAuthorRow(AuthorRow row)
 {
     this.Rows.Add(row);
 }