예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Companies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompanies(Company company)
 {
     base.AddObject("Companies", company);
 }