コード例 #1
0
 /// <summary>
 /// Create a new Family object.
 /// </summary>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static Family CreateFamily(global::System.String name, global::System.String description)
 {
     Family family = new Family();
     family.Name = name;
     family.Description = description;
     return family;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FamilySet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFamilySet(Family family)
 {
     base.AddObject("FamilySet", family);
 }