Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TblGroupInRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTblGroupInRoles(TblGroupInRole tblGroupInRole)
 {
     base.AddObject("TblGroupInRoles", tblGroupInRole);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new TblGroupInRole object.
 /// </summary>
 /// <param name="groupRoleId">Initial value of the GroupRoleId property.</param>
 /// <param name="groupId">Initial value of the GroupId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 public static TblGroupInRole CreateTblGroupInRole(global::System.Int32 groupRoleId, global::System.Int32 groupId, global::System.Int32 roleId)
 {
     TblGroupInRole tblGroupInRole = new TblGroupInRole();
     tblGroupInRole.GroupRoleId = groupRoleId;
     tblGroupInRole.GroupId = groupId;
     tblGroupInRole.RoleId = roleId;
     return tblGroupInRole;
 }