public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { Application = await commandProvider.FindAsync <Application>(connection, ApplicationId); Status = await commandProvider.FindAsync <InvoiceStatus>(connection, StatusId); Organization = await commandProvider.FindAsync <Organization>(connection, OrganizationId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider) { Application = await commandProvider.FindAsync <Application>(connection, ApplicationId); Status = await commandProvider.FindAsync <InvoiceStatus>(connection, StatusId); Organization = await commandProvider.FindAsync <Organization>(connection, OrganizationId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { Organization = await commandProvider.FindAsync <Organization>(connection, OrganizationId); if (TeamId.HasValue) { Team = await commandProvider.FindAsync <Team>(connection, TeamId.Value); } }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { Option = await commandProvider.FindAsync <Option>(connection, OptionId); OptionType = await commandProvider.FindAsync <OptionType>(connection, Option.TypeId); StorageColumn = OptionType.StorageColumn; OptionName = Option.Name; TypeId = Option.TypeId; }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider) { if (CurrentAppId.HasValue) { CurrentApp = await commandProvider.FindAsync <Application>(connection, CurrentAppId.Value); } UserProfile = await commandProvider.FindAsync <UserProfile>(connection, UserId); Organization = await commandProvider.FindAsync <Organization>(connection, OrganizationId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { if (CurrentAppId.HasValue) { CurrentApp = await commandProvider.FindAsync <Application>(connection, CurrentAppId.Value); } if (CurrentTeamId.HasValue) { CurrentTeam = await commandProvider.FindAsync <Team>(connection, CurrentTeamId.Value); } UserProfile = await commandProvider.FindAsync <UserProfile>(connection, UserId); Email = UserProfile.Email; Organization = await commandProvider.FindAsync <Organization>(connection, OrganizationId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider) { Organization = await commandProvider.FindAsync <Organization>(connection, OrganizationId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider) { EventLog = await commandProvider.FindAsync <EventLog>(connection, EventLogId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { EventLog = await commandProvider.FindAsync <EventLog>(connection, EventLogId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { Responsibility = await commandProvider.FindAsync <Responsibility>(connection, ResponsibilityId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider) { MilestoneWorkDay = await commandProvider.FindAsync <WorkDay>(connection, MilestoneWorkDayValue); OwnerUser = await commandProvider.FindAsync <UserProfile>(connection, OwnerUserId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { Milestone = await commandProvider.FindAsync <Milestone>(connection, MilestoneId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider) { Responsibility = await commandProvider.FindAsync <Responsibility>(connection, ResponsibilityId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { Application = await commandProvider.FindAsync <Application>(connection, ApplicationId); }
public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null) { MilestoneWorkDay = await commandProvider.FindAsync <WorkDay>(connection, MilestoneWorkDayValue); OwnerUser = await commandProvider.FindAsync <UserProfile>(connection, OwnerUserId); }