Search Wiki:

DbEntry.Net (Lephone Framework)

DbEntry.Net (Lephone Framework) is a lightweight, high performance ORM compnent for .Net 2.0 and 3.5. It has clearly and easily programing interface. It based on ADO.NET, and supported C#, Visual Basic, ASP.NET etc. It also provide DbEntryDataSource for ASP.NET 2.0 and a Rails style MVC framework and a simple IoC framework.

The samples of the release package all TESTED on Sql Server 2005 Express, MySql 5.0, SQLite 3, Access 2003, Firebird 2.1.0, PostgreSQL 8.3.3 and Oracle 10g express.

Features:
  • Linq support (need .net 3.5)
  • FluentInterface query syntax
  • RoR ActiveRecord style syntax
  • Ambient transaction
  • Dynamic object
  • Partial update
  • 1:1 1:Many Many:Many relations
  • Auto create table
  • Anti sql injection
  • Multiple data source
  • Object validation
  • Paged selector and collection
  • Nullable support
  • DbEntryDataSource
  • ASP.NET 2.0 Membership support
  • Built-in Cache Support
  • Ruby On Rails style MVC framework
  • Simple IoC framework
  • High performance, almost same as using ADO.NET directly
  • Lightwight, the binary file only about 312KB

Tutorials

  • Data Access
    1. Getting started
      1. The first sight
      2. First application
      3. Basic CRUD
      4. Enter dynamic
      5. Transaction
    2. Definition and Configuration:
      1. Object definition
      2. Configuration
      3. Mapping relations
    3. Details:
      1. Linq Support
      2. Dynamic object
      3. Partial update
      4. Using transaction
      5. Connections
      6. Query syntax
      7. Paged query
      8. Lazy load column
      9. Relations
      10. ActsAsTree
      11. Object Validation
      12. NameMapper
      13. Special Name
      14. Soft Delete
      15. Cache System
      16. Using SQL statement
      17. Multiple data source
      18. Process Large Result
      19. Bulk Copy
      20. SQL Mapping
      21. DB Enums
      22. New VS Init
      23. Performance Test
  • ASP.NET
    1. Working with DataSource
    2. DbEntryDataSource
    3. Using DbEntryDataSource for New and Edit Page
    4. Working with Membership
  • Rails Style MVC
    1. Getting Started
    2. Scaffolding
    3. Controller
    4. Viewer
    5. Configuration
    6. Deployment
  • Working In Progress
    1. New Feature
  • Utils
    1. Simple IoC
    2. TimingTask
    3. Log System
    4. Setting loader
    5. Helpers
    6. HtmlBuilder
  • Appendix
    1. About versions
    2. About GAC
    3. About Namespaces
    4. Tools
    5. Migration

Links

For MySql, SQLite and Firebird, please install the .net driver first, to unpack 7z archieve, please install 7-Zip:
DbEntry.Asp and the duwamish sample by using DbEntry.Net or Donate DbEntry.Net:
My Homepage, Blog(Chinese version 点睛工作室) and email:
Last edited Tue at 12:36 PM  by lifeng, version 158
Comments
sogod wrote  Dec 1 2006 at 7:06 AM  
This looks interesting, but why are you all distributing a 7-zip file, INSIDE a zip file? Just distribute a zip file. Not everyone wants to install all sorts of small relatively useless programs on their machine just to open an archieve.

lifeng wrote  Dec 1 2006 at 2:45 PM  
7-zip has the highest compression ratio as i knwon. And it can open zip, rar, gz, tar, arj, lzh and so on. And it's free, the compress code is opensource. It also works in windows and linux. I don't think it is an useless program.

By the way, the new version of WinRAR can open 7z archieve also.

inertial83 wrote  Jan 8 2007 at 8:47 AM  
The project is really interesting, would someone please tell me how I can jion this project? In addition, I am a SDET working on microsoft's project and I used nhibernat and castle before.

lifeng wrote  Feb 10 2007 at 8:21 AM  
To inertial83: DbEntry design by me and I am not plan others to join it at this time. And, I think, for most develpers, it's time to learn DLINQ now. DLINQ is not perfect, but it's good enough. Maybe DbEntry will stop when DLINQ is release...

lifeng wrote  Jul 22 2007 at 6:51 AM  
I think DbEntry v0.31 has a little better of some part than DLINQ now :)

Atomic9 wrote  Aug 24 2007 at 4:23 PM  
Please package the tutorial in a CHM and post to the site.

lifeng wrote  Aug 25 2007 at 3:00 AM  
I don't know if there is a easy way to package the wiki page in a CHM or not. And, this tutorial will be changed if I find something should be added or changed. Maybe later.

Updating...