Hey guys, I am desperated right now. Im my application i want to export some data from an entityset to excel. So far so good. But i want to exclude some properties. So i thought creating a custom attribute for those properties is might a good idea to make things more general. Anyway, for some reason the Metadata get not applied at all. I've searched the web for hours but always the same examples with the same result. I have created a small test code to make testing easier. If someone could tell me how to solve this problem (or …

Member Avatar
+0 forum 0

Good day people! I have a problem with my C# window application. I can't insert new record to database. I have sought for many tutorial in ADO.net and Entity Framework. I have been tackling it in Entity Framework because that is my preference. My piece of Entity Framework code would run successfully to insert new record. When i go back-end to see the result; none is found.I am using Visual studio 2010. And i developed the database through visual studio (the normal way of adding new item). I have this piece of code: public bool CreateStaff(string txtUserName, string gender, string …

Member Avatar
Member Avatar
+0 forum 2

The End.