/// <summary> /// Deprecated Method for adding a new object to the MainTables EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMainTables(MainTable mainTable) { base.AddObject("MainTables", mainTable); }
/// <summary> /// Create a new MainTable object. /// </summary> /// <param name="mainTable1">Initial value of the MainTable1 property.</param> /// <param name="tableStatus">Initial value of the TableStatus property.</param> /// <param name="presText">Initial value of the PresText property.</param> /// <param name="tableId">Initial value of the TableId property.</param> /// <param name="presCategory">Initial value of the PresCategory property.</param> /// <param name="specCharExists">Initial value of the SpecCharExists property.</param> /// <param name="subjectCode">Initial value of the SubjectCode property.</param> /// <param name="timeScale">Initial value of the TimeScale property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="logDate">Initial value of the LogDate property.</param> public static MainTable CreateMainTable(global::System.String mainTable1, global::System.String tableStatus, global::System.String presText, global::System.String tableId, global::System.String presCategory, global::System.String specCharExists, global::System.String subjectCode, global::System.String timeScale, global::System.String userId, global::System.DateTime logDate) { MainTable mainTable = new MainTable(); mainTable.MainTable1 = mainTable1; mainTable.TableStatus = tableStatus; mainTable.PresText = presText; mainTable.TableId = tableId; mainTable.PresCategory = presCategory; mainTable.SpecCharExists = specCharExists; mainTable.SubjectCode = subjectCode; mainTable.TimeScale = timeScale; mainTable.UserId = userId; mainTable.LogDate = logDate; return mainTable; }