Derin
Derin

Reputation: 1230

C# Enumerations in Database

I want to store multiple enumerations [C#] and its friendly names in ONE database table.

Is there a standard naming convention for such table?

Is OTLT is right term? Does anyone used such table in your project?

Please refer : enums in SQL Server database

Upvotes: 1

Views: 169

Answers (1)

Damir Beylkhanov
Damir Beylkhanov

Reputation: 545

@derin we use enumlookup table on our project which is comprise such columns as namespace, enumcode, displayname.

This table is using only when we decide that we need to work with specific set of enum values which can be extended/reduced in future

we have an according EnumLookupManager which is helping us to manage these enums

Upvotes: 1

Related Questions