public XmlKeyModel(XElement element) { _entity = new XmlKeyEntity { Id = Guid.NewGuid(), Element = element.ToString() }; }
public XmlKeyModel(XmlKeyEntity entity) { _entity = entity; }