using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectLibrary.Entites { public class Book_Orders { public int BookID { get; private set; } public int OrderID { get; private set; } [DisplayName("Количество")] public int Count { get; private set; } public string BookName { get; set; } public static Book_Orders CreateEntity(int orderID,int bookID, int count ) { return new Book_Orders { BookID = bookID, OrderID = orderID, Count = count }; } } }