Only PrimitiveTypes may be used as constant value types. DbConstantExpression cannot be created using an instance of type ...