I'm having an issue I'm trying to solve.In CodeFirst entity configuration,
I'have the following configuration, in order to represent a MySql CHAR field:
HasKey(p => p.Id);Property(m => m.Id).IsFixedLength().HasMaxLength(13);
When using this configuration, the objects are inserted, but the query do not find them:
Assert.IsNotNull(repository.Members.FirstOrDefault(l => l.Id == id)) (FAILS)
Everything goes fine if I change "IsFixedLength" for "IsVariableLength"
Can you point me in the right direction to try to solve it?