/// <summary>
 /// Deprecated Method for adding a new object to the usergroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTousergroups(usergroup usergroup)
 {
     base.AddObject("usergroups", usergroup);
 }
 /// <summary>
 /// Create a new usergroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static usergroup Createusergroup(global::System.Int32 id, global::System.Boolean isActive)
 {
     usergroup usergroup = new usergroup();
     usergroup.Id = id;
     usergroup.IsActive = isActive;
     return usergroup;
 }