This is my
public partial class DivertedOrder {private DivertedTo divertedToField; public DivertedTo DivertedTo { get { return this.divertedToField; } set { this.divertedToField = value; }} When i am giving the value to that field getting error
ERROR: Cannot implicitly convert type 'string' to 'LoadPlanClass.DivertedTo'
new DivertedOrder (){ DivertedTo=""};

Go to the complete details ...