I would like to use SQL Server xml type as a column type for an entity class.
According to this thread it\'s possible to map such a column to st
Just to be complete. Here's all code needed, in one part.
[Column(TypeName = "xml")] public String XmlContent { get; set; } [NotMapped] public XElement InitializedXmlContent { get { return XElement.Parse(XmlContent); } set { XmlContent = value.ToString(); } }