protected override void AddValue(string value)
 {
     Subj subject = new Subj();
     subject.idSubject = FreeIndex;
     subject.nameSubject = value;
     EntitiesHolder.Entities.Subj.AddObject(subject);
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Subj EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubj(Subj subj)
 {
     base.AddObject("Subj", subj);
 }
Пример #3
0
 /// <summary>
 /// Create a new Subj object.
 /// </summary>
 /// <param name="idSubject">Initial value of the idSubject property.</param>
 /// <param name="nameSubject">Initial value of the nameSubject property.</param>
 public static Subj CreateSubj(global::System.Decimal idSubject, global::System.String nameSubject)
 {
     Subj subj = new Subj();
     subj.idSubject = idSubject;
     subj.nameSubject = nameSubject;
     return subj;
 }