Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Family object.
 /// </summary>
 /// <param name="matrimonyID">Initial value of the MatrimonyID property.</param>
 public static Family CreateFamily(global::System.Int32 matrimonyID)
 {
     Family family = new Family();
     family.MatrimonyID = matrimonyID;
     return family;
 }