Exemplo n.º 1
0
        /// <summary>
        /// Retrieves SQL parameters for the specified command.
        /// </summary>
        public virtual void DeriveParameters(DbCommand command)
        {
            try
            {
                if (TypeCommandBuilder == null || MethodDeriveParameters == null)
                {
                    throw new NotSupportedException();
                }

                AssemblyHelper.DeriveParameters(TypeCommandBuilder, MethodDeriveParameters, command);
            }
            catch
            {
            }
        }