/// <summary> /// Create a new Child object. /// </summary> /// <param name="childId">Initial value of the ChildId property.</param> /// <param name="reference">Initial value of the Reference property.</param> /// <param name="surname">Initial value of the Surname property.</param> public static Child CreateChild(global::System.Int32 childId, global::System.String reference, global::System.String surname) { Child child = new Child(); child.ChildId = childId; child.Reference = reference; child.Surname = surname; return child; }
/// <summary> /// Deprecated Method for adding a new object to the Children EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChildren(Child child) { base.AddObject("Children", child); }