Пример #1
0
 public UserRepository(ChannelRepository owner, ChannelDataClassesDataContext db)
 {
     this.owner = owner;
     this.db = db;
 }
 public ChannelRepository()
 {
     db = new ChannelDataClassesDataContext();
     userDB = new UserRepository(this, db);
 }