private static identitytable ORM_CreateProxy(System.Data.IDataReader result, System.Collections.Generic.IDictionary <string, int> ordinals)
        {
            var obj = new identitytable();

            obj.pid          = (long)result[ordinals["pid"]];
            obj.numfield     = (int)result[ordinals["numfield"]];
            obj.boolfield    = (bool)result[ordinals["boolfield"]];
            obj.privatefield = (bool)result[ordinals["privatefield"]];
            obj.textfield    = (string)result[ordinals["textfield"]];
            return(obj);
        }
 public override object CreateRandomObject()
 {
     identitytable item = new identitytable();
     Random rand = new Random();
     item.numfield = rand.Next(1000000);
     item.boolfield = (rand.Next(100) >= 50);
     item.privatefield = (rand.Next(100) >= 50);
     item.textfield = "";
     for (int i = 0; i < 10; i++)
     {
         item.textfield += "abcdefghijklmnopqrstuvwxyz1234567890-_/."[rand.Next(40)];
     }
     return item;
 }
        public override object CreateRandomObject()
        {
            identitytable item = new identitytable();
            Random        rand = new Random();

            item.numfield     = rand.Next(1000000);
            item.boolfield    = (rand.Next(100) >= 50);
            item.privatefield = (rand.Next(100) >= 50);
            item.textfield    = "";
            for (int i = 0; i < 10; i++)
            {
                item.textfield += "abcdefghijklmnopqrstuvwxyz1234567890-_/."[rand.Next(40)];
            }
            return(item);
        }
 private static identitytable ORM_CreateProxy(System.Data.IDataReader result, System.Collections.Generic.IDictionary<string, int> ordinals)
 {
     var obj = new identitytable();
     obj.pid = (long)result[ordinals["pid"]];
     obj.numfield = (int)result[ordinals["numfield"]];
     obj.boolfield = (bool)result[ordinals["boolfield"]];
     obj.privatefield = (bool)result[ordinals["privatefield"]];
     obj.textfield = (string)result[ordinals["textfield"]];
     return obj;
 }