예제 #1
0
 public ResourceImpl(HuobiContext db, IConfiguration config, IType type)
 {
     m_db       = db;
     m_config   = config;
     m_resource = this;
     m_type     = type;
 }
예제 #2
0
 public TicketImpl(HuobiContext db, IRedis redis, IUser user)
 {
     this.m_db      = db;
     this.m_iTicket = this;
     this.m_redis   = redis;
     this.m_user    = user;
 }
예제 #3
0
 public ArticleImpl(HuobiContext db, IType type, IUser user, IComment comment, IRedis redis)
 {
     this.m_db       = db;
     this.m_iArticle = this;
     this.m_iType    = type;
     this.m_iUser    = user;
     this.m_iComment = comment;
     this.m_redis    = redis;
 }
예제 #4
0
 public HelpfulImpl(HuobiContext db)
 {
     this.m_db      = db;
     this.m_helpful = this;
 }
예제 #5
0
 public LangImpl(HuobiContext db)
 {
     m_db = db; m_lang = this;
 }
예제 #6
0
 public CommentImpl(HuobiContext db, ICommentLike commentLike)
 {
     this.m_db          = db;
     this.m_comment     = this;
     this.m_commentLike = commentLike;
 }
예제 #7
0
 public TypeImpl(HuobiContext db)
 {
     m_db   = db;
     m_type = this;
 }
예제 #8
0
 public CommentLikeImpl(HuobiContext db)
 {
     this.m_db           = db;
     this.m_iCommentLike = this;
 }
예제 #9
0
 public UserImpl(HuobiContext db, Token token)
 {
     this.m_db    = db;
     this.m_iUser = this;
     this.m_token = token;
 }
예제 #10
0
 public AttentionImpl(HuobiContext db)
 {
     this.m_db         = db;
     this.m_iAttention = this;
 }