コード例 #1
0
ファイル: DbChange.cs プロジェクト: mattvolp/DrivenDb
 public DbChange(DbChangeType changeType, string affectedTable, IEnumerable <string> affectedColumns, IDbEntity entity)
 {
     ChangeType      = changeType;
     AffectedTable   = affectedTable;
     AffectedColumns = affectedColumns;
     Entity          = entity;
 }
コード例 #2
0
        /// <summary>新实例</summary>
        public DbChangeEventArgs(DbChangeType changeType, IDbCommand cmd)
        {
            if (cmd == null)
            {
                throw new ArgumentNullException("cmd");
            }

            this.ChangeType   = changeType;
            this.WatchCommand = cmd;
        }
コード例 #3
0
 public DbChangedResult WaitForChanged(DbChangeType changeType, int timeout)
 {
     throw new NotImplementedException();
 }