Beispiel #1
0
 public async Task <IEnumerable <Entity> > GetByParentIdAsync(Guid id)
 {
     using (var connection = context.CreateConnection())
     {
         return(await connection.QueryAsync <Entity>(EntityQuery.ByParentId(id)));
     }
 }