The meaning of the "current" attribute of the "mappings" element

2 posts, 1 answers
  1. Tomasz M.Lipiński
    Tomasz M.Lipiński avatar
    71 posts
    Member since:
    Nov 2009

    Posted 29 Oct 2010 Link to this post

    Hi,

    What is the meaning of the "current" attribute of the "mappings" element? Let's suppose that my application uses two databases:
    <connections>
      <connection id="conn1">
    .....
        <backendconfigurationname>backconf1</backendconfigurationname>
      </connection>
      <connection id="conn2">
    .....
        <backendconfigurationname>backconf2</backendconfigurationname>
      </connection>
    </connections>
    <backendconfigurations>
      <backendconfiguration id="backconf1" backend="mssql">
        <mappingname>baseMapping1</mappingname>
      </backendconfiguration>
      <backendconfiguration id="backconf2" backend="mssql">
        <mappingname>baseMapping2</mappingname>
      </backendconfiguration>
    </backendconfigurations>
    <mappings current="baseMapping1">
      <mapping id="baseMapping1">
    .....
      </mapping>
      <mapping id="baseMapping2">
    .....
      </mapping>
    </mappings>
    It seems to me that in the runtime it means nothing, doesn't it?

    Regards
    Tomasz
  2. Answer
    Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 29 Oct 2010 Link to this post

    Hello Tomasz M.Lipiński,
    This is for the designer, which mapping should be used inside the forward mapping.

    Kind regards,
    Jan Blessenohl
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top