/// <summary>
 /// Create a new TypicalStudent object.
 /// </summary>
 /// <param name="typicalStudentId">Initial value of the TypicalStudentId property.</param>
 public static TypicalStudent CreateTypicalStudent(global::System.Guid typicalStudentId)
 {
     TypicalStudent typicalStudent = new TypicalStudent();
     typicalStudent.TypicalStudentId = typicalStudentId;
     return typicalStudent;
 }
Example #2
0
 public void Update(TypicalStudent obj, out OperationResult operationResult)
 {
     lock (Lock)
     {
         if (obj == null)
         {
             operationResult = new OperationResult { Type = OperationResult.ResultType.Warning };
             return;
         }
         Common.Instance.Update
             (obj, objs => objs.TypicalStudentId == obj.TypicalStudentId && objs.LanguageId == obj.LanguageId, out operationResult);
     }
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TypicalStudent EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTypicalStudent(TypicalStudent typicalStudent)
 {
     base.AddObject("TypicalStudent", typicalStudent);
 }
Example #4
0
 public void Insert(TypicalStudent obj, out OperationResult operationResult)
 {
     lock (Lock)
     {
         if (obj == null)
         {
             operationResult = new OperationResult { Type = OperationResult.ResultType.Warning };
         }
         else
         {
             Common.Instance.Insert(obj, out operationResult);
         }
     }
 }