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