We have a RecordStatus column on every table, the RecordStatus is really an enum. It would be nice/more appropriate to be able to treat it this way instead of convertering to/from a int or long everywhere. Here's an example of what it would map to:
Code: Select all
public enum RecordStatus
{
Active = 0,
Inactive = 1,
Deleted = 2
}