private DbPublication(string Name, ePublicationType PublicationType, eBookPublication BookPublication, DateTime DatePublished, string Publisher) { this.Name = Name; this.PublicationType = PublicationType.e(); this.BookPublication = BookPublication.e(); this.DatePublished = DatePublished; this.Publisher = Publisher; }
public static byte e(this ePublicationType o) => (byte)o;
public DbPublication(string Name, IEnumerable <DbAuthor> Authors, ePublicationType PublicationType, eBookPublication BookPublication, DateTime DatePublished, string Publisher) : this(Name, PublicationType, BookPublication, DatePublished, Publisher) { this.Authors = Authors.ToArray(); }
public DbPublication(string Name, DbAuthor Author, ePublicationType PublicationType, eBookPublication BookPublication, DateTime DatePublished, string Publisher) : this(Name, PublicationType, BookPublication, DatePublished, Publisher) { Authors = new [] { Author }; }