public static UserGroupUserList CreateUserGroupUserList(string userId, string groupId, global::Microsoft.Dynamics.DataEntities.SystemUser systemUser, global::Microsoft.Dynamics.DataEntities.UserGroup userGroup) { UserGroupUserList userGroupUserList = new UserGroupUserList(); userGroupUserList.userId = userId; userGroupUserList.groupId = groupId; if ((systemUser == null)) { throw new global::System.ArgumentNullException("systemUser"); } userGroupUserList.SystemUser = systemUser; if ((userGroup == null)) { throw new global::System.ArgumentNullException("userGroup"); } userGroupUserList.UserGroup = userGroup; return(userGroupUserList); }
partial void OnSystemUserChanging(global::Microsoft.Dynamics.DataEntities.SystemUser value);
partial void OnBudgetManagersChanging(global::Microsoft.Dynamics.DataEntities.SystemUser value);