/// <summary>
 /// Deprecated Method for adding a new object to the SubTables EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubTables(SubTable subTable)
 {
     base.AddObject("SubTables", subTable);
 }
 /// <summary>
 /// Create a new SubTable object.
 /// </summary>
 /// <param name="mainTable">Initial value of the MainTable property.</param>
 /// <param name="subTable1">Initial value of the SubTable1 property.</param>
 /// <param name="presText">Initial value of the PresText property.</param>
 /// <param name="cleanTable">Initial value of the CleanTable property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 public static SubTable CreateSubTable(global::System.String mainTable, global::System.String subTable1, global::System.String presText, global::System.String cleanTable, global::System.String userId, global::System.DateTime logDate)
 {
     SubTable subTable = new SubTable();
     subTable.MainTable = mainTable;
     subTable.SubTable1 = subTable1;
     subTable.PresText = presText;
     subTable.CleanTable = cleanTable;
     subTable.UserId = userId;
     subTable.LogDate = logDate;
     return subTable;
 }