/// <summary>
 /// Create a new work object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="gid">Initial value of the gid property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="edits_pending">Initial value of the edits_pending property.</param>
 public static work Creatework(global::System.Int32 id, global::System.String gid, global::System.Int32 name, global::System.Int32 edits_pending)
 {
     work work = new work();
     work.id = id;
     work.gid = gid;
     work.name = name;
     work.edits_pending = edits_pending;
     return work;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the works EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToworks(work work)
 {
     base.AddObject("works", work);
 }