示例#1
0
 public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null)
 {
     Responsibility = await commandProvider.FindAsync <Responsibility>(connection, ResponsibilityId);
 }
示例#2
0
 public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider)
 {
     Responsibility = await commandProvider.FindAsync <Responsibility>(connection, ResponsibilityId);
 }
示例#3
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null)
 {
     Responsibility = commandProvider.Find <Responsibility>(connection, ResponsibilityId);
 }
示例#4
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider)
 {
     Responsibility = commandProvider.Find <Responsibility>(connection, ResponsibilityId);
 }