コード例 #1
0
 /// <summary>
 /// Create a new person object.
 /// </summary>
 /// <param name="peopleID">Initial value of the peopleID property.</param>
 /// <param name="logonName">Initial value of the logonName property.</param>
 /// <param name="passwd">Initial value of the passwd property.</param>
 /// <param name="recCreationDate">Initial value of the recCreationDate property.</param>
 public static person Createperson(global::System.Int32 peopleID, global::System.String logonName, global::System.String passwd, global::System.DateTime recCreationDate)
 {
     person person = new person();
     person.peopleID = peopleID;
     person.logonName = logonName;
     person.passwd = passwd;
     person.recCreationDate = recCreationDate;
     return person;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the people EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopeople(person person)
 {
     base.AddObject("people", person);
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the people EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopeople(person person)
 {
     base.AddObject("people", person);
 }