/// <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; }
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<T> property instead. /// </summary> public void AddToTypicalStudent(TypicalStudent typicalStudent) { base.AddObject("TypicalStudent", typicalStudent); }
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); } } }