Search Wiki:

DbEntry.Net

DbEntry.Net 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 for web develpment.

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

Features:
  • 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
  • High performance, almost same as using ADO.NET directly
  • Lightwight, the binary file only about 268KB

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. Dynamic object
      2. Partial update
      3. Using transaction
      4. Connections
      5. Query syntax
      6. Paged query
      7. Lazy load column
      8. Relations
      9. ActsAsTree
      10. Object Validation
      11. Special Name
      12. Soft Delete
      13. Cache System
      14. Using SQL statement
      15. Multiple data source
      16. Process Large Result
      17. Bulk Copy
      18. SQL Mapping
      19. DB Enums
      20. New VS Init
      21. 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. NameMapper
    2. Special Name of SavedOn and Count
    3. Linq Support
  • Utils
    1. TimingTask
    2. Log System
    3. Setting loader
    4. Helpers
    5. 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 May 10 at 9:13 AM  by lifeng, version 151
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...