I suggest you ...

System.Persistence library for .NET

All data access goes through 3 commands: Load, Store, & Delete.

Example:

[Persistable("PersonSPSet", "ID")]
class Person
{
int ID;
string FirstName;
string LastName;
}

Person p = new Person();
p.ID = 123;
Database.Load(p);

p.FirstName = "John";
Database.Store(p);

p = new Person();
Database.Store(p);

Response.Write(p.ID); //new ID from database

https://github.com/andrewbb/persistence

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Andrew B Brown shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base