querybuilder icon indicating copy to clipboard operation
querybuilder copied to clipboard

[Ignore] atbt discerning Insert/Update

Open 7CMiguel opened this issue 1 year ago • 0 comments

I need a way to discern between Insert/Update so some attbt dont get updated. public class User { [Ignore] public int id{ get; set; } public string name{ get; set; } [IgnoreUpdate] public DateTime CreatedAt { get; set; } [IgnoreUpdate] public int CreatedBy { get; set; } [IgnoreInsert] public DateTime? ModifiedAt { get; set; } [IgnoreInsert] public int? ModifiedBy { get; set; } } Something like that

7CMiguel avatar Jul 23 '24 13:07 7CMiguel