Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompaniesModuls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompaniesModuls(CompaniesModul companiesModul)
 {
     base.AddObject("CompaniesModuls", companiesModul);
 }
Example #2
0
 /// <summary>
 /// Create a new CompaniesModul object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 /// <param name="companyId">Initial value of the CompanyId property.</param>
 /// <param name="modulId">Initial value of the ModulId property.</param>
 public static CompaniesModul CreateCompaniesModul(global::System.Int32 id, global::System.DateTime creationDate, global::System.Int32 companyId, global::System.Int32 modulId)
 {
     CompaniesModul companiesModul = new CompaniesModul();
     companiesModul.Id = id;
     companiesModul.CreationDate = creationDate;
     companiesModul.CompanyId = companyId;
     companiesModul.ModulId = modulId;
     return companiesModul;
 }