Exemplo n.º 1
0
 public DAPEntity()
 {
     this.CurrentEntity    = (T)Activator.CreateInstance(typeof(T));
     eventBroker           = new DAPEventBroker();
     eventBroker.Commands += EventBroker_Commands;
     eventBroker.Queries  += EventBroker_Queries;
 }
 public Person(DAPEventBroker currentBroker)
 {
     this.eventBroker      = currentBroker;
     eventBroker.Commands += EventBroker_Commands;
     eventBroker.Queries  += EventBroker_Queries;
 }