Пример #1
0
 /// <summary>
 /// Sets Foreign Key property values to the specified Entity.
 /// </summary>
 /// <param name="entity">The Entity to set the foreign keys value to.</param>
 /// <param name="formForeignKeys">The form dictionary foreign keys and values.</param>
 /// <returns>
 /// The System.Threading.Tasks.Task that represents the asynchronous operation, containing the KerykeionDbResult of the operation.
 /// </returns>
 public async Task <KerykeionDbResult> SetForeignKeysAsync(object entity, IEnumerable <KeyValuePair <string, StringValues> > formForeignKeys)
 {
     return(await EntitiesRepo.SetForeignKeysAsync(entity, formForeignKeys));
 }