/// <summary> /// Deprecated Method for adding a new object to the Heads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHeads(Head head) { base.AddObject("Heads", head); }
/// <summary> /// Create a new Head object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="type">Initial value of the Type property.</param> public static Head CreateHead(global::System.Int32 id, global::System.String name, global::System.Boolean isActive, global::System.String type) { Head head = new Head(); head.ID = id; head.Name = name; head.IsActive = isActive; head.Type = type; return head; }