/// <summary>
 /// Create a new Table3 object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="desc">Initial value of the Desc property.</param>
 /// <param name="col1">Initial value of the Col1 property.</param>
 /// <param name="col2">Initial value of the Col2 property.</param>
 /// <param name="col3">Initial value of the Col3 property.</param>
 /// <param name="col4">Initial value of the Col4 property.</param>
 /// <param name="col5">Initial value of the Col5 property.</param>
 /// <param name="col6">Initial value of the Col6 property.</param>
 /// <param name="col7">Initial value of the Col7 property.</param>
 /// <param name="col8">Initial value of the Col8 property.</param>
 /// <param name="col9">Initial value of the Col9 property.</param>
 /// <param name="col10">Initial value of the Col10 property.</param>
 /// <param name="col11">Initial value of the Col11 property.</param>
 /// <param name="col12">Initial value of the Col12 property.</param>
 /// <param name="col13">Initial value of the Col13 property.</param>
 /// <param name="col14">Initial value of the Col14 property.</param>
 /// <param name="col15">Initial value of the Col15 property.</param>
 public static Table3 CreateTable3(global::System.Int32 id, global::System.String desc, global::System.Int32 col1, global::System.Int32 col2, global::System.Int32 col3, global::System.Int32 col4, global::System.Int32 col5, global::System.Int32 col6, global::System.Int32 col7, global::System.Int32 col8, global::System.Int32 col9, global::System.Int32 col10, global::System.Int32 col11, global::System.Int32 col12, global::System.Int32 col13, global::System.Int32 col14, global::System.DateTime col15)
 {
     Table3 table3 = new Table3();
     table3.Id = id;
     table3.Desc = desc;
     table3.Col1 = col1;
     table3.Col2 = col2;
     table3.Col3 = col3;
     table3.Col4 = col4;
     table3.Col5 = col5;
     table3.Col6 = col6;
     table3.Col7 = col7;
     table3.Col8 = col8;
     table3.Col9 = col9;
     table3.Col10 = col10;
     table3.Col11 = col11;
     table3.Col12 = col12;
     table3.Col13 = col13;
     table3.Col14 = col14;
     table3.Col15 = col15;
     return table3;
 }
        //add some random rows to table3
        public void PopulateTable3(string clientCode)
        {
            using (var context = new MigrationDbEntities())
            {

                Random rnd = new Random();

                var table = new Table3();

                table.Desc  = "Row for client " + clientCode;
                table.Col1 = rnd.Next(1, 100000);
                table.Col2 = rnd.Next(1, 100000);
                table.Col3 = rnd.Next(1, 100000);
                table.Col4 = rnd.Next(1, 100000);
                table.Col5 = rnd.Next(1, 100000);
                table.Col6 = rnd.Next(1, 100000);
                table.Col7 = rnd.Next(1, 100000);
                table.Col8 = rnd.Next(1, 100000);
                table.Col9 = rnd.Next(1, 100000);
                table.Col10 = rnd.Next(1, 100000);
                table.Col11 = rnd.Next(1, 100000);
                table.Col12 = rnd.Next(1, 100000);
                table.Col13 = rnd.Next(1, 100000);
                table.Col14 = rnd.Next(1, 100000);
                table.Col15 = DateTime.Now;

                context.AddToTable3(table);
                context.SaveChanges();
            }
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Table3 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTable3(Table3 table3)
 {
     base.AddObject("Table3", table3);
 }