0 Replies Latest reply on Nov 17, 2009 4:10 PM by Dizzot

    coldfusion.air.Session offline AIR Auto-Increment

    Dizzot

      I am trying to build an AIR application with offline/online synchronization. I have set up my Coldfusion CFC's and built the action script classes using CF Builder, how do I have Flex/Sqlite auto increment my ID field when offline so I can use it as a reference for other objects created while offline?

       

      package com.gbobjects

      {

       

      [RemoteClass(alias="resources.com.objects.User")]

      [Entity]

      [Table(name="User")]

          public class User

                [Id]

                public var gbid:int;

                public var email:String;

                public var password:String;

                public var active:int;

                public var createddate:Date;

                public var lastlogin:Date;

       

       

       

                public function User()

            {

       

        }  

       

       

       

      }

      }