Origin:
At most, you have to write a small thing. For the data persistence layer, I want to use Orm. I was going to select a ready-made framework to complete my little things. However, most of the ready-made ORM frameworks have high learning costs and are complicated, which is not suitable for a small project. Later I saw a friend's datarabbit In the garden. Let's look at the example.CodeIt's pretty good, but it's not open-source. Maybe you can use reflector to decompile it. I haven't tried it. In the end, I think it is better to find a small ORM framework to complete the task. It is better to write a simple and suitable ORM framework.
I name this ORM lwnorm, that is, light weight ORM for. net.
Project address:
This is a simple ORM framework, and a little bit of C # skills can be understood by friends. In addition, I deployed the hosting framework on Google Code, so that anyone can view it freely.
Address: http://code.google.com/p/lwnorm
You are also welcome to join us. The current project is relatively small, but it can work. It may be a good start for anyone who wants to know how to implement Orm. You can leave a message for me. I will open the check out/In permission in due time.
Next:
This ORM has initially completed the small thing I want to write, that is, the sample application in the project. However, there are still many imperfections that need to be improved.
In addition, when appropriate, I want to add support for transaction, and so on.