/// <summary> /// Deprecated Method for adding a new object to the tblLogSubCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblLogSubCategories(tblLogSubCategory tblLogSubCategory) { base.AddObject("tblLogSubCategories", tblLogSubCategory); }
/// <summary> /// Create a new tblLogSubCategory object. /// </summary> /// <param name="idLogSubCategory">Initial value of the idLogSubCategory property.</param> /// <param name="idLogCategory">Initial value of the idLogCategory property.</param> /// <param name="nameLogSubCategory">Initial value of the nameLogSubCategory property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> /// <param name="dateModified">Initial value of the dateModified property.</param> /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param> /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param> public static tblLogSubCategory CreatetblLogSubCategory(global::System.Int32 idLogSubCategory, global::System.Int32 idLogCategory, global::System.String nameLogSubCategory, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblLogSubCategory tblLogSubCategory = new tblLogSubCategory(); tblLogSubCategory.idLogSubCategory = idLogSubCategory; tblLogSubCategory.idLogCategory = idLogCategory; tblLogSubCategory.nameLogSubCategory = nameLogSubCategory; tblLogSubCategory.dateCreated = dateCreated; tblLogSubCategory.dateModified = dateModified; tblLogSubCategory.CreatedByLogin = createdByLogin; tblLogSubCategory.ModifiedByLogin = modifiedByLogin; return tblLogSubCategory; }