Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ignore] atbt discerning Insert/Update #721

Open
7CMiguel opened this issue Jul 23, 2024 · 0 comments
Open

[Ignore] atbt discerning Insert/Update #721

7CMiguel opened this issue Jul 23, 2024 · 0 comments

Comments

@7CMiguel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant