After a bit of back and forth on this module, I'm still seeing issues. The latest is that when I take the module source code (it came without a .sln) and use the source to create a new solution based on the module template in VS 2013, I receive errors like:
The type 'ModuleName.Data.TaskType' already contains a definition for 'TaskTypeId' based on TaskType.cs which is defined as:
using System;
using System.Collections.Generic;
public partial class TaskType
{
public int TaskTypeId { get; set; }
public string TaskTypeName { get; set; }
public string IconImage { get; set; }
public int SortOrder { get; set; }
public string TypeCategory { get; set; }
}
Note that this class is in my solution's Data folder and below the AdminTasks.edmx. Is this error being thrown because the class file is redundant with the Entity Data model? Note that when I validate the edmx, the above error and others about which I've posted separately are referenced.
Is the entity data model being used correctly in this case? If not, what approach is suggested, given Cathal's comment about the database core tables changing from release to release?
Thanks for nudging me along on this one:)