static void Main(string[] args)
        {
            ////DataStore<T> where T : class
            ///

            DataStore <string>  store1 = new DataStore <string>();
            DataStore <MyClass> store2 = new DataStore <MyClass>();


            //DataStore<MyStruct> store4 = new DataStore<MyStruct>(); //struct ist ein wertetyp

            DataStore <IMyInterface> store5 = new DataStore <IMyInterface>(); //

            DataStore <ArrayList> store6 = new DataStore <ArrayList>();

            DataStore <MyRecord> store7 = new DataStore <MyRecord>();



            ////DataStore1<T> where T : struct

            //DataStore1<string> store7 = new DataStore1<string>();
            //DataStore1<MyClass> store8 = new DataStore1<MyClass>();
            //DataStore1<IMyInterface> store9 = new DataStore1<IMyInterface>();
            DataStore1 <MyStruct> store10 = new DataStore1 <MyStruct>();
            DataStore1 <int>      store11 = new DataStore1 <int>();
            //DataStore1<MyRecord> store7 = new DataStore1<MyRecord>();
        }
Exemplo n.º 2
0
 public BaseViewModel()
 {
     DataStore.CreateTableAsync();
     DataStore1.CreateTableAsync();
 }