/// <summary> /// Deprecated Method for adding a new object to the TblRoleGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTblRoleGroups(TblRoleGroup tblRoleGroup) { base.AddObject("TblRoleGroups", tblRoleGroup); }
/// <summary> /// Create a new TblRoleGroup object. /// </summary> /// <param name="roleGroupsId">Initial value of the RoleGroupsId property.</param> /// <param name="roleGroupsTitle">Initial value of the RoleGroupsTitle property.</param> public static TblRoleGroup CreateTblRoleGroup(global::System.Int32 roleGroupsId, global::System.String roleGroupsTitle) { TblRoleGroup tblRoleGroup = new TblRoleGroup(); tblRoleGroup.RoleGroupsId = roleGroupsId; tblRoleGroup.RoleGroupsTitle = roleGroupsTitle; return tblRoleGroup; }