/// <summary> /// Deprecated Method for adding a new object to the LongTermAssets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLongTermAssets(LongTermAsset longTermAsset) { base.AddObject("LongTermAssets", longTermAsset); }
/// <summary> /// Create a new LongTermAsset object. /// </summary> /// <param name="longTermAssetID">Initial value of the LongTermAssetID property.</param> /// <param name="longTermAssetName">Initial value of the LongTermAssetName property.</param> /// <param name="longTermAssetLocation">Initial value of the LongTermAssetLocation property.</param> /// <param name="longTermAssetCost">Initial value of the LongTermAssetCost property.</param> /// <param name="longTermAssetPurchaseDate">Initial value of the LongTermAssetPurchaseDate property.</param> public static LongTermAsset CreateLongTermAsset(global::System.Int16 longTermAssetID, global::System.String longTermAssetName, global::System.String longTermAssetLocation, global::System.Decimal longTermAssetCost, global::System.DateTime longTermAssetPurchaseDate) { LongTermAsset longTermAsset = new LongTermAsset(); longTermAsset.LongTermAssetID = longTermAssetID; longTermAsset.LongTermAssetName = longTermAssetName; longTermAsset.LongTermAssetLocation = longTermAssetLocation; longTermAsset.LongTermAssetCost = longTermAssetCost; longTermAsset.LongTermAssetPurchaseDate = longTermAssetPurchaseDate; return longTermAsset; }