Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        if (!inst)
        {
            inst = this;

            colibryCoreNative = ColibryCoreNative.instance();
            colibryCoreNative.setUrl(url);
            colibryCoreNative.setUuid(uuid);
            colibryCoreNative.setOptions((int)SDKCorePluginOptions.SDKCorePluginOptionHTTP | (int)SDKCorePluginOptions.SDKCorePluginOptionQueued | (int)SDKCorePluginOptions.SDKCorePluginOption5SecTimeOut);
            colibryCoreNative.resetOptions((int)SDKCorePluginOptions.SDKCorePluginOptionQueued);
            colibryCoreNative.initialize();

            colibriIAP = ColibriIAP.instance();
            user       = TestUser.instance();

            user.addDelegate(this);

            //entities

            apples = new TestEntities1();
            apples.collectionname = "apples";
            apples.flagIsPrivate  = 1;
            apples.collectiontype = typeof(MyClass2);
            apples.initialize();
            AddSerialize();
        }
    }
Exemplo n.º 2
0
 public IndividusController(TestEntities1 dbContext)
 {
     db = dbContext;
 }
Exemplo n.º 3
0
 public ElevesController(TestEntities1 dbContext)
 {
     db = dbContext;
 }