/// <summary> /// Create a new worklog object. /// </summary> /// <param name="autoID">Initial value of the AutoID property.</param> /// <param name="finish">Initial value of the Finish property.</param> /// <param name="guuID">Initial value of the GuuID property.</param> /// <param name="isFinish">Initial value of the IsFinish property.</param> /// <param name="log">Initial value of the Log property.</param> /// <param name="plan">Initial value of the Plan property.</param> /// <param name="refID">Initial value of the RefID property.</param> /// <param name="remark">Initial value of the Remark property.</param> public static worklog Createworklog(global::System.Int32 autoID, global::System.DateTime finish, global::System.Guid guuID, global::System.Boolean isFinish, global::System.String log, global::System.DateTime plan, global::System.Int32 refID, global::System.String remark) { worklog worklog = new worklog(); worklog.AutoID = autoID; worklog.Finish = finish; worklog.GuuID = guuID; worklog.IsFinish = isFinish; worklog.Log = log; worklog.Plan = plan; worklog.RefID = refID; worklog.Remark = remark; return(worklog); }
/// <summary> /// Deprecated Method for adding a new object to the worklogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToworklogs(worklog worklog) { base.AddObject("worklogs", worklog); }