//Insert new require for a method public REQUIRE InsertREQUIRES(int idmethod, string noidung) { var newItem = new REQUIRE { IDMethod = idmethod, NoiDung = noidung }; return _repREQUIRES.Insert(newItem) ? newItem : null; }
/// <summary> /// Deprecated Method for adding a new object to the REQUIRES EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToREQUIRES(REQUIRE rEQUIRE) { base.AddObject("REQUIRES", rEQUIRE); }
/// <summary> /// Create a new REQUIRE object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="iDMethod">Initial value of the IDMethod property.</param> public static REQUIRE CreateREQUIRE(global::System.Int32 id, global::System.Int32 iDMethod) { REQUIRE rEQUIRE = new REQUIRE(); rEQUIRE.ID = id; rEQUIRE.IDMethod = iDMethod; return rEQUIRE; }