示例#1
0
 protected override void OnLykkeModelCreating(
     ModelBuilder modelBuilder)
 {
     ABIEntity.OnLykkeModelCreating(modelBuilder);
     EventEntity.OnLykkeModelCreating(modelBuilder);
     EventParameterEntity.OnLykkeModelCreating(modelBuilder);
     FunctionCallEntity.OnLykkeModelCreating(modelBuilder);
     FunctionCallParameterEntity.OnLykkeModelCreating(modelBuilder);
     TransactionEntity.OnLykkeModelCreating(modelBuilder);
     TransactionLogEntity.OnLykkeModelCreating(modelBuilder);
 }
        public static FunctionCallParameter ToDto(this FunctionCallParameterEntity src)
        {
            if (src == null)
            {
                throw new ArgumentNullException(nameof(src));
            }

            return(new FunctionCallParameter
            {
                ParameterName = src.ParameterName,
                ParameterOrder = src.ParameterOrder,
                ParameterType = src.ParameterType,
                ParameterValue = src.ParameterValue
            });
        }