Beispiel #1
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider)
 {
     MilestoneWorkDay = commandProvider.FindWhere <WorkDay>(connection, new { Value = MilestoneWorkDayValue });
     OwnerUser        = commandProvider.Find <UserProfile>(connection, OwnerUserId);
 }
Beispiel #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);
 }