Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 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);
         }
     }
 }