/// <summary> /// Deprecated Method for adding a new object to the Labels EntitySet. Consider using the .Add method of the associated ObjectSet<T> 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="name">Initial value of the Name property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> public static Label CreateLabel(global::System.Int32 id, global::System.String name, global::System.DateTime created, global::System.DateTime modified) { Label label = new Label(); label.ID = id; label.Name = name; label.Created = created; label.Modified = modified; return label; }