1
I am mapping a property to the xml database using Migrations
.
public string Xml { get; set; }
this.Property(t => t.Xml).HasColumnName("Xml").HasColumnType("xml");
However, when consulting the class using Linq returns the error.
_context.PreListaPostagemLog.Where(p => p.IdPlp == null && !string.IsNullOrEmpty(p.Xml)).ToList();
Argument data type xml is invalid for argument 1 of Len Function.
How is the consultation?
– Jéf Bueno
I put up.
– Emerson Brito