Ejemplo n.º 1
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider)
 {
     MilestoneWorkDay = commandProvider.FindWhere <WorkDay>(connection, new { Value = MilestoneWorkDayValue });
     OwnerUser        = commandProvider.Find <UserProfile>(connection, OwnerUserId);
 }
Ejemplo n.º 2
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null)
 {
     MilestoneWorkDay = commandProvider.FindWhere <WorkDay>(connection, new { Value = MilestoneWorkDayValue });
     OwnerUser        = commandProvider.Find <UserProfile>(connection, OwnerUserId);
 }