Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Families EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFamilies(Family family)
 {
     base.AddObject("Families", family);
 }
Example #2
0
 /// <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;
 }