/// <summary>
 /// Create a new MainTable object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="categoriesViewStylesID">Initial value of the CategoriesViewStylesID property.</param>
 /// <param name="phoneOrders">Initial value of the PhoneOrders property.</param>
 /// <param name="areaID">Initial value of the AreaID property.</param>
 public static MainTable CreateMainTable(global::System.Int32 id, global::System.Int32 categoryID, global::System.Int32 categoriesViewStylesID, global::System.Int32 phoneOrders, global::System.Int32 areaID)
 {
     MainTable mainTable = new MainTable();
     mainTable.id = id;
     mainTable.CategoryID = categoryID;
     mainTable.CategoriesViewStylesID = categoriesViewStylesID;
     mainTable.PhoneOrders = phoneOrders;
     mainTable.AreaID = areaID;
     return mainTable;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MainTables EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMainTables(MainTable mainTable)
 {
     base.AddObject("MainTables", mainTable);
 }