コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCostCentreApplication EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCostCentreApplication(tblCostCentreApplication tblCostCentreApplication)
 {
     base.AddObject("tblCostCentreApplication", tblCostCentreApplication);
 }
コード例 #2
0
 /// <summary>
 /// Create a new tblCostCentreApplication object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="costcentreid">Initial value of the costcentreid property.</param>
 /// <param name="description">Initial value of the description property.</param>
 /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param>
 /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param>
 /// <param name="iM_Status">Initial value of the IM_Status property.</param>
 public static tblCostCentreApplication CreatetblCostCentreApplication(global::System.Guid id, global::System.Guid costcentreid, global::System.String description, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblCostCentreApplication tblCostCentreApplication = new tblCostCentreApplication();
     tblCostCentreApplication.id = id;
     tblCostCentreApplication.costcentreid = costcentreid;
     tblCostCentreApplication.description = description;
     tblCostCentreApplication.IM_DateCreated = iM_DateCreated;
     tblCostCentreApplication.IM_DateLastUpdated = iM_DateLastUpdated;
     tblCostCentreApplication.IM_Status = iM_Status;
     return tblCostCentreApplication;
 }