示例#1
0
 public AccountContext(IDataConnector dataConnector)
 {
     dataConnector  = this.dataConnector;
     loginContext   = new LoginContext(dataConnector);
     bagItemContext = new BagItemContext(dataConnector);
 }
示例#2
0
 public AccountContext()
 {
     dataConnector  = new SQLConnector();
     loginContext   = new LoginContext();
     bagItemContext = new BagItemContext();
 }