Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Counselors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCounselors(Counselor counselor)
 {
     base.AddObject("Counselors", counselor);
 }
Пример #2
0
 /// <summary>
 /// Create a new Counselor object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Counselor CreateCounselor(global::System.Int32 id, global::System.Byte[] rowVersion)
 {
     Counselor counselor = new Counselor();
     counselor.Id = id;
     counselor.RowVersion = rowVersion;
     return counselor;
 }