Unfortunately, you cannot, at least not directly. For convenience, you can create an accessor that converts the value to and from an enumeration type:
public int RelationshipStatusInt { get; set; }
public RelationshipStatus RelationshipStatus
{
get { return (RelationshipStatus)RelationshipStatusInt; }
set { RelationshipStatusInt = (int)value; }
}
Linq EF, DB ( Linq to Objects).
, ...