You could try to add another private "mirror"-property.
public class Enity
{
public uint Count {get;set;}
private long CountAsLong
{
get { return Convert.ToInt64(Count); }
set { Count = Convert.ToUInt(value); }
}
}
Of course you should do this only if it could not be solved by the mapping.