how can I override ToStringmethod in a POCO object used as NHibernate model entity? To override object.ToString() you should declare something like
public override string ToString()
{
return "my string here";
}
But NHibernate wants everything inside the POCO mapped objects to be virtual... and you can't declare a method both virtual ad override.
Any suggestion?