Enumerations?

Just getting my hands on this:

Is there a built-in way to specify a property type to be of an enumeration type? What I'm having to do now is use the generated byte-property as a private value field, and then creating a public property in the partial class that casts it to my enumeration.

Otherwise, this is freaking cool! Really digging this, team... you have no idea. :)

Keep it up!

Mike

[433 byte] By [Mike-EEE] at [2008-2-7]
# 1
We are looking into Enumeration types currently. Our plans are not finalized yet but, yes, we also feel that it would be nice to have them.
AtulAdya-MSFT at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 2
Hmmm... Poking around in reflector, there seems to be a lot of support for Enumerations, specifically System.Data.Metadata.EnumerationType. Is this just not exposed in the mapping files?
Mike-EEE at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...

Visual Studio Orcas

Site Classified