// Insert new solution public SOLUTION InsertSOLUTIONS(string tensolution, Guid idnguoidang, string path) { var newItem = new SOLUTION { TenSolution = tensolution, IDNguoiDang = idnguoidang, Path = path }; return _repSOLUTIONS.Insert(newItem) ? newItem : null; }
/// <summary> /// Deprecated Method for adding a new object to the SOLUTIONS EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSOLUTIONS(SOLUTION sOLUTION) { base.AddObject("SOLUTIONS", sOLUTION); }
/// <summary> /// Create a new SOLUTION object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="iDNguoiDang">Initial value of the IDNguoiDang property.</param> public static SOLUTION CreateSOLUTION(global::System.Int32 id, global::System.Guid iDNguoiDang) { SOLUTION sOLUTION = new SOLUTION(); sOLUTION.ID = id; sOLUTION.IDNguoiDang = iDNguoiDang; return sOLUTION; }