The actual POCO model must bind to primitive types. You can use complex type binding, for example:
[ComplexType()]
public class UriHelper
{
public string StringRepresentation {get;set;}
public Uri ActualUri()
{
return new Uri(StringRepresentation);
}
}
, Uri, . . URI EF. . varchar nvarchar, URI. , EF , URI.