/// <summary>
 /// Deprecated Method for adding a new object to the ModulesInRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModulesInRoles(ModulesInRoles modulesInRoles)
 {
     base.AddObject("ModulesInRoles", modulesInRoles);
 }
 /// <summary>
 /// Create a new ModulesInRoles object.
 /// </summary>
 /// <param name="modulesInRolesId">Initial value of the ModulesInRolesId property.</param>
 /// <param name="moduleId">Initial value of the ModuleId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="processTypeId">Initial value of the ProcessTypeId property.</param>
 public static ModulesInRoles CreateModulesInRoles(global::System.Int32 modulesInRolesId, global::System.Int32 moduleId, global::System.Guid roleId, global::System.Int32 processTypeId)
 {
     ModulesInRoles modulesInRoles = new ModulesInRoles();
     modulesInRoles.ModulesInRolesId = modulesInRolesId;
     modulesInRoles.ModuleId = moduleId;
     modulesInRoles.RoleId = roleId;
     modulesInRoles.ProcessTypeId = processTypeId;
     return modulesInRoles;
 }