Quantcast
Channel: Jesse's Blog - C#
Viewing all articles
Browse latest Browse all 5

Make "Repository Factory" work on VS 2008

$
0
0

I am writing another post at the same time to compare several MS ORM technic. Put the result first, I finally decide to use "Repository Factory". Well, it is NOT really a ORM, but a code generator like "MyGeneration". The reason I like it is: 1. it is open-source. it is very important if you want to use a long-last technic, and not need to worry about MS abandoning it during your projects are still going. 2. it is light-weight. comparing ADO.NET EF, it doesnt eat into your performance lots. There are so many reason I want to use it, even Patterns & Practice team gave up this project.

I download the source code from https://RepositoryFactory.svn.codeplex.com/svn, the last commition is Feb this year! The good news, or say best news, is the solution is compilable. But the bad news is it is not working!!!! I can tell the code in SVN trunk is a incomplete/bugy copy of RF. You have to change couple things to make it. The issues mentioned in below posts on Codeplex are still there, I put my patch in or find a workaround.

http://repositoryfactory.codeplex.com/Thread/View.aspx?ThreadId=32194
http://repositoryfactory.codeplex.com/Thread/View.aspx?ThreadId=46567

The main changes are done in "t4" files (template file, Im interesting to know where the name t4 comes from if anyone knows). Download them as you will, and use it as your risk. If you know other fixs, please do leave comments. It will benifit all of us.

Repository Factory VS 2008 Fix.rar (8.13 kb)


Viewing all articles
Browse latest Browse all 5

Trending Articles