/// <summary>
 /// Deprecated Method for adding a new object to the labels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolabels(label label)
 {
     base.AddObject("labels", label);
 }
 /// <summary>
 /// Create a new label 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="sort_name">Initial value of the sort_name property.</param>
 /// <param name="edits_pending">Initial value of the edits_pending property.</param>
 public static label Createlabel(global::System.Int32 id, global::System.String gid, global::System.Int32 name, global::System.Int32 sort_name, global::System.Int32 edits_pending)
 {
     label label = new label();
     label.id = id;
     label.gid = gid;
     label.name = name;
     label.sort_name = sort_name;
     label.edits_pending = edits_pending;
     return label;
 }