agoda-com / agoda-com/net-loadbalancing

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

Aperta
#26 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C#
Stelle
25
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

# 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.