Esempio n. 1
0
 public override object CreateRandomObject()
 {
     multipk item = new multipk();
     Random rand = new Random();
     item.numfield = rand.Next(1000000);
     return item;
 }
Esempio n. 2
0
        public override object CreateRandomObject()
        {
            multipk item = new multipk();
            Random  rand = new Random();

            item.numfield = rand.Next(1000000);
            return(item);
        }
Esempio n. 3
0
 private static multipk ORM_CreateProxy(System.Data.IDataReader result, System.Collections.Generic.IDictionary<string, int> ordinals)
 {
     var obj = new multipk();
     obj.pk1 = (long)result[ordinals["pk1"]];
     obj.pk2 = (string)result[ordinals["pk2"]];
     obj.numfield = (int)result[ordinals["numfield"]];
     return obj;
 }
Esempio n. 4
0
        private static multipk ORM_CreateProxy(System.Data.IDataReader result, System.Collections.Generic.IDictionary <string, int> ordinals)
        {
            var obj = new multipk();

            obj.pk1      = (long)result[ordinals["pk1"]];
            obj.pk2      = (string)result[ordinals["pk2"]];
            obj.numfield = (int)result[ordinals["numfield"]];
            return(obj);
        }