Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > General Discussions > Column Size

Not answered Column Size

Feed from this thread
  • Posted on Jan 12, 2012 (permalink)

    Ok, so lets say this is the scenario

    DB column is varchar(255)
    OA is set to varchar(255)

    ...what happens?  Does OA check the length at all?  Or is that just a map to the DB and we should be good?

    We need to up the size on a column, and we can't update the OA version just yet is the problem...

    Reply

  • Zoran Zoran admin's avatar

    Posted on Jan 17, 2012 (permalink)

    Hello Steve,

     Updating the length of a column in the database will not cause problems with OpenAccess. OpenAccess does not check the length of a field value against its column length. The length of the columns is used as metadata information though. This means that if you try to generate the SQL script for your database, your column will be created with the length of 255. If you want your value to be taken into account by the Update Database From Model wizard, you should change the value in the OpenAccess metadata too.

    Greetings,
    Zoran
    the Telerik team

    SP1 for Q3’11 of Telerik OpenAccess ORM is available for download

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > General Discussions > Column Size
Related resources for "Column Size"

OpenAccess ORM Features  |  Documentation  |  Demos  |  Telerik TV  |  Step-by-step Tutorial   ]