Exemplo n.º 1
0
 /// <summary>
 /// Create a new Company object.
 /// </summary>
 /// <param name="random">Initial value of the Random property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 public static Company CreateCompany(global::System.Int32 random, global::System.Guid rowguid)
 {
     Company company = new Company();
     company.Random = random;
     company.rowguid = rowguid;
     return company;
 }
Exemplo n.º 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);
 }