/// <summary> /// Deprecated Method for adding a new object to the TblRightsInRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTblRightsInRoles(TblRightsInRole tblRightsInRole) { base.AddObject("TblRightsInRoles", tblRightsInRole); }
/// <summary> /// Create a new TblRightsInRole object. /// </summary> /// <param name="rightRoleId">Initial value of the RightRoleId property.</param> /// <param name="rightId">Initial value of the RightId property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> public static TblRightsInRole CreateTblRightsInRole(global::System.Int32 rightRoleId, global::System.Int32 rightId, global::System.Int32 roleId) { TblRightsInRole tblRightsInRole = new TblRightsInRole(); tblRightsInRole.RightRoleId = rightRoleId; tblRightsInRole.RightId = rightId; tblRightsInRole.RoleId = roleId; return tblRightsInRole; }