c# - .NET Framework 4.5 - EF exclude "ufloat" columns from MySQL database -
I try to write some program on the server to help manage some data via SSH tunnel via remote access I am doing
Server MySQL version: 5.1.73-CLL
I am on PC with Visual Studio 2012, .NET Framework 4.5, Latest MySQL Connector (6.9.4) and MySQL VS For the connection of the established database (1.2.3) works fine, I created the .edmx file with the "Generate from database" wizard. I created some organizations and started building my program. But then I realized that some columns have gone, tried the update model from the database, and then seen the message (not errors) in the error log:
Message 30 Data type 'Eflot' currently target Is not supported for. NET Framework Edition; The column 'spa' was excluded from the table 'game_data.monster_sold'. And for such messages every UFO and udouble I tried to find a solution but it seems that there is no match for this message. There is not a single topic about this, but maybe I do not know how (or how to see some new mistakes) I am new to working with MySQL connector and EF.
So here's my question - Nobody knows what I'm doing and how to fix it (on either side, on client or server)?
I can paste the content of EF files if it is necessary thanks for any feedback!
EF only supports specific data types The message is a warning to you that those objects are not supported by unsupported columns Will be unable to map.
If you can not change the underlying data type of your column, consider creating a view that is only a mask of the physical table but the type of unsupported column is inserted for more general data types. Which is supported by EF. Then configure the EF by viewing / reading the view / Mac instead of the table. Your problem should be solved.
Comments
Post a Comment