Important ! New Version telerik dataAccess 2015.1.225.1

2 posts, 0 answers
  1. Olivier
    Olivier avatar
    146 posts
    Member since:
    Nov 2010

    Posted 30 Mar 2015 Link to this post

    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 !

  2. Olivier
    Olivier avatar
    146 posts
    Member since:
    Nov 2010

    Posted 30 Mar 2015 Link to this post

    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.

  3. DevCraft banner
Back to Top