/// <summary> /// Deprecated Method for adding a new object to the SubjectInstances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubjectInstances(SubjectInstance subjectInstance) { base.AddObject("SubjectInstances", subjectInstance); }
/// <summary> /// Create a new SubjectInstance object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static SubjectInstance CreateSubjectInstance(global::System.Int32 id) { SubjectInstance subjectInstance = new SubjectInstance(); subjectInstance.Id = id; return subjectInstance; }