net-loadbalancing icon indicating copy to clipboard operation
net-loadbalancing copied to clipboard

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

Open inemtsev opened this issue 4 years ago • 0 comments

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 avatar Sep 09 '21 10:09 inemtsev