/// <summary> /// Create a new edit object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="editor">Initial value of the editor property.</param> /// <param name="type">Initial value of the type property.</param> /// <param name="status">Initial value of the status property.</param> /// <param name="data">Initial value of the data property.</param> /// <param name="yes_votes">Initial value of the yes_votes property.</param> /// <param name="no_votes">Initial value of the no_votes property.</param> /// <param name="autoedit">Initial value of the autoedit property.</param> /// <param name="expire_time">Initial value of the expire_time property.</param> /// <param name="quality">Initial value of the quality property.</param> public static edit Createedit(global::System.Int32 id, global::System.Int32 editor, global::System.Int16 type, global::System.Int16 status, global::System.String data, global::System.Int32 yes_votes, global::System.Int32 no_votes, global::System.Int16 autoedit, global::System.DateTime expire_time, global::System.Int16 quality) { edit edit = new edit(); edit.id = id; edit.editor = editor; edit.type = type; edit.status = status; edit.data = data; edit.yes_votes = yes_votes; edit.no_votes = no_votes; edit.autoedit = autoedit; edit.expire_time = expire_time; edit.quality = quality; return edit; }
/// <summary> /// Deprecated Method for adding a new object to the edits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToedits(edit edit) { base.AddObject("edits", edit); }