/// <summary>
 /// Deprecated Method for adding a new object to the Privileges EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPrivileges(Privilege privilege)
 {
     base.AddObject("Privileges", privilege);
 }
 /// <summary>
 /// Create a new Privilege object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="privilegeName">Initial value of the PrivilegeName property.</param>
 public static Privilege CreatePrivilege(global::System.Guid id, global::System.String privilegeName)
 {
     Privilege privilege = new Privilege();
     privilege.Id = id;
     privilege.PrivilegeName = privilegeName;
     return privilege;
 }