View on GitHub

SauceDB

.net ORM with multipe database engine support.

Download this project as a .zip file Download this project as a tar.gz file

Column Saving

By default all properties on an object will save to the DB all the time. You can change this behavior on a per column basis.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.Core.Attributes;

namespace SauceExample
{
  public class MyObject
  {
    public int id { get; set; }
    
    [DataField(SetOnInsert=false)]
    public string Name { get; set; }
  }
}