Hello all. I am new to the Entity Framework (.NET 4.0) and I need some help and/or suggestions on how to accomplish something. I am looking to create some methods with some of my data classes. For the most part, they will do some validation and then update some fields in the database, or even update an associated table. I have the basic setup for the EF model, but I cannot figure out how to get C# methods into the objects, as I would do when I was creating my own classes.
I have found that I can use a Stored Procedure and then import a function to get this to work but I would like to handle it in the code if I could. I have also read about using POCO and partial classes but it does not seem to work the way I have seen it done in examples. I cannot access the POCO Entity Code generator for some reason, and creating a partial class by hand ends up with it not being recognized.
So I am looking for a way to implement this or if I should be going about this a different way. Most of the items I have read around the web seem to be lack
View Complete Post