tag:blogger.com,1999:blog-8311385966220793010.post8533530010852845389..comments2024-03-29T12:50:08.612+05:30Comments on Sampath Lokuge Tech Blog: How to Use enum with Entity Framework 5 ?Anonymoushttp://www.blogger.com/profile/09444146937039539894noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-8311385966220793010.post-91273818569280308922017-10-23T18:37:38.951+05:302017-10-23T18:37:38.951+05:30Great explanation thank you, i have a one query,wh...Great explanation thank you, i have a one query,which is How to add extra enums dynamically by using EF5 .<br />Anonymoushttps://www.blogger.com/profile/03338931667064954039noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-1202873066324694912013-11-24T14:00:37.683+05:302013-11-24T14:00:37.683+05:30Hi Ganesh,
Thanks for your feedback.
Actually My ...Hi Ganesh,<br /><br />Thanks for your feedback.<br />Actually My objective is learning latest things and share it with your'll.<br />Now tech blogging has become my hobby :)<br />Anonymoushttps://www.blogger.com/profile/09444146937039539894noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-79148813797302306942013-08-17T13:10:58.856+05:302013-08-17T13:10:58.856+05:30Hi Satish,
You're warmly welcome.
Keep in Tou...Hi Satish,<br /><br />You're warmly welcome.<br />Keep in Touch. Anonymoushttps://www.blogger.com/profile/09444146937039539894noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-22099691787766860502013-08-17T13:07:01.090+05:302013-08-17T13:07:01.090+05:30its very useful . thks buddy.its very useful . thks buddy.Anonymoushttps://www.blogger.com/profile/03082086825221727273noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-88056969107756320502013-06-15T19:44:06.387+05:302013-06-15T19:44:06.387+05:30Hi Sammy,
Yes.You're right.Entity Framework d...Hi Sammy,<br /><br />Yes.You're right.Entity Framework doesn't support having a collection of a Complex Type (such as enum) on an Entity type.<br />So,I don't know exactly what you're trying to achieve by using this (i.e. Business scenario).If you could put more details about your scenario then may be I could give more support.Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-23050529607729507172013-06-11T02:41:10.149+05:302013-06-11T02:41:10.149+05:30If you modify the Student.cs file to have a collec...If you modify the Student.cs file to have a collection of courses it does not work. Are enum collections not supported?<br /><br /> public class Student<br /> {<br /> public Student()<br /> {<br /> this.Courses = new List();<br /> }<br /><br /> public int Id { get; set; }<br /> public string Name { get; set; }<br /> public IList Courses { get; set; }<br /> }Sammy Davis Jr. Jr.https://www.blogger.com/profile/08691190225509918608noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-4178764938559043712013-05-12T13:03:14.149+05:302013-05-12T13:03:14.149+05:30Hi Mukesh,
Thanks, I’m glad you enjoyed it!
Keep ...Hi Mukesh,<br /><br />Thanks, I’m glad you enjoyed it!<br />Keep in Touch.Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-51731022407689582592013-05-12T06:44:47.548+05:302013-05-12T06:44:47.548+05:30Very good update. I am always wondering about why ...Very good update. I am always wondering about why we can't use C# expressions in LINQ to SQL queries. Now Enum support is very useful one. Thanks to author. Anonymoushttps://www.blogger.com/profile/18255434016084504036noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-36327605283474467822013-05-06T12:47:44.909+05:302013-05-06T12:47:44.909+05:30Hi Priyanka,
Glad to hear that it helped!
Keep in...Hi Priyanka,<br /><br />Glad to hear that it helped!<br />Keep in Touch.Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-87598254873719986542013-05-06T01:51:12.442+05:302013-05-06T01:51:12.442+05:30Good One Sampath!!!
keep posting more..Good One Sampath!!!<br />keep posting more..Priyankahttps://www.blogger.com/profile/04992193402817456211noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-47586887631195166402013-05-05T17:39:17.599+05:302013-05-05T17:39:17.599+05:30Hi Claudio,
You're warmly welcome.
Stay in t...Hi Claudio,<br /><br />You're warmly welcome. <br />Stay in touch.Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-40252388373548050162013-05-05T16:38:02.874+05:302013-05-05T16:38:02.874+05:30Thanks. It'is very good your explanation and e...Thanks. It'is very good your explanation and examples.<br /><br />Congratulations!Claudio Gonzalez Verahttps://www.blogger.com/profile/09769802023838601996noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-6371520748525605342013-05-05T15:49:03.802+05:302013-05-05T15:49:03.802+05:30Hi Safeer,
Thanks,I’m glad you found it useful!Hi Safeer,<br /> <br />Thanks,I’m glad you found it useful!Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-85075860410418727372013-05-05T14:20:01.168+05:302013-05-05T14:20:01.168+05:30Nice post and well explained... Thanks for sharing...Nice post and well explained... Thanks for sharing...Anonymoushttps://www.blogger.com/profile/12866391157816815779noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-56046308304621867532013-05-05T13:53:26.138+05:302013-05-05T13:53:26.138+05:30Hi Mykhailo,
Thanks for your feedback.
Keep in ...Hi Mykhailo, <br /><br />Thanks for your feedback. <br />Keep in Touch. Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-33546418234305735662013-05-05T13:52:44.410+05:302013-05-05T13:52:44.410+05:30Cool post, thank. I know that EF is growing.
Sent...Cool post, thank. I know that EF is growing.<br /><br />Sent from LinkedIn for iPad<br /><br />-Mykhailo Basiuk-Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-32471179452298659262013-05-05T13:40:24.065+05:302013-05-05T13:40:24.065+05:30Hi askarmus,
Thanks, I’m glad you enjoyed it!Hi askarmus,<br /><br />Thanks, I’m glad you enjoyed it!Sampath Lokugehttps://www.blogger.com/profile/13193493511446234762noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-39151070671512791112013-05-05T10:47:14.352+05:302013-05-05T10:47:14.352+05:30Nice post. Always attach sample project. Nice post. Always attach sample project. askarmushttps://www.blogger.com/profile/12502258313763501623noreply@blogger.comtag:blogger.com,1999:blog-8311385966220793010.post-65110566655290418062013-05-05T08:38:27.481+05:302013-05-05T08:38:27.481+05:30nice and very detailed, are you into trainings, wh...nice and very detailed, are you into trainings, whats ur objective?Anonymoushttps://www.blogger.com/profile/13688367559939545788noreply@blogger.com