windowsforms-120574-controls-and-libraries-data-grid-data-binding-large-data-sources-server-and-instant-feedback-modes-entity-framework-40-server-mode-specifics.md
Breaking changes introduced in Entity Framework 6.0 caused compatibility issues with Entity Framework Server Mode collections (EntityServerModeSource, EntityInstantFeedbackSource).
The following features are not supported :
Filtering in the Auto Filter Row against numeric columns.
Searching with the Find Panel against numeric columns.
Incremental searching against numeric columns.
The following column group intervals (GridColumn.GroupInterval):
A numeric column as a display member for a lookup editor.
The following function operators in filters and unbound columns:
The Like operation.
You can execute the following code in your application’s entry point to avoid these limitations:
EF 6.0 only:
CriteriaToEFExpressionConverter.EntityFunctionsType = typeof(System.Data.Entity.Core.Objects.EntityFunctions);
CriteriaToEFExpressionConverter.SqlFunctionsType = typeof(System.Data.Entity.SqlServer.SqlFunctions);
In Entity Framework 6.1, use the System.Data.Entity.DbFunctions class instead of the obsolete System.Data.Entity.Core.Objects.EntityFunctions.
CriteriaToEFExpressionConverter.EntityFunctionsType = typeof(System.Data.Entity.DbFunctions);
CriteriaToEFExpressionConverter.SqlFunctionsType = typeof(System.Data.Entity.SqlServer.SqlFunctions);