praeclarum / praeclarum/sqlite-net

IgnoreForCreate attribute

Open
#72 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
C#
Stars
4.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Would be great if I could have an entity like this:

class Client
{
string IdClient;

 [IgnoreForCreate]
 string otherDate;

}

So I could do a select with inner join and fill otherDate but not create it into database. It's like a ignore but not for select.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by examining the existing Ignore attribute and the code paths that distinguish selecting fields from fields written during creation. Done means an entity field can be populated by a joined select while being excluded from database creation, with tests covering both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.