Ejemplo n.º 1
0
        public static DbAuthor FillBlanks(Gender gender)
        {
            var p = NewPerson.FillBlanks(gender);
            var b = new DbAuthor(p.First, p.Last, p.Patronimic, (eWriterType)NewValue.Int(2));

            All.Add(b);
            return(b);
        }
Ejemplo n.º 2
0
 public DbPublication(string Name, DbAuthor Author, ePublicationType PublicationType, eBookPublication BookPublication, DateTime DatePublished, string Publisher) :
     this(Name, PublicationType, BookPublication, DatePublished, Publisher)
 {
     Authors = new [] { Author };
 }