/// <summary> /// Create a new AccountType object. /// </summary> /// <param name="iDAccountType">Initial value of the IDAccountType property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="lastUpdate">Initial value of the LastUpdate property.</param> /// <param name="iDUser">Initial value of the IDUser property.</param> public static AccountType CreateAccountType(global::System.Int32 iDAccountType, global::System.String description, global::System.DateTime lastUpdate, global::System.String iDUser) { AccountType accountType = new AccountType(); accountType.IDAccountType = iDAccountType; accountType.Description = description; accountType.LastUpdate = lastUpdate; accountType.IDUser = iDUser; return accountType; }
/// <summary> /// Deprecated Method for adding a new object to the AccountType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccountType(AccountType accountType) { base.AddObject("AccountType", accountType); }