/// <summary>
 /// Deprecated Method for adding a new object to the tblcode EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblcode(tblcode tblcode)
 {
     base.AddObject("tblcode", tblcode);
 }
 /// <summary>
 /// Create a new tblcode object.
 /// </summary>
 /// <param name="idcode">Initial value of the idcode property.</param>
 /// <param name="idcodetype">Initial value of the idcodetype property.</param>
 /// <param name="iditem">Initial value of the iditem property.</param>
 /// <param name="code">Initial value of the code property.</param>
 public static tblcode Createtblcode(global::System.Int32 idcode, global::System.Int32 idcodetype, global::System.Int32 iditem, global::System.String code)
 {
     tblcode tblcode = new tblcode();
     tblcode.idcode = idcode;
     tblcode.idcodetype = idcodetype;
     tblcode.iditem = iditem;
     tblcode.code = code;
     return tblcode;
 }