/// <summary> /// Deprecated Method for adding a new object to the OpeningBalances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOpeningBalances(OpeningBalance openingBalance) { base.AddObject("OpeningBalances", openingBalance); }
/// <summary> /// Create a new OpeningBalance object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static OpeningBalance CreateOpeningBalance(global::System.Int32 id, global::System.Boolean isActive) { OpeningBalance openingBalance = new OpeningBalance(); openingBalance.ID = id; openingBalance.IsActive = isActive; return openingBalance; }