/// <summary> /// Deprecated Method for adding a new object to the tbl_Contract EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_Contract(tbl_Contract tbl_Contract) { base.AddObject("tbl_Contract", tbl_Contract); }
/// <summary> /// Create a new tbl_Contract object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="mailOnCreate">Initial value of the MailOnCreate property.</param> /// <param name="mailOnProcess">Initial value of the MailOnProcess property.</param> public static tbl_Contract Createtbl_Contract(global::System.Guid id, global::System.String title, global::System.Int32 mailOnCreate, global::System.Int32 mailOnProcess) { tbl_Contract tbl_Contract = new tbl_Contract(); tbl_Contract.ID = id; tbl_Contract.Title = title; tbl_Contract.MailOnCreate = mailOnCreate; tbl_Contract.MailOnProcess = mailOnProcess; return tbl_Contract; }