Пример #1
0
        public virtual async Task <TE> AdicionarAsync(TE entity)
        {
            RunTheContextValidation();
            DefineForeignKeyOfCompositionsOrAggregations(entity);
            await UpdateCompositionListAsync(entity, false);
            await CompleteEmptyKeysAsync(entity);

            var ret = await Input.AddAsync(entity);

            return(ret.Entity);
        }