/// <summary> /// Deprecated Method for adding a new object to the Counselors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCounselors(Counselor counselor) { base.AddObject("Counselors", counselor); }
/// <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; }