/// <summary>
 /// Create a new Privilege object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="desc">Initial value of the Desc property.</param>
 public static Privilege CreatePrivilege(global::System.Int64 id, global::System.String name, global::System.String desc)
 {
     Privilege privilege = new Privilege();
     privilege.Id = id;
     privilege.Name = name;
     privilege.Desc = desc;
     return privilege;
 }
 /// <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);
 }