StrataFrame Forum

Error - ConvertTypeToDbType

http://forum.strataframe.net/Topic26075.aspx

By Rogerio Mauri - 2/17/2010

Hello...

The "MicroFour.StrataFrame.Data.DataBasics.ConvertTypeToDbType(Type TypeToMap)" always returns "AnsiString" type.

Examples:

? MicroFour.StrataFrame.Data.DataBasics.ConvertTypeToDbType(Type.GetType("System.Int32"))
ret: AnsiString

? MicroFour.StrataFrame.Data.DataBasics.ConvertTypeToDbType(Type.GetType("System.Int16"))
ret: AnsiString

? MicroFour.StrataFrame.Data.DataBasics.ConvertTypeToDbType(Type.GetType("System.String"))
ret: AnsiString

? MicroFour.StrataFrame.Data.DataBasics.ConvertTypeToDbType(Type.GetType("System.Boolean"))
ret: AnsiString

others also...

Att

By Trent L. Taylor - 2/17/2010

This should have actually been a depreciated method. But since it is still exposed, I corrected the issue. It will be available in the next update.





This method is actually not used within the framework itself, but at any rate, you will be able to use this when we release the next update.
By Rogerio Mauri - 2/17/2010

Hi Trent...

This error is the cause of the error in the "Auditor".
http://forum.strataframe.net/Topic25817-7-1.aspx

I will wait the correction.

Tks... very much... Smile Smile