Last active
February 8, 2019 14:26
-
-
Save lest-xu/b7a5e91c63bada49b01261980337880e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Angular6Mvc5.Models | |
| { | |
| public class Supplier | |
| { | |
| public int Id { get; set; } | |
| public string CompanyName { get; set; } | |
| public string ContactName { get; set; } | |
| public string ContactTitle { get; set; } | |
| public string City { get; set; } | |
| public string Country { get; set; } | |
| public string Phone { get; set; } | |
| public string Fax { get; set; } | |
| public Supplier(DataRow row) | |
| { | |
| this.Id = Convert.ToInt32(row["Id"]); | |
| this.CompanyName = row["CompanyName"].ToString(); | |
| this.ContactName = row["ContactName"].ToString(); | |
| this.ContactTitle = row["ContactTitle"].ToString(); | |
| this.City = row["City"].ToString(); | |
| this.Country = row["Country"].ToString(); | |
| this.Phone = row["Phone"].ToString(); | |
| this.Fax = row["Fax"].ToString(); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment