agoda-com / agoda-com/net-loadbalancing

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

Offen
#26 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
C#
Sterne
25
Forks
16
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.