April 2018
Intermediate to advanced
300 pages
7h 41m
English
Create a new .NET Standard library project and name it Vendor.Domain. We will reference our Infrastructure project created previously to derive our POCO entities from the BaseEntity class.
Create a VendorMaster class and derive it from the BaseEntity class. Here is the code snippet of VendorMaster class:
public class VendorMaster : BaseEntity { [Key] public int ID { get; set; } public string VendorName { get; set; } public string ContractNumber { get; set; } public string Email { get; set; } public string Title { get; set; } public string PrimaryContactPersonName{ get; set; } public string PrimaryContactEmail { get; set; } public string PrimaryContactNumber { get; set; } public string SecondaryContactPersonName { ...