The greatest tutorial for utilizing Entity Framework, POCO, and MySQL.

asp.net-mvc c# entity-framework mysql

Question

I'm searching for a thorough guide on utilizing POCO with the Entity Framework without the designer and MySQL as the back-end. I'm searching for material that goes over characteristics in some detail, such as how to convert a database table or field name to a different class or field name. Additionally, I need C#, not VB. Anyone have knowledge of similar tutorials?

1
4
3/30/2013 11:07:06 AM

Accepted Answer

You can also look at this alternative query for EF with MySQL:
Using Entity Framework and MySQL
You must essentially get a connection from MySQL and proceed normally from there.

For POCOs, you can either utilize the designer, which is what is typically in EF 4, or you may write the mappings, in which case I suppose you use the newly released EF 4 Futures CTP 5.

If the intended reading is the POCO template in EF CTP5 or default EF 4 POCO support, they should be helpful:

http://thedatafarm.com/blog/data-access/agile-entity-framework-4-repository-part-1-model-and-poco-classes/ (the entire series) Typically, http://thedatafarm.com/blog/search?q=poco, or http://www.google.com.au/#q=poco+site:thedatafarm.com if the website is too sluggish.

http://blogs.msdn.com/b/adonet/archive/2009/05/28/poco-in-the-entity-framework-part-2-complex-types-deferred-loading-and-explicit-loading.aspxhttp://blogs.msdn.com/b/adonet/archive/2009/06/10/poco-in-the-entity-framework-part-3-change-tracking-with-poco.aspx

If you are utilizing the code exclusively, you should be aware that it is in pre-release and has certain working-with difficulties.

4
5/23/2017 11:45:33 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow