This is a migrated thread and some comments may be shown as answers.

Important ! New Version telerik dataAccess 2015.1.225.1

1 Answer 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Olivier
Top achievements
Rank 2
Olivier asked on 30 Mar 2015, 11:11 AM
Hello,

I need some Help, i download last 2015.225.1 version,

i use this Method

/// <summary>
  ///
  /// </summary>
  /// <typeparam name="T"></typeparam>
  /// <returns></returns>
  public string GetTableName<oEntity>() {
      string cTableName = "";
      cTableName = this.Metadata.PersistentTypes.FirstOrDefault(typ => typ.FullName == typeof(oEntity).FullName).Table.Name;
      
      return cTableName;
  }


 i do not use my code , i get this error.

Can you help me !

Type converter initialization failed. The converter with name 'VariableLengthAnsiStringConverter' does not convert from CLR type 'System.Object' to SQL type 'varchar'.
Nom du paramètre : converterName
La valeur réelle était OpenAccessRuntime.Data.VariableLengthAnsiStringConverter, Telerik.OpenAccess.Runtime, Version=2015.1.225.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342.


thanks it's important, please !

1 Answer, 1 is accepted

Sort by
0
Olivier
Top achievements
Rank 2
answered on 30 Mar 2015, 03:04 PM
Hello

You can close the thread, i found the error, data access has map varchar in Object type, i don't understand why , but we have managed this.

Tags
General Discussions
Asked by
Olivier
Top achievements
Rank 2
Answers by
Olivier
Top achievements
Rank 2
Share this question
or