Added code to handle enum type in CSharpMigrationCodeGenerator.cs
Added a couple of unit tests.