/// <summary>
        /// Creates a new instance of a database with three default items
        /// </summary>
        public static DatabaseMock Create()
        {
            DatabaseMock    database = new DatabaseMock();
            List <ItemMock> items    = new List <ItemMock>();

            items.Add(new ItemMock("item1"));
            items.Add(new ItemMock("item2"));
            items.Add(new ItemMock("item3"));
            database.Table = items;
            return(database);
        }
        static void Main()
        {
            DatabaseMock database = DatabaseMock.Create();
            var          query    =
                from item in database.Table
                select new {
                field1 = item.Value,
                field2 = item.Value,
                field3 = item.Value
            };

            if (query.Count() != 0)
            {
                DataTable table = new DataTable("Table");
                FillColumns(table, query.First().GetType());
    #if DEBUG
                foreach (DataColumn column in table.Columns)
                {
                    Debug.WriteLine(column.ColumnName);
                }
    #endif
            }
        }