/// <summary> /// Deprecated Method for adding a new object to the SubTableVariables EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubTableVariables(SubTableVariable subTableVariable) { base.AddObject("SubTableVariables", subTableVariable); }
/// <summary> /// Create a new SubTableVariable object. /// </summary> /// <param name="mainTable">Initial value of the MainTable property.</param> /// <param name="subTable">Initial value of the SubTable property.</param> /// <param name="variable">Initial value of the Variable property.</param> /// <param name="variableType">Initial value of the VariableType property.</param> /// <param name="storeColumnNo">Initial value of the StoreColumnNo property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="logDate">Initial value of the LogDate property.</param> public static SubTableVariable CreateSubTableVariable(global::System.String mainTable, global::System.String subTable, global::System.String variable, global::System.String variableType, global::System.Int16 storeColumnNo, global::System.String userID, global::System.DateTime logDate) { SubTableVariable subTableVariable = new SubTableVariable(); subTableVariable.MainTable = mainTable; subTableVariable.SubTable = subTable; subTableVariable.Variable = variable; subTableVariable.VariableType = variableType; subTableVariable.StoreColumnNo = storeColumnNo; subTableVariable.UserID = userID; subTableVariable.LogDate = logDate; return subTableVariable; }