Пример #1
0
        public static SourceCommitLog GetSourceCommitLog(LoginUser loginUser, int commitID)
        {
            SourceCommitLogs sourceCommitLogs = new SourceCommitLogs(loginUser);

            sourceCommitLogs.LoadByCommitID(commitID);
            if (sourceCommitLogs.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(sourceCommitLogs[0]);
            }
        }
Пример #2
0
 public SourceCommitLog(DataRow row, SourceCommitLogs sourceCommitLogs) : base(row, sourceCommitLogs)
 {
     _sourceCommitLogs = sourceCommitLogs;
 }