Example #1
0
 /// <summary>
 /// permet la création d'un bug mineur
 /// </summary>
 /// <param name="bug">l'objet bug à crer</param>
 /// <returns>true si tout se passe bien sinon false</returns>
 public static bool CreateBugMinor(T_BugMinor bug, long idProject)
 {
     bug.CreateDate = DateTime.Now;
     return DataAccess.Bug.CreateBug(bug, idProject);
 }
Example #2
0
 /// <summary>
 /// Create a new T_BugMinor 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_BugMinor CreateT_BugMinor(global::System.Int64 id, global::System.String title, global::System.DateTime createDate)
 {
     T_BugMinor t_BugMinor = new T_BugMinor();
     t_BugMinor.id = id;
     t_BugMinor.title = title;
     t_BugMinor.CreateDate = createDate;
     return t_BugMinor;
 }