/// <summary> /// permet la création d'un bug de typo /// </summary> /// <param name="bug">l'objet bug à crer</param> /// <returns>true si tout se passe bien sinon false</returns> public static bool CreateBugTypo(T_BugTypo bug, long idProject) { bug.CreateDate = DateTime.Now; return DataAccess.Bug.CreateBug(bug, idProject); }
/// <summary> /// Create a new T_BugTypo object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="title">Initial value of the title property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static T_BugTypo CreateT_BugTypo(global::System.Int64 id, global::System.String title, global::System.DateTime createDate) { T_BugTypo t_BugTypo = new T_BugTypo(); t_BugTypo.id = id; t_BugTypo.title = title; t_BugTypo.CreateDate = createDate; return t_BugTypo; }