コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: jascenci/MS
 /// <summary>
 /// Deprecated Method for adding a new object to the tblGeneralLedgers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblGeneralLedgers(tblGeneralLedger tblGeneralLedger)
 {
     base.AddObject("tblGeneralLedgers", tblGeneralLedger);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: jascenci/MS
 /// <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;
 }