string IEntityQueryWrapper.GetDbFieldName(string propertyName)
{
if (propertyName.Equals("applicationID", StringComparison.InvariantCultureIgnoreCase))
return "id";
if (propertyName.Equals("fullname", StringComparison.InvariantCultureIgnoreCase))
return "ContactName";
throw new InvalidOperationException(string.Format("Property {0} not supported.", propertyName));
}