Click here to Skip to main content
15,913,570 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Code following

C#
namespace ProjectManagementTask.Models
{
    public class TaskMaster
    {
        public int TaskID { get; set; }
        public int UserID { get; set; }
        public string TaskName { get; set; }
        public string TaskDesc { get; set; }
        public int ScriptID { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int TargatedDays { get; set; }

    }


}
Posted

1 solution

Somewhere in your project there is
public PARTIAL class TaskMaster

That is why this instance insist on being partial. The solution is
a) rename the class (or the original partial class)
b) look for the original and add your properties into it
c) add partial keyword in this TaskMaster
d) inertia, I don't have any more solutions :)

If this helps please take time to accept the solution. Thank you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900