Exemplo n.º 1
0
 /// <summary>
 /// Create a new SalesTerritoryHistory object.
 /// </summary>
 /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param>
 /// <param name="territoryID">Initial value of the TerritoryID property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static SalesTerritoryHistory CreateSalesTerritoryHistory(global::System.Int32 businessEntityID, global::System.Int32 territoryID, global::System.DateTime startDate, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     SalesTerritoryHistory salesTerritoryHistory = new SalesTerritoryHistory();
     salesTerritoryHistory.BusinessEntityID = businessEntityID;
     salesTerritoryHistory.TerritoryID = territoryID;
     salesTerritoryHistory.StartDate = startDate;
     salesTerritoryHistory.rowguid = rowguid;
     salesTerritoryHistory.ModifiedDate = modifiedDate;
     return salesTerritoryHistory;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SalesTerritoryHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesTerritoryHistories(SalesTerritoryHistory salesTerritoryHistory)
 {
     base.AddObject("SalesTerritoryHistories", salesTerritoryHistory);
 }