public void Create(DependencyCreateArgs args) { instance = new DbConnDependency(); DBConnDependencyCreateArgs arg = (DBConnDependencyCreateArgs)args; if (arg == null) throw new ArgumentException(); IDbOp op = arg.DbOp; op.ConnectionState.RegisterDependency(DependentableChangedCallback); }
public void Create(DependencyCreateArgs args) { instance = new DbConnDependency(); DBConnDependencyCreateArgs arg = (DBConnDependencyCreateArgs)args; if (arg == null) { throw new ArgumentException(); } IDbOp op = arg.DbOp; op.ConnectionState.RegisterDependency(DependentableChangedCallback); }