/// <summary> /// Deprecated Method for adding a new object to the Families EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFamilies(Family family) { base.AddObject("Families", family); }
/// <summary> /// Create a new Family object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="rank">Initial value of the Rank property.</param> public static Family CreateFamily(global::System.Int32 id, global::System.String name, global::System.Int32 rank) { Family family = new Family(); family.Id = id; family.Name = name; family.Rank = rank; return family; }