コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TblUsersInCompanys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTblUsersInCompanys(TblUsersInCompany tblUsersInCompany)
 {
     base.AddObject("TblUsersInCompanys", tblUsersInCompany);
 }
コード例 #2
0
 /// <summary>
 /// Create a new TblUsersInCompany object.
 /// </summary>
 /// <param name="userCompanyId">Initial value of the UserCompanyId property.</param>
 public static TblUsersInCompany CreateTblUsersInCompany(global::System.Int32 userCompanyId)
 {
     TblUsersInCompany tblUsersInCompany = new TblUsersInCompany();
     tblUsersInCompany.UserCompanyId = userCompanyId;
     return tblUsersInCompany;
 }