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

Use attribute based model binding [DbProp("cool_column")] instead of Property Name #26

Open
1 task
inemtsev opened this issue Sep 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@inemtsev
Copy link

inemtsev commented Sep 9, 2021

Feature request

Using column names to match model property names, can result in some ugly models. Let's use attributes instead?

Type

  • - Enhancement - completely new feature
  • [ 1] - Improvement - make what we have better

Is your feature request related to a problem?

People are adding models like this:
SomeSadModel
{
public int program_id { get; set; }
public int information_type_id { get; set; }
public string cms_data { get; set; }
}

Describe the solution you'd like

A clear and concise description of what you want to happen.

Additional context

Add any other context or screenshots about the feature request here.

@inemtsev inemtsev added the enhancement New feature or request label Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant