コード例 #1
0
 /// <summary>
 /// Create a new PersonView object.
 /// </summary>
 /// <param name="idPerson">Initial value of the idPerson property.</param>
 public static PersonView CreatePersonView(global::System.Int32 idPerson)
 {
     PersonView personView = new PersonView();
     personView.idPerson = idPerson;
     return personView;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonViews(PersonView personView)
 {
     base.AddObject("PersonViews", personView);
 }