/// <summary> /// Deprecated Method for adding a new object to the tblGeneralLedgers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblGeneralLedgers(tblGeneralLedger tblGeneralLedger) { base.AddObject("tblGeneralLedgers", tblGeneralLedger); }
/// <summary> /// Create a new tblGeneralLedger object. /// </summary> /// <param name="idGeneralLedger">Initial value of the idGeneralLedger property.</param> /// <param name="nameGeneralLedger">Initial value of the nameGeneralLedger property.</param> /// <param name="idChartOfAccount">Initial value of the idChartOfAccount property.</param> /// <param name="amount">Initial value of the Amount 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 tblGeneralLedger CreatetblGeneralLedger(global::System.Int32 idGeneralLedger, global::System.String nameGeneralLedger, global::System.Int32 idChartOfAccount, global::System.Single amount, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblGeneralLedger tblGeneralLedger = new tblGeneralLedger(); tblGeneralLedger.idGeneralLedger = idGeneralLedger; tblGeneralLedger.nameGeneralLedger = nameGeneralLedger; tblGeneralLedger.idChartOfAccount = idChartOfAccount; tblGeneralLedger.Amount = amount; tblGeneralLedger.dateCreated = dateCreated; tblGeneralLedger.dateModified = dateModified; tblGeneralLedger.CreatedByLogin = createdByLogin; tblGeneralLedger.ModifiedByLogin = modifiedByLogin; return tblGeneralLedger; }