/// <summary> /// Create a new Company object. /// </summary> /// <param name="contractCode">Initial value of the contractCode property.</param> /// <param name="code">Initial value of the code property.</param> /// <param name="description">Initial value of the description property.</param> /// <param name="sortIndex">Initial value of the sortIndex property.</param> /// <param name="active_p">Initial value of the active_p property.</param> public static Company CreateCompany(global::System.Decimal contractCode, global::System.Decimal code, global::System.String description, global::System.Int16 sortIndex, global::System.String active_p) { Company company = new Company(); company.contractCode = contractCode; company.code = code; company.description = description; company.sortIndex = sortIndex; company.active_p = active_p; return company; }
/// <summary> /// Deprecated Method for adding a new object to the Companies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompanies(Company company) { base.AddObject("Companies", company); }