Ejemplo n.º 1
0
        public static GeneratedUsers Factory(IDataRecord record)
        {
            GeneratedUsers super;

            super        = new GeneratedUsers();
            super.UserID = (long)record["User_ID"];
            object username;

            username = record["UserName"];
            if (username == DBNull.Value)
            {
                super.UserName = null;
            }
            else
            {
                super.UserName = (string)username;
            }
            return(super);
        }
Ejemplo n.º 2
0
		public static GeneratedUsers Factory(IDataRecord record)
		{
			GeneratedUsers super;
			super = new GeneratedUsers();
			super.UserID = ((long)(record["User_ID"]));
			object username;
			username = record["UserName"];
			if ((username == System.DBNull.Value))
			{
				super.UserName = null;
			}
			else
			{
				super.UserName = ((string)(username));
			}
			return super;
		}