/// <summary> /// Deprecated Method for adding a new object to the Subjects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubjects(Subject subject) { base.AddObject("Subjects", subject); }
/// <summary> /// Create a new Subject object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="tName">Initial value of the TName property.</param> /// <param name="tFullName">Initial value of the TFullName property.</param> public static Subject CreateSubject(global::System.Int32 id, global::System.String tName, global::System.String tFullName) { Subject subject = new Subject(); subject.ID = id; subject.TName = tName; subject.TFullName = tFullName; return subject; }