//Insert new ensure for a method
        public ENSURE InsertENSURES(int idmethod, string noidung)
		{
			var newItem = new ENSURE
			{
                IDMethod = idmethod,
				NoiDung = noidung
			};
            return _repENSURES.Insert(newItem) ? newItem : null;
		}
 /// <summary>
 /// Create a new ENSURE object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDMethod">Initial value of the IDMethod property.</param>
 public static ENSURE CreateENSURE(global::System.Int32 id, global::System.Int32 iDMethod)
 {
     ENSURE eNSURE = new ENSURE();
     eNSURE.ID = id;
     eNSURE.IDMethod = iDMethod;
     return eNSURE;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ENSURES EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToENSURES(ENSURE eNSURE)
 {
     base.AddObject("ENSURES", eNSURE);
 }