Exemple #1
0
 /// <summary></summary>
 /// <returns>
 ///  TemplateId, TemplateName, CreatorId, LastEditorId, CreationDate, LastSavedDate, TemplateData
 /// </returns>
 public static DataTable GetListProjectTemplateDataTable()
 {
     return(DBProjectTemplate.GetListProjectTemplateDataTable(Security.CurrentUser.TimeZoneId));
 }
Exemple #2
0
 /// <summary></summary>
 /// <returns>
 ///  TemplateId, TemplateName, CreatorId, LastEditorId, CreationDate, LastSavedDate, TemplateData
 /// </returns>
 public static IDataReader GetListProjectTemplate()
 {
     return(DBProjectTemplate.GetListProjectTemplate(Security.CurrentUser.TimeZoneId));
 }
Exemple #3
0
 public static void UpdateProjectTemplate(int TemplateId, string TemplateName,
                                          string TemplateData)
 {
     DBProjectTemplate.UpdateProjectTemplate(TemplateId, TemplateName,
                                             Security.CurrentUser.UserID, DateTime.UtcNow, TemplateData);
 }
Exemple #4
0
 public static void DeleteProjectTemplate(int TemplateId)
 {
     DBProjectTemplate.DeleteProjectTemplate(TemplateId);
 }
Exemple #5
0
 public static int AddProjectTemplate(string TemplateName, string TemplateData)
 {
     return(DBProjectTemplate.AddProjectTemplate(TemplateName, Security.CurrentUser.UserID,
                                                 DateTime.UtcNow, TemplateData));
 }