Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubjectInstances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubjectInstances(SubjectInstance subjectInstance)
 {
     base.AddObject("SubjectInstances", subjectInstance);
 }
Пример #2
0
 /// <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;
 }