예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCostCentreMapping EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCostCentreMapping(tblCostCentreMapping tblCostCentreMapping)
 {
     base.AddObject("tblCostCentreMapping", tblCostCentreMapping);
 }
예제 #2
0
 /// <summary>
 /// Create a new tblCostCentreMapping object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="mapToCostCentreId">Initial value of the MapToCostCentreId 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 tblCostCentreMapping CreatetblCostCentreMapping(global::System.Guid id, global::System.Guid mapToCostCentreId, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblCostCentreMapping tblCostCentreMapping = new tblCostCentreMapping();
     tblCostCentreMapping.Id = id;
     tblCostCentreMapping.MapToCostCentreId = mapToCostCentreId;
     tblCostCentreMapping.IM_DateCreated = iM_DateCreated;
     tblCostCentreMapping.IM_DateLastUpdated = iM_DateLastUpdated;
     tblCostCentreMapping.IM_Status = iM_Status;
     return tblCostCentreMapping;
 }