I\'m trying to create an XML column in Code First. I\'m well aware Entity Framework doesn\'t fully support XML columns, and that it reads them as a string. That\'s fine. I w
But what if XmlContent is null ??
Maybe :
public XElement XmlValueWrapper { get { return XmlContent != null ? XElement.Parse(XmlContent) : null; } set { XmlContent = value.ToString(); } }