Tilføj charset=utf8
til forbindelsesstrengen i Entity Framework
Her er en fungerende tilføjelsesknude:
<add name="photostorageEntities"
connectionString="metadata=res://*/Models.Photos.csdl|res://*/Models.Photos.ssdl|res://*/Models.Photos.msl;provider=MySql.Data.MySqlClient;provider connection string="server=ServerIP;User Id=UID;password=PASS;Persist Security Info=True;database=photostorage; Charset=utf8""
providerName="System.Data.EntityClient" />