I am trying to save a Point Type into Postgresql I have tried this way. (Db table Model definition)
public NpgsqlPoint Position { get; set; }
I set the Object with this method
posData.Position = new NpgsqlPoint (34.3244,23.2344);
But when i call .SaveChanges on the dbContext i get an exception of Not Null Constraint Violation , so i guess EF is trying to insert a null.
I have debuged the posData.Position before entry and the object contains proper data.
I have searched google but i didn't find any example or someone having the same problem.
Any Clues?