diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-05 10:38:29 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-05 10:38:29 +0000 |
commit | 7e08bed4a0a16be88bb9f983d9bed48fadf8ee22 (patch) | |
tree | 92c0bc83f2980c0b355c3e2aa076ad8f81e913e5 | |
parent | 629a4cc2b86faed2732829faf5421f50a5a67b81 (diff) | |
download | newsaggregator-7e08bed4a0a16be88bb9f983d9bed48fadf8ee22.tar.gz newsaggregator-7e08bed4a0a16be88bb9f983d9bed48fadf8ee22.tar.bz2 newsaggregator-7e08bed4a0a16be88bb9f983d9bed48fadf8ee22.zip |
Added property id to allow throughput between db and clr
-rw-r--r-- | Classes/Article.cs | 2 | ||||
-rw-r--r-- | Classes/Config.cs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Classes/Article.cs b/Classes/Article.cs index d132eb3..80a3e69 100644 --- a/Classes/Article.cs +++ b/Classes/Article.cs @@ -5,6 +5,8 @@ namespace Classes { /// Class to represent Articles in C# /// </summary> public class Article { + public int article_id { get; set; } + public string Title { get; set; } public string Description { get; set; } public string ImageLink { get; set; } diff --git a/Classes/Config.cs b/Classes/Config.cs index 6b1f7f5..ab131e8 100644 --- a/Classes/Config.cs +++ b/Classes/Config.cs @@ -6,6 +6,8 @@ namespace Classes { /// To be used in conjunction with article for each source /// </summary> public class Config { + public int config_id { get; set; } + public string Source { get; set; } public int Title { get; set; } public int Description { get; set; } |