Example #1
0
        private int NewDmsProjectLog(DMSProjectLog dmsProjectLog)
        {
            var obj             = dmsProjectLog.GetTableObject();
            var dmsProjectLogId = m_db.Insert("DMSProjectLog", "dms_project_log_id", true, obj);

            return((int)dmsProjectLogId);
        }
Example #2
0
        public void AddDmsProjectLog(string projectGuid, string fileSeriesGuid, string comment)
        {
            var dmsProjectLog = new DMSProjectLog();

            dmsProjectLog.ProjectGuid       = projectGuid;
            dmsProjectLog.FileSerisGuid     = fileSeriesGuid;
            dmsProjectLog.TimeStamp         = DateTime.Now;
            dmsProjectLog.TimeStampUserName = UserInfo.UserName;
            dmsProjectLog.Comment           = comment;
            NewDmsProjectLog(dmsProjectLog);
        }