/// <summary> /// Create a new AccountingType object. /// </summary> /// <param name="accountingTypeID">Initial value of the AccountingTypeID property.</param> public static AccountingType CreateAccountingType(global::System.Int16 accountingTypeID) { AccountingType accountingType = new AccountingType(); accountingType.AccountingTypeID = accountingTypeID; return accountingType; }
/// <summary> /// Deprecated Method for adding a new object to the AccountingTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccountingTypes(AccountingType accountingType) { base.AddObject("AccountingTypes", accountingType); }