/// <summary> /// Create a new tblUserGroupRoles object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="groupId">Initial value of the GroupId property.</param> /// <param name="canAccess">Initial value of the CanAccess property.</param> /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param> /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param> /// <param name="iM_Status">Initial value of the IM_Status property.</param> public static tblUserGroupRoles CreatetblUserGroupRoles(global::System.Guid id, global::System.Int32 roleId, global::System.Guid groupId, global::System.Boolean canAccess, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblUserGroupRoles tblUserGroupRoles = new tblUserGroupRoles(); tblUserGroupRoles.Id = id; tblUserGroupRoles.RoleId = roleId; tblUserGroupRoles.GroupId = groupId; tblUserGroupRoles.CanAccess = canAccess; tblUserGroupRoles.IM_DateCreated = iM_DateCreated; tblUserGroupRoles.IM_DateLastUpdated = iM_DateLastUpdated; tblUserGroupRoles.IM_Status = iM_Status; return tblUserGroupRoles; }
/// <summary> /// Deprecated Method for adding a new object to the tblUserGroupRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblUserGroupRoles(tblUserGroupRoles tblUserGroupRoles) { base.AddObject("tblUserGroupRoles", tblUserGroupRoles); }